Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can an app enable "Allow Automatic Updating" in the Android market

I noticed that some apps like Google Maps, Facebook for Android etc. (all preloaded BTW), have their "Allow Automatic Updates" check box checked without me doing so.

Is it possible for preloaded apps only?

How can I achieve that with my app?

like image 407
Zamel Avatar asked May 04 '11 07:05

Zamel


2 Answers

The user has to explicitly check this option. I don't think there is any API to do this from the app.

You could, after asking the user if he wants to (say, in a dialog box), take him to your app's market page, so that he can check it.

like image 145
Rajath Avatar answered Oct 04 '22 20:10

Rajath


I found this post from google groups that may help you:

http://groups.google.com/group/android-developers/browse_thread/thread/e5e77d5d8f05f8d5?pli=1

It explains how this feature works. Hope this helps!

like image 30
Dimitris Makris Avatar answered Oct 04 '22 22:10

Dimitris Makris