【发布时间】:2011-12-20 05:36:56
【问题描述】:
我想知道如何让我的应用删除用于购买用户在应用内结算中购买的商品的按钮。我可以使用 sharedpreferences,但我将如何去做。这是我使用的教程:http://www.anddev.org/advanced-tutorials-f21/simple-inapp-billing-payment-t52060.html.
谢谢
public Handler mTransactionHandler = new Handler(){
public void handleMessage(android.os.Message msg) {
Log.i(TAG, "Transaction complete");
Log.i(TAG, "Transaction status: "+BillingHelper.latestPurchase.purchaseState);
Log.i(TAG, "Item attempted purchase is: "+BillingHelper.latestPurchase.productId);
};
};
【问题讨论】: