This question already has an answer here:
Is it possible to intercept app uninstall?
(1 answer)
Closed 8 years ago.
I understand that this question has been asked a number of times. But I would like to know if I can open a webpage after my app is uninstalled.
Before you say no, Please note that there are some apps like apus launcher which can detect when their app is uninstalled and can open a webpage after uninstall.
Thanks a lot
Not sure about Apus Launcher's uninstall bahavior, but this provides a pretty definitive no to your question...
'The package that is being installed does not receive this Intent.'
http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED
Just installed Apus Launcher, ran it, and then uninstalled it. As I expected, it doesn't put up any webpage after uninstall - I fear you have been misinformed.
(Apus is however doing some clever things, such as placing an overlay around the chooser dialog to encourage you to choose Apus if your system has multiple apps capable of handling a particular intent).
I notice that there are multiple Apus produced apps - if you have multiple of these installed, then it's very possible to write two apps that each detect the other app being uninstalled - but not the case that any one of the apps can detect its own uninstallation.
Related
This question already has answers here:
Kiosk mode in Android
(11 answers)
Closed 7 years ago.
Is there a way to hide all apps installed on the device and make only one app available to the user? In a way that the app automatically starts as soon as the screen is unlocked?
What I basically want to do is to have a device that's dedicated to the use of a single app. Can this somehow be accomplished? What options are available?
Since this app won't be distributed through google play or any other official channel, any even undocumented hacks would be an option. Any advise is welcome.
The only way that I think this can be implemented is by creating an custom launcher and include your app inside that launcher.
I am currently developing an android application and it was always working like a charm.
But yesterday I wanted to manually remove the application from my phone via uninstall. The uninstall dialog popped up, run through and closed again but the application was still there.
I tried it several time, also restarted my phone but I still could not delete the application.
After some time the dialog said "cannot uninstall system application".
My application is a standard android application which does not have to do anything with a system application at all.
I was searching for answers but could not find anything helpful.
So do you guys have any suggestions?
(My Phone is not rooted)
So I found out what the problem was.
Somehow eclipse installed the application for every user on the smartphone.
With Lolipop you have the possiblity to have several users and switch between them.
So the only thing I did is I selected "uninstall for all users" and the application was removed.
You can find the option in the installed apps list.
Sorry for the question turned out to be a quite stupid one.
This question already has answers here:
Detect from browser if a specific application is installed in Android
(5 answers)
Closed 8 years ago.
I can launch my app from the browser if it is installed using intent-filters. If the app is not installed, I would like the user brought to the app specific page in the market. I don't care if I have to handle this or if the platform does this for me, I only need to know how to set up the intent-filter, protocols, anchor tags, etc.
thank you!
There is no "normal" way to do it. What you can do, however, is to always provide a link to your app in Google Play and have an intent in your app handle that link. Thus, the app will open when the market link is clicked if it has already been installed. The downside is if the app is installed, the user will be presented with a dialog and will have to make a choice of whether to launch the link in a browser or in your app.
See this answer for a code sample: https://stackoverflow.com/a/12901352/379245
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Is it possible to prevent user from uninstalling application in Android?
Thanks in advance for paying attention on this problem...!!
Is this possible to install an application that no one can uninstall it. I just mean that by going
setting --> Apps --> Manage Applications --> by selecting an app and click on UnInstall.
I want that If I install an application in a device, then no one can uninstall it.
Yes, it's possible. You just have to write/modify your own custom rom. If you're in a large corporation/organization. Your corporation/organization may want to have its own rom for its own employees' company-owned phones.
Or if you're in the consumer space, the other option is to convince a cell phone carrier to make your app a default one (and to prevent the user from uninstalling it). This is not a technical challenge. It's just a commercial one. Be prepared to pay them lots of money to have you installed by default on their phones.
And be prepared for some serious backlash in your ratings in the Google Play/Market. Two years ago, I was incredibly frustrated at having the NASCAR application on my phone, that I couldn't uninstall (despite the fact that I couldn't care less about NASCAR), and of course, I wasn't the only one. The app's rating went down to 1 star because of this and created lots of ill-will towards NASCAR.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Perform a task on uninstall in android
My android app creates some folders on sd card when it is installed on device.
Now If user uninstall the application, I would like to clean up these folders created at the time of creation...so is it possible to implement it in the android OS?
You can not manage the things when your application gets uninstalled from the device. still if you want to delete your folders there is one way(NOT RECOMMENDED), you can make one other application that will watch on your application so when your application gets uninstalled, that app will delete your folders that were created by your app. But it is not the way to achieve this. there are unfortunately no other way to handle things at the time of uninstalling the application.