[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread strazzere
31 am, aayush wrote: > Excellent Al. Looks great. > > > -Original Message- > > From: android-developers@googlegroups.com > > [mailto:android-develop...@googlegroups.com] On Behalf Of aayush > > Sent: 03 June 2009 14:05 > > To: Android Developers > > Subj

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread aayush
Excellent Al. Looks great. > -Original Message- > From: android-developers@googlegroups.com > [mailto:android-develop...@googlegroups.com] On Behalf Of aayush > Sent: 03 June 2009 14:05 > To: Android Developers > Subject: [android-developers] Re: Licensing an A

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Al Sutton
mailto:android-develop...@googlegroups.com] On Behalf Of aayush Sent: 03 June 2009 14:05 To: Android Developers Subject: [android-developers] Re: Licensing an Android application programatically. I am still in the requirements gathering stage, trying to make some use cases for the licensing requirem

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread aayush
I am still in the requirements gathering stage, trying to make some use cases for the licensing requirements. Starting this thread really helped. For understanding and reference..i am using this resource: http://java.sun.com/javase/6/docs/technotes/guides/security/crypto/CryptoSpec.html On Jun

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Sujay Krishna Suresh
btw aayush... if u r plannin to implement this can u plz temme how u r checkin the validity of a key?? 'm very bad with cryptography... On Wed, Jun 3, 2009 at 6:04 PM, aayush wrote: > > Yes...sounds neat indeed.. > > > >>> On Jun 3, 12:09 pm, mobilekid wrote: > > >>> > I would do the same. > >

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread aayush
Yes...sounds neat indeed.. > >>> On Jun 3, 12:09 pm, mobilekid wrote: > >>> > I would do the same. > > >>> > Get the android ID like this: > > >>> > String android_id = android.provider.Settings.System.getString > >>> > (this.getContentResolver(), > >>> > android.provider.Settings.System.ANDROID

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Sujay Krishna Suresh
But a drawback is that if not properly checked,the same key could be used with any no of ur apps... On Wed, Jun 3, 2009 at 5:29 PM, Sujay Krishna Suresh < sujay.coold...@gmail.com> wrote: > N one of my friends suggested that u make use of the serial key system for > differentiating bet licensed &

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Sujay Krishna Suresh
N one of my friends suggested that u make use of the serial key system for differentiating bet licensed & unlicensed users... it sounds good... the first time a user uses ur app... jus ask for their key... also have an option for evaluate.. if the user selects evaluate set a preference to null stri

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Sujay Krishna Suresh
aayush, if u r goin for client-side implementations then i'm very sure that there're many workarounds... one of it was mentioned by marc earlier... N plz be clear whether ur app is standalone or does it make use of web in ur LAN?? On Wed, Jun 3, 2009 at 5:15 PM, Neil wrote: > > For one thing, it

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Neil
For one thing, it's Secure.ANDROID_ID not System.ANDROID_ID. But the documentation on that is a bit vague. It seems to be related to your Google login information, so that brings up two questions: 1. is it sensitive information? 2. does it change if you log in to another Google account? On Ju

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread aayush
Thanks so much for the detailed suggestions. I really appreciate it. Basically, the web based alternative will require the users of the application to run it with an internet connection. My app is a telco application, usually tested in an isolated lab environment on a private LAN. Performance ma

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread mobilekid
I would do the same. Get the android ID like this: String android_id = android.provider.Settings.System.getString (this.getContentResolver(), android.provider.Settings.System.ANDROID_ID); Then send it to your back-end and query the number of times you've made the same call or the date you first

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Sujay Krishna Suresh
if i were u & if my app already interacts with the web then i'll initially hit a url from the app with may the phone's unique id... i'll take care of everythin else at the web-side... this will make sure that there's not much change in my app's performance... but i dont exactly no if an android pho

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread aayush
okay..thanks for the answer Marc. For #1 i believe i need to create my own certificate by using the keytool utility and sign it as you suggest. Time based is my only requirement..as of now. Usage based is not a priority for me. aayush On Jun 3, 2:34 pm, Marc Lester Tan wrote: > Hi, > > # 1 -

[android-developers] Re: Licensing an Android application programatically.

2009-06-03 Thread Marc Lester Tan
Hi, # 1 - I believe you can do this when signing your certificate. # 2 - you can store the number of times your app is invoked on the Preferences then just check if it already exceeds your limit but then it can easily be broken by just uninstalling the application and download it again. I haven't