![]() |
Nokia SDK for Java 1.1 |
![]() |
Testing Support for In-App Purchase in Different Stages |
In the offline simulation mode, in-app purchase APIs will simply return the values that you have entered on the simulator to your application. This is particularly useful on the early stages of your development since it will allow you to start testing before even submitting the application to Nokia Store.
The online simulation and the test mode on the device is very similar. In this mode, SDK or the real device will communicate with the back-end servers. No monetary transactions will occur in this mode. It is possible to try out different scenarios such as failure of a purchase with the online simulation as well. The Nokia SDK manual that is installed together with the SDK provides more information on how to enable these modes.
This new emulator also significantly improves the system properties that you can access and simulate during development. All the Nokia system properties that were opened are now available on the SDK. In addition, you can simulate different values for the com.nokia.mid.batterylevel sysyem property and the com.nokia.mid.mnc and com.nokia.mid.countrycode values from the preferences.
The improvements and features are not limited to these, you can find the gory details on the Nokia SDK project. I have been using the SDK for my daily development for a while and it is already good for daily use. and available for download .