PermaLink Google Finally Lets you Check Android Market Licensing07/29/2010 09:18 PM
Glad Google is listening:
  http://developer.android.com/guide/publishing/licensing.html
This should at least prevent the easy piracy hack w/ the 24hr return policy

Now if they could only sik their lawyers after all the warez sites and shut them down :-P

p.s., when implementing this, I found that if you're in a low cell signal area (i.e., slow data connection), the initial check can time out but once it's checked properly, it gets cached.  To fix this initial timeout problem, find LicenseChecker.java in the source code for the licensing library and change the 10 to 30:
    // Timeout value (in milliseconds) for calls to service.
    //kky: increased timeout per http://androidforums.com/android-developers/154625-licensing-always-denies-caching-issue.html
    private static final int TIMEOUT_MS = 30 * 1000;

Comments :v
No comments.
Start Pages
RSS News Feed RSS Comments Feed CoComment Integrated
The BlogRoll
Calendar
April 2024
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Search
Contact Me
About Ken
Full-stack developer (consultant) working with .Net, Java, Android, Javascript (jQuery, Meteor.js, AngularJS), Lotus Domino