Failing to bind service

  • Replies:10
  • Answered
Croc Software
  • Forum posts: 4

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

Reply
Christian A.
  • Forum posts: 93

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

Reply
Markus Gu
  • Forum posts: 2,644

Jul 30, 2011, 1:01:35 PM via Website

i think you have a problem at your android manifest file.

take a look at this again

swordiApps Blog - Website

Reply
Christian A.
  • Forum posts: 93

Jul 30, 2011, 1:07:51 PM via Website

My Manifest:

-- Manifest removed because thats not the Problem --

— modified on Jul 30, 2011, 1:28:53 PM

Reply
Croc Software
  • Forum posts: 4

Jul 30, 2011, 1:17:32 PM via Website

What do you mean?
do i need to add something to the manifest if it already configured to work with CHECK_LICENSE?

Reply
Christian A.
  • Forum posts: 93

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

Reply
Croc Software
  • Forum posts: 4

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

Reply
Christian A.
  • Forum posts: 93

Jul 30, 2011, 1:35:18 PM via Website

it is :) but i doesn't thought that is necessary for developing.

"
Prerequisites

AndroidPIT App Center 1.5 or higher
"

Reply
Croc Software
  • Forum posts: 4

Jul 30, 2011, 1:36:58 PM via Website

Shoot ...
I missed that - I was going to download android source and debug the hell out of it :lol:

Thanks !!!

Reply
Deactivated Account
  • Forum posts: 5,136

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

Reply
Deactivated Account
  • Forum posts: 2

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;
}

Reply