Failing to bind service

  • Replies:10
  • OpenNot stickiedAnswered

Jul 30, 2011 9:16:27 AM via Website

I am trying to incorporate AndroidPit Licensing service into my application.
I am constantly getting these errors
107-30 07:03:02.512: WARN/ActivityManager(59): Unable to start service Intent { act=de.androidpit.app.services.ILicenseService }: not found
207-30 07:03:02.522: ERROR/AndroidPitLicenseChecker(382): Failed waiting for binding to App Center License Service
Regardless what License return code i am setting.
I did all the documentation required and even set it up with null google license checker so google service will not interfere.
Am i missing something ?
Manifest change ?
AVD configuratation ?

Thank you all in advance

Jul 30, 2011 12:56:57 PM via Website

Exactly the same problem here.
If anybody know a solution please post :)

EDIT:
My Code is little different, i have the google check included but thats all.

best regards,
Christian

— modified on Jul 30, 2011 1:00:38 PM

Jul 30, 2011 1:28:23 PM via Website

Ok i have found the Problem.
You must install Androidpit App Center at the Emulator.
So thats not very cool because if someone just buy it over market and does not have the app center, the app will throw an error.

best regards,
Christian

Jul 30, 2011 1:31:59 PM via Website

I think not.
The code shows first access to the Google License server and only if thats failed than it checks with the APP_CENTER.

Thank you for your help - i would've guest something that important should be written in the documentation.

— modified on Jul 30, 2011 6:47:44 PM

Jul 31, 2011 1:03:18 PM via Website

Croc Software
I think not.
The code shows first access to the Google License server and only if thats failed than it checks with the APP_CENTER.

Thank you for your help - i would've guest something that important should be written in the documentation.

Hi there,

thanks for pointing out, that there ist something missing in the documentation, or should have been made more clear than it's actual is.

I just reviewed both the German an the English documentation and found this point poorly translated (In the German doc, this is more clearly). I'll will head it over to the developers department so they can point this out more clearly!

lg Voss - Ach ja und noch was, die AndroidPIT-Regeln ლ(╹◡╹ლ) Android Security

Deactivated Account

Apr 27, 2013 1:11:08 PM via Website

Christian A.
Ok i have found the Problem.
You must install Androidpit App Center at the Emulator.
So thats not very cool because if someone just buy it over market and does not have the app center, the app will throw an error.

best regards,
Christian

I used this:

private boolean checkAndroidPitAppCenter()
{
final String AndroidPitAppCenter_pkg_name = "de.androidpit.appcenter";
boolean isAndroidPitAppCenter = false;
PackageManager pm = getPackageManager();
List<ApplicationInfo> aIsdApp = pm.getInstalledApplications(0);

for (int j = 0 ; j < aIsdApp.size() ; j++)
{
if(AndroidPitAppCenter_pkg_name.equals(aIsdApp.get(j).packageName))
{
isAndroidPitAppCenter = true;
break;
}
}
return isAndroidPitAppCenter;
}