Simple Android Licensing Code
<p>I am looking for a simple version of the Android Licensing code, I have tried using the sample code etc and can't for the life of me get it to work so was hoping you guys could help.</p>

<p>I want to set up a private boolean verifyLicense() method which will simply check if the application is valid and if so return true and if not valid return false. </p>

<p>This is to be used in a 'key' app which users buy to unlock extra paid features in the main app.
Therefore what will happen is the main app launchers the key which will check it itself is valid (with the licensing) and if so return true to the main app which will 'unlock' the extra features.</p>
