diff --git a/src/main/java/org/solovyev/android/calculator/CalculatorBillingObserver.java b/src/main/java/org/solovyev/android/calculator/CalculatorBillingObserver.java index 64c38941..11aed624 100644 --- a/src/main/java/org/solovyev/android/calculator/CalculatorBillingObserver.java +++ b/src/main/java/org/solovyev/android/calculator/CalculatorBillingObserver.java @@ -7,9 +7,9 @@ package org.solovyev.android.calculator; import android.app.Activity; +import net.robotmedia.billing.ResponseCode; import net.robotmedia.billing.helper.AbstractBillingObserver; import net.robotmedia.billing.model.Transaction; -import net.robotmedia.billing.requests.ResponseCode; import org.jetbrains.annotations.NotNull; /** @@ -24,7 +24,7 @@ public class CalculatorBillingObserver extends AbstractBillingObserver { } @Override - public void onBillingChecked(boolean supported) { + public void onCheckBillingSupportedResponse(boolean supported) { // do nothing } diff --git a/src/main/java/org/solovyev/android/calculator/CalculatorPreferencesActivity.java b/src/main/java/org/solovyev/android/calculator/CalculatorPreferencesActivity.java index 036cbdba..39abe089 100644 --- a/src/main/java/org/solovyev/android/calculator/CalculatorPreferencesActivity.java +++ b/src/main/java/org/solovyev/android/calculator/CalculatorPreferencesActivity.java @@ -15,8 +15,8 @@ import android.util.Log; import android.widget.Toast; import net.robotmedia.billing.BillingController; import net.robotmedia.billing.IBillingObserver; +import net.robotmedia.billing.ResponseCode; import net.robotmedia.billing.model.Transaction; -import net.robotmedia.billing.requests.ResponseCode; import org.jetbrains.annotations.NotNull; import org.solovyev.android.AndroidUtils; import org.solovyev.android.ads.AdsController; @@ -108,7 +108,7 @@ public class CalculatorPreferencesActivity extends PreferenceActivity implements } @Override - public void onBillingChecked(boolean supported) { + public void onCheckBillingSupportedResponse(boolean supported) { if ( supported ) { setAdFreeAction(); } else { @@ -119,12 +119,12 @@ public class CalculatorPreferencesActivity extends PreferenceActivity implements } @Override - public void onPurchaseIntent(@NotNull String itemId, @NotNull PendingIntent purchaseIntent) { + public void onPurchaseIntentOK(@NotNull String productId, @NotNull PendingIntent purchaseIntent) { // do nothing } @Override - public void onPurchaseIntentFailure(@NotNull String s, @NotNull ResponseCode responseCode) { + public void onPurchaseIntentFailure(@NotNull String productId, @NotNull ResponseCode responseCode) { // do nothing } diff --git a/src/misc/lib/android_billing.jar b/src/misc/lib/android_billing.jar index ce07300a..5e5a41c5 100644 Binary files a/src/misc/lib/android_billing.jar and b/src/misc/lib/android_billing.jar differ