问题
I am trying to create a Lite and Premium version of my application. Instead of creating two versions of the application I am trying to use a Library that each of the two access.
I was wondering if there was a way to do this without having the lite version have access to premium images and xml layouts.
Does anyone have a guide or example where the lite has less content than the premium and where to put the content?
Thanks!
回答1:
I'm sure you've already considered this but wouldn't it simpler to have a IAP inside the app that users can use inside to access the premium content?
As for for your question, theres a few blogs I've found on the subject. They all seem to advocate the idea of splitting the lite stuff and premium stuff into separate packages and coding Android to recognise which version the user is using.
http://blog.donnfelker.com/2010/08/05/howto-android-full-and-lite-versions/
http://nexus.zteo.com/blog/2010/10/19/3238/
http://bitowl.wordpress.com/2011/07/06/tutorial-how-to-make-full-and-lite-versions/
Hope this helps
来源:https://stackoverflow.com/questions/11319536/most-efficient-use-of-android-libraries-for-premium-lite-versisons