I am using the sample Dungeons application, and I am using the BillingService class provided in this example.
I use Java 6 and @override works for me, but I get a compilation error of these two methods inside BillingService.java:
@Override
public void onServiceConnected(ComponentName name, IBinder service) {
if (Consts.DEBUG) {
Log.d(TAG, "Billing service connected");
}
mService = IMarketBillingService.Stub.asInterface(service);
runPendingRequests();
}
@Override
public void onServiceDisconnected(ComponentName name) {
Log.w(TAG, "Billing service disconnected");
mService = null;
}
Help me understand why this is happening?
Thank!
source
share