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:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user