android application updates [duplicate]

十年热恋 提交于 2019-12-19 11:54:42

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/5343412/android-application-updates

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!