Reputation: 1530
I'm trying to implement The Android LicenseChecker in my app, and I've followed the instructions almost verbatim from the developer site. Everything seems hooked up correctly, but every single time I get the "Check timed out." message.
I increased the timeout value to 30 seconds, I'm logged into my device (which has the market app installed) with my publisher account login gmail address. I set the test response to Licensed. I saved (but didn't publish) a sample app to test with. When that didn't work, I tried using an app that is already published and just rebuilding the apk locally to include the LVL implementation... what am I doing wrong?
I definitely have 3g connectivity. I can browse the web on the device and other connected apps are working correctly. Please help.
Upvotes: 2
Views: 868
Reputation: 1080
Use android.permission.ACCESS_NETWORK_STATE and see what your application is reporting to you about your network connectivity.
Upvotes: 0
Reputation: 245
This may seem like a dumb question, so apologies if that's the case, but did you add Internet access to your app in the manifest file?
I only ask because I was stuck scratching my head quite awhile last night after having a similar problem, only to find that I had entirely forgot to set my apps permissions. D'OH!
Upvotes: 1