title: In-App Billing After Purchase
body: <p>I was wondering how I would be able to have my app remove the buttons for buying an item that a user has purchased in in-app billing. I could use sharedpreferences, but how would I go about doing that. This is the tutorial I used: <a href="http://www.anddev.org/advanced-tutorials-f21/simple-inapp-billing-payment-t52060.html" rel="nofollow">http://www.anddev.org/advanced-tutorials-f21/simple-inapp-billing-payment-t52060.html</a>.</p>
  
  <p>Thanks</p>
  
  <pre><code>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);
  
  
  
      };     
  };
  </code></pre>