Implicit intents with startService are unsafe

I am trying to find out in billing applications. Android dev docs ( http://developer.android.com/google/play/billing/billing_integrate.html#billing-service ) say to bind a service like

bindService(new Intent("com.android.vending.billing.InAppBillingService.BIND"), 
                       mServiceConn, Context.BIND_AUTO_CREATE);

      

but this line generates a warning Implicit intents with startService are not safe

. I'm not sure what to do.

+3


source to share





All Articles