This section will explain how to use the IAPClient and test the IAP Sample application. ======================================================================================= ********************************************************************************************* CAUTION !! ---------- Tizen IAP client's "Operation ID's" have been changed from "IAP Client TPK Version 1.0.7 or later". Applications which were developed against older versions of "IAP Client" should start using "IAP Client TPK Version 1.0.7 or later". And change the operation ID's as explained below. Old operation ID names: (Before: "IAP Client TPK Version 1.0.7") ---------------------------------------------------------------- http://tizen.org/inapp/purchase http://tizen.org/inapp/getitemlist http://tizen.org/inapp/getpurchaseditemlist http://tizen.org/inapp/getcountrylist Changed operation ID names: (From: "IAP Client TPK Version 1.0.7") ------------------------------------------------------------------ http://tizen.org/appcontrol/operation/iap/purchase http://tizen.org/appcontrol/operation/iap/get_item_list http://tizen.org/appcontrol/operation/iap/get_purchased_item_list http://tizen.org/appcontrol/operation/iap/get_country_list For more information read the "IAP programming guide". ********************************************************************************************* 1. Download "IAP Client TPK " 2. Download "Native Sample Application" and "Web Sample Application" 3. TPK Installing options: Option : 1 ----------- *.tpk file can be installed using following command. {$Tizen SDK Root}\tools\ide\bin\native-install.bat -p {tpk file path} Ex) c:\tizen-sdk\tools\ide\bin\native-install.bat -p c:\iap\t5ek35st3l-1.2.3-arm.tpk c:\tizen-sdk\tools\ide\bin\native-install.bat -p c:\iap\tizeniapp-1.0.2-arm.tpk OR Option : 2 ----------- 1. Connect the device in developer mode to Tizen IDE 2. Go to folder /opt/use/media/others 3. right click on the "others" folder 4. select "push file" 5. select the downloaded TPK from the link. 6. In device, select the "My Files" application, select "Others" folder 7. Click on the copied "TPK" file and select install. 4. Build and Run the "Sample applications" 1. Build the downloaded sample applications in Tizen IDE. 2. Run the successfully built applications. 5. Selecting the mode: Sample application give 2 options for selection. User can select any mode for testing. "Developer mode" - is always success and used for testing purpose. - Developer mode also gives a "countrList" for selection. Select any country for testing. Ex: Russia - Works for testing "Normal mode" - Is commercial mode and can be used to test the actual purchase. - Normal mode takes a MCC and MNC based on "SIM" info or GeoIP to get the countrySearch URL. Select "developer mode" for testing the "Sample applications" 7. Also read the "IAP programming guide" for better understanding. 8. In case you get error related to "Tizen account" install the "Tizen account TPK" from the link and test again. ======================================================== Change log: 23 July 2013 - Initial version. 29 Aug 2013 - Operation ID name changes. 4 Oct 2013 - Change error status code(result code value : ItemGroupIdNotFound to ProcessError) Modified to specify the name of the device model