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

Adobe AIR Development

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

How does licensing works on Tablet?

As title.


On BB Java we use dynamic licensing to license our apps.

How do you do here?

Do you release full unprotected bar file or there is some sort of licensing?

Thanks.

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: How does licensing works on Tablet?

This is all managed in App World. The same licensing available for cell phones is available for PB apps. The user never sees or has access to the BAR file.
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: How does licensing works on Tablet?

phones can use dynamic licensing via HTTP post by generating an activation number using the device id, does this works for tablet also?

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: How does licensing works on Tablet?

Yes, but you have to provide your own server implementation to manage the activation key. The PlayBook has a device ID as well.
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: How does licensing works on Tablet?

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: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: How does licensing works on Tablet?

var devid : String = Device.device.pin;

From the QNX AS library at
import qnx.system.Device;
Developer
Posts: 1,178
Registered: ‎02-19-2009
My Device: Not Specified

Re: How does licensing works on Tablet?

I'm writing Java and I have android code, what is the

var devid : String = Device.device.pin; ????

 

where can I find the QNX library? are you sure that I can import it in my android project?

 

 

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: How does licensing works on Tablet?

QNX library is only ActionScript for the PlayBook. Not certain how you would gain access to that via Java on Android. Suggest to pose the question on http://supportforums.blackberry.com/t5/BlackBerry-Plug-in-for-Android/bd-p/adt