public void onServiceConnected(ComponentName name, IBinder service) { mService = IMarketBillingService.Stub.asInterface(service); runPendingRequests(); }
/** * This is called when we are connected to the MarketBillingService. This runs in the main UI * thread. * * @see android.content.ServiceConnection#onServiceConnected(android.content.ComponentName, * android.os.IBinder) */ @Override public void onServiceConnected(ComponentName name, IBinder binder) { Log.d(TAG, "MarketBillingService connected"); service = IMarketBillingService.Stub.asInterface(binder); runPendingRequests(); }