@@ -476,7 +476,7 @@ key can have the following five values:</p>
476476<ul>
477477 <li><code>CHECK_BILLING_SUPPORTED</code>—verifies that the Android Market application
478478 supports in-app billing.</li>
479- <li><code>REQUEST_PURCHASE</code>—sends a purchase request for an in-app item.</li>
479+ <li><code>REQUEST_PURCHASE</code>—sends a purchase request for an in-app item.</li>
480480 <li><code>GET_PURCHASE_INFORMATION</code>—retrieves transaction information for a purchase
481481 or refund.</li>
482482 <li><code>CONFIRM_NOTIFICATIONS</code>—acknowledges that you received the transaction
@@ -584,9 +584,9 @@ interface.</p>
584584 // Note that the developer payload is optional.
585585 if (mDeveloperPayload != null) {
586586 request.putString(DEVELOPER_PAYLOAD, mDeveloperPayload);
587+ }
587588 Bundle response = mService.sendBillingRequest(request);
588589 // Do something with this response.
589- }
590590</pre>
591591<p>The <code>makeRequestBundle()</code> method constructs an initial Bundle, which contains the
592592three keys that are required for all requests: <code>BILLING_REQUEST</code>,
@@ -930,17 +930,17 @@ sent in response to billing requests.</p>
930930
931931<pre>
932932public class BillingReceiver extends BroadcastReceiver {
933-
933+
934934 private static final String TAG = "BillingReceiver";
935-
935+
936936 // Intent actions that we receive in the BillingReceiver from Android Market.
937937 // These are defined by Android Market and cannot be changed.
938938 // The sample application defines these in the Consts.java file.
939939 public static final String ACTION_NOTIFY = "com.android.vending.billing.IN_APP_NOTIFY";
940940 public static final String ACTION_RESPONSE_CODE = "com.android.vending.billing.RESPONSE_CODE";
941941 public static final String ACTION_PURCHASE_STATE_CHANGED =
942942 "com.android.vending.billing.PURCHASE_STATE_CHANGED";
943-
943+
944944 // The intent extras that are passed in an intent from Android Market.
945945 // These are defined by Android Market and cannot be changed.
946946 // The sample application defines these in the Consts.java file.
0 commit comments