Android In App Billing: securing application public key

Something like this: String Base64EncodedPublicKey key = “Ak3jfkd” + GetMiddleBit() + “D349824”; or String Base64EncodedPublicKey key = DecrementEachletter(“Bl4kgle”) + GetMiddleBit() + ReverseString(“D349824”); or anything that doesn’t put the key in base64 plaintext in a single string. Probably also something that doesn’t store the key in base64 would be a good idea too, since raw base64 … Read more

Google Play error “Error while retrieving information from server [DF-DFERH-01]”

Try this, as it solved in my case on a Samsung mobile phone: 1. Open the “Google Play” app and press the home button to return 2. Go to Settings → Applications → Manage Applications 3. Select the “ALL” tab, Search for “Google Play Store” and press it to open. 4. Press “Force stop” 5. … Read more

Android in app purchase: Signature verification failed

This problem is still going on in the current Google billing version. Basically the android.test.purchased is broken; After you buy android.test.purchased the verifyPurchase function in Security.java will always fail and the QueryInventoryFinishedListener will stop at the line if (result.isFailure()); this is because the android.test.purchased item always fails the TextUtils.isEmpty(signature) check in Security.java as it is … Read more

Successful purchase but has “Class not found” when unmarshalling: com.google.android.finsky.billing.lightpurchase.PurchaseParams

This problem has been making the rounds in stackoverflow, if this issue is correct it is related with some wrong reflection that tries to load a class that is not present when a parameter is null in your code It looks like there may be a race condition between PurchaseAsync and the HandleActivityResult callback. tcsPurchase … Read more

onIabPurchaseFinished never called.

Try adding this to the Activity that calls mHelper.launchPurchaseFlow(..): @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { Log.d(TAG, “onActivityResult(” + requestCode + “,” + resultCode + “,” + data); // Pass on the activity result to the helper for handling if (!mHelper.handleActivityResult(requestCode, resultCode, data)) { // not handled, so handle it ourselves (here’s … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)