¡@

Home 

2014/10/16 ¤W¤È 08:24:03

android Programming Glossary: signeddata

Why Android service crashes with NullPointerException?

http://stackoverflow.com/questions/5856861/why-android-service-crashes-with-nullpointerexception

getPurchaseInformation startId new String notifyId else if Consts.ACTION_PURCHASE_STATE_CHANGED.equals action String signedData intent.getStringExtra Consts.INAPP_SIGNED_DATA String signature intent.getStringExtra Consts.INAPP_SIGNATURE purchaseStateChanged.. Consts.INAPP_SIGNED_DATA String signature intent.getStringExtra Consts.INAPP_SIGNATURE purchaseStateChanged startId signedData signature else if Consts.ACTION_RESPONSE_CODE.equals action long requestId intent.getLongExtra Consts.INAPP_REQUEST_ID..

android in-app billing - restoreTransactionInformation

http://stackoverflow.com/questions/9763761/android-in-app-billing-restoretransactioninformation

6484 Received action com.android.vending.billing.PURCHASE_STATE_CHANGED I BillingService 6484 purchaseStateChanged got signedData nonce orders orderId packageName com.hippypkg productId hippy_upgrade_free_to_full purchaseTime 1331476540000 purchaseState.. 1331476540000 purchaseState 0 I BillingService 6484 purchaseStateChanged got signature I BillingService 6484 signedData nonce orders orderId packageName com.hippypkg productId hippy_upgrade_free_to_full purchaseTime 1331476540000 purchaseState.. BillingHelper.java's 'verifyPurchase' method I changed the code as follows protected static void verifyPurchase String signedData String signature ArrayList VerifiedPurchase purchases BillingSecurity.verifyPurchase signedData signature if isRestoreTransaction..