Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Reply
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

What is the licensing method to use with android apps?

As title.
What is the licensing method we should use for our apps using android/tablet?

Thanks.

Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?

on android I use this code to get the device ID

TelephonyManager mTelephonyMgr = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
        pin = mTelephonyMgr.getDeviceId();

 

on playbook simulator this code returns "unset"

so how can I get the device ID to do dynamic licensing?



Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?

bump.

New Contributor
Posts: 4
Registered: ‎10-20-2011
My Device: Playbook
My Carrier: Nope

Re: What is the licensing method to use with android apps?

Maybe because of this:
Unsupported Hardware Features -> Telephony (including SMS and MMS)
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?

ok, so what is the licensing way on android for blackberry?

I'm using many licensing way based on device pin/key, databases connection, google lvl,

what should I use for android apps running on blackberry?

 

My customers prefers offline activation or one time activation, what should I use here?

New Contributor
Posts: 4
Registered: ‎10-20-2011
My Device: Playbook
My Carrier: Nope

Re: What is the licensing method to use with android apps?

how about this?:
private String android_id = Secure.getString(getContext().getContentResolver(),
Secure.ANDROID_ID);
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?


akira wrote:
how about this?:
private String android_id = Secure.getString(getContext().getContentResolver(),
Secure.ANDROID_ID);

have you tried it? does it return the device ID on RIM devices?

 

Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?

no one here use a licensing method to sell android apps on blackberry?

is this a free market? Smiley Happy

Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: What is the licensing method to use with android apps?

bump

Developer
Posts: 723
Registered: ‎03-12-2009
My Device: Playbook

Re: What is the licensing method to use with android apps?

Is there anyway to get Playbook PIN from Android?