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
sblantipodi
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.

Please use plain text.
Developer
jtegen
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.
Please use plain text.
Developer
sblantipodi
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?

Please use plain text.
Developer
jtegen
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.
Please use plain text.
Developer
sblantipodi
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?

Please use plain text.
Developer
jtegen
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;
Please use plain text.
Developer
sblantipodi
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?

 

 

Please use plain text.
Developer
jtegen
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
Please use plain text.