Test In-App-Purchase in Codename One simulator results in Null Pointer Exception
Instead of creating a light and a full version of my app, I decided to go the freemium way and offer a button to upgrade from the light to the full version. The application is only available on the Google Play Store. So I created an in app purchase in the Play Store as described http://mobilecodetogo.blogspot.fr/2013/03/android-does-it-better-in-app-purchase.html . Here is the code that I implemented : if (buyFull) { if (ParametresGeneraux.getPurchase().isManagedPaymentSupported()) { String[] skus = {"ParametresGeneraux.getFullVersionSKU()"}; if (ParametresGeneraux.getPurchase()