-1

我想做一个安卓应用程序。即这是一个测验应用程序。就像发布我的应用程序后,我添加了一些新问题。我想当用户连接到互联网应用程序时应该更新。

那么如何从互联网更新应用程序?

4

2 回答 2

0

Do you have the data held in sqlite within the app? If so, you could look for updates to data on the internet (presumably on a website you already host) everytime the app starts. Do this in an async task so that it doesn't affect the user experience.

If newer data is found, you could fetch it and update the sqlite tables in the background.

于 2012-12-14T11:35:18.920 回答
0
  • Data bundled with app : If you compile and upload a new apk file to play store, update will show in users play store. This is good for occasional updates, like a new version of app or so.

  • Data not bundled with app : you can make your app fetch its question data from a remote server. This is easier for very frequent updates, like you add questions daily on a web site. But you will need a server.

于 2012-12-14T11:36:07.423 回答