开发者

android application updates [duplicate]

开发者 https://www.devze.com 2023-02-17 07:04 出处:网络
This question already has answers here: 开发者_开发百科 Closed 10 years ago. Possible Duplicate: Is there a way to automatically update application on Android?
This question already has answers here: 开发者_开发百科 Closed 10 years ago.

Possible Duplicate:

Is there a way to automatically update application on Android?

I am looking to create a private android application for my organization. I do not want to publish it publicly on Google Play, since it is only being used for internal purposes. Is there a way to have the application auto-update? Or, is there a way to publish an app to Google play and make it private?


There is not currently a way on Market to filter for private groups.

I'd recommend the following:
-Host your apk on a private server
-Have a URL on said server where the app can ping to check the version number of the latest available apk.

When newer version is found:
-Download it to specific location using DownloadManager.
-Throw a message in the user's notification bar using NotificationManager
-Set it up so that when user clicks on that notification, an install prompt for that apk file appears. Details for that are in another SO thread.

0

精彩评论

暂无评论...
验证码 换一张
取 消