Ejemplo n.º 1
0
 public void onServiceConnected(ComponentName name, IBinder service) {
   mService = IMarketBillingService.Stub.asInterface(service);
   runPendingRequests();
 }
Ejemplo n.º 2
0
 /**
  * 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();
 }