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".
This commit is contained in:
Trevor Johns
2011-03-30 11:30:09 -07:00
parent b42e83b1ec
commit eb344a69fa

View File

@@ -296,7 +296,7 @@ parent.link=index.html
<pre> <pre>
try { try {
boolean bindResult = mContext.bindService( 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) { if (bindResult) {
Log.i(TAG, "Service bind successful."); Log.i(TAG, "Service bind successful.");
} else { } else {