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

Native Development

Reply
Contributor
Posts: 12
Registered: ‎09-10-2012
My Device: none
My Carrier: none
Accepted Solution

getting Mac Address

Hello,

 

Any way to get MAC address?

 

thx

Highlighted
Developer
Posts: 92
Registered: ‎10-30-2011
My Device: Blackberry Playbook
My Carrier: Telstra LTE

Re: getting Mac Address

There are a lot of device specific functions in the API: http://developer.blackberry.com/native/reference/bb10/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_re...

 

Perhaps these are interesting to you:

deviceinfo_details_get_hardware_id()

 

deviceinfo_identifying_details_get_serial_number()

 

Be aware that the user has to allow your app to collect this data. You add the permissions to the bar-descriptor.xml