From 428b85e03ea4240cf7dd9d023206f1c20b9b8e5e Mon Sep 17 00:00:00 2001 From: Trevor Johns Date: Wed, 30 Mar 2011 11:30:09 -0700 Subject: [PATCH] Fixing line in Market IAB docs that explains how to bind to the MarketService. We use the IMarketBillingService, which is incorrect. It should be "com.android.vending.billing.MarketBillingService.BIND". Change-Id: Ie361e58cea8aca6d70bd48bce062ca8d062281ee --- docs/html/guide/market/billing/billing_integrate.jd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/html/guide/market/billing/billing_integrate.jd b/docs/html/guide/market/billing/billing_integrate.jd index 0f081a58dafcf..6e40f3297555b 100755 --- a/docs/html/guide/market/billing/billing_integrate.jd +++ b/docs/html/guide/market/billing/billing_integrate.jd @@ -223,7 +223,7 @@ Billing package contains the sample application and the AIDL file.
 try {
   boolean bindResult = mContext.bindService(
-    new Intent(IMarketBillingService.class.getName()), this, Context.BIND_AUTO_CREATE);
+    new Intent("com.android.vending.billing.MarketBillingService.BIND"), this, Context.BIND_AUTO_CREATE);
   if (bindResult) {
     Log.i(TAG, "Service bind successful.");
   } else {