Skip to content

Commit 428b85e

Browse files
committed
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
1 parent 8b312c6 commit 428b85e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/html/guide/market/billing/billing_integrate.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Billing package contains the sample application and the AIDL file. </div>
223223
<pre>
224224
try {
225225
boolean bindResult = mContext.bindService(
226-
new Intent(IMarketBillingService.class.getName()), this, Context.BIND_AUTO_CREATE);
226+
new Intent("com.android.vending.billing.MarketBillingService.BIND"), this, Context.BIND_AUTO_CREATE);
227227
if (bindResult) {
228228
Log.i(TAG, "Service bind successful.");
229229
} else {

0 commit comments

Comments
 (0)