Android Forum » Android Developer Forum » Android Developer Forum » Market Licensing program structure

Market Licensing program structure

Market Licensing program structure
created on Feb 1, 2012 3:45:51 PM
I have copied the Google market licensing library into my project, copied the top level sample code in as License.java and made all the necessary changes to the Manifest and strings. All error free and runs normally as was.

What I can't figure out is the program structure to actually integrate the licencing into the app. Do I set License.java as my main activity and start the previously main activity from within that? If so where does it go? I can't find any clear examples using the original Google code on the net.

Ta for any ideas.
Reply with quote Reply Link ±0     (0 votes)
RE: Market Licensing program structure
created on Feb 2, 2012 1:38:27 PM
WOW...tough question. I might have to poke around XDA to find out about that.

Any devs who can shed some light on this?
Reply with quote Reply Link ±0     (0 votes)
RE: Market Licensing program structure
created on Feb 6, 2012 5:48:21 PM
I have posted a step by step guide to adapting the Licensing sample code to an existing Copy Protected project here:

http://androidforums.com/application-development/493305-licensing-programming-structure.html#post3906520
Reply with quote Reply Link ±0     (0 votes)
RE: Market Licensing program structure
created on Feb 7, 2012 12:22:21 PM
Nice one! Thanks for sharing that here!
Reply with quote Reply Link ±0     (0 votes)