04-22-2011 06:17 AM
Hi all
I'm working on my one of the application and want the fetch the unique number if any available like IMEI or PIN ? So if any body know about this PIN number or IMEI number please help me to do this.
Thanks
Kalpesh TIta
04-22-2011 06:35 AM
The Adobe Air API does not have a native method getting such an ID, but here is a link with an Air-API-workaround.
But maybe there is a native PlayBook-method.
04-22-2011 06:40 AM
there is no way to obtain a unique device ID using Adobe AIR, but this should help:
04-22-2011 07:33 AM
There is a posibillity to get:
- Hardware ID
- serial number
- PIN
so please check before you post wrong informations. All info is written in API:
http://www.blackberry.com/developers/docs/airapi/1
04-22-2011 07:48 AM
As @ddluk has said, there are APIs for that.
Also note that, as of 1.0.1, you will need to specify an "action" to allow your app to read the PIN or serial number. The one you want is called read_device_identifying_information.
04-22-2011 07:55 AM
good to know it's available in QNX. unfortunately that's not a univeral solution for Adobe AIR development as there's nothing available in flash.system.Capabilities to determine a unique hardware identifier.
be cautionate if you're attempting to use an identifier to vaidate a application install. http://android-developers.blogspot.com/2011/03/ide
04-22-2011 07:58 AM
Ok. But why you are talking about Android on BlackBerry dev forum? Using this API you get the information you want without problems which are described on site to which you give a link.
04-22-2011 08:05 AM
i'm not "talking about Android on a BlackBerry dev forum". i poste a link that explains why you should not use a unique device ID to validate an application install.
04-22-2011 08:08 AM
You post a link which explains why you should not use unique device ID on ANDROID DEVICES. On Playbook you get what you want, so if you ask for PIN you will get the PIN, not "returns garbage, for example zeros or asterisks."
04-22-2011 08:17 AM
Actually, ddluk, I gotta go with TheDark on this one, as at least one of the article's cautions could apply to any system.
Since the PlayBook serial number certainly "survives a device wipe", assuming it's tied to a particular user would be wrong.
In any case, there's certainly room to learn from issues that involve other systems.