After we blew the faults behind Google's License Verification Library out of the water last week, Google's Tim Bray promised us some tips for protecting our applications against piracy, and in the latest post at Google's official Android blog he delivered them. Tim's article is loaded with easy to follow sample code, and advice that just makes sense. Mr. Bray covers several protection methods including:
[Update: 8/24/10 @ 7:45 PM EST by Aaron] Tim Bray responded to Justin's article, but seems to have misunderstood the goal. Thus, Justin has written a follow-up article here.
This article was not written to teach people how to pirate or ridicule Google's Android License Verification Library (LVL) that handles communication with Google's Android Market Licensing Service.
I am very much against piracy, and very much pro-Google. I have spent more time researching copy protection for my applications than development of the applications themselves.
I would like to thank:
- the author of Star Hunt for allowing me to use his application in my demo video
- the author of Tasker for allowing me to use his application, which has the best implementation of LVL I found, in this article
Both of these applications are available in the market - I highly suggest you give them a try.