开发者

The right way to provide a Premium update to a free Android App

I have been developing a free game (with ads) on the Android Market. Now quite a few people are requesting me to do a paid version without ads. I have no experience in keeping multiple versions of a single app.

I have already factored out the app on Eclipse: a library project and a (free) app project. Now I开发者_Python百科'm going to add a new project for the paid version.

My main problem has to do with the most efficient and reliable way to import old settings and data from the free version if it happens to be already installed on user's phone.

  • Ideally, I want users not to have to export data and settings manually.
  • I think hardcoding file paths is not robust.
  • I am too lazy and daunted to implement a ContentProvider.

Is there an easy way to query for data and settings from another app of mine, given the package name?

Thank you very much.


You don't need to copy anything or even install another app. Just add an in-app purchase to the free app that disables ads.

Barry

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜