Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android application update - how to?

Tags:

android

What is the best way to let my users perform an application update?

Is there any way to force device reboot after the update? I'm asking this because my application registers some behavior on boot.

Please note, the application would not be published in the Market.

Update:

My app will be preinstalled on a set of ~100 handsets. Should I periodically call a webservice that will inform the device about upgrade available, and then, redirect to an .apk file within a webkit view?

like image 934
ohnoes Avatar asked Nov 02 '09 11:11

ohnoes


People also ask

How do I update my APK app?

Go to Miradore > Management > Applications and choose the application. When you want to update your devices with a new version, select the version and open the Version page. If you want to update the new version only to specified devices, choose Actions > Update application.

Do Android apps automatically update?

By default, apps are updated automatically when the following constraints are met: The device is connected to a Wi-Fi network. The device is charging. The device is idle (not actively used).

How can I update my apps without Play store?

You can download it from the Google Play Store, then use APKMirror Installer to install or update your apps afterward. Otherwise, grab the APKMirror Installer app from the official APKMirror website. Visit the APKMirror website and search for an app you want to install on your Android device.

Why is my Android app not updating?

Step 1: Open the Google Play Store on your Android and tap on the profile menu at the top. Step 2: Go to Settings and open the Network preferences tab. Step 3: Select Auto-update apps. Step 4: Tap on Over Wi-Fi only or Over any network (if you are comfortable auto-updating apps on a mobile network).


1 Answers

What is the best way to let my users perform an application update?

Via the same way they got the app on their device in the first place, presumably. If they are getting the app via firmware, they get app updates via firmware updates. If they are downloading your app via your Web site, they get app updates via your Web site.

Is there any way to force device reboot after the update?

No, thank goodness.

I'm asking this because my application registers some behavior on boot.

There is some way you can be notified that your package was updated, though I do not have the technique handy right now. Just run your on-boot logic there for the first round, then subsequent reboots (if any) will be handled by the on-boot logic itself.

like image 90
CommonsWare Avatar answered Sep 19 '22 19:09

CommonsWare