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
Highlighted
New Developer
Posts: 13
Registered: ‎04-13-2013
My Device: Passport / Q10 / Z10 / PlayBook / Dev Alpha B
My Carrier: Vodafone

Re: SimCardInfo issue

Yes, lbbdevice is included in config.pri, which is included in my .pro file.
I first implemented hardwareinfo from the first link, and then I tried siminfo with the same kind of code within the same project and it fails to work.
New Developer
Posts: 160
Registered: ‎03-02-2011
My Device: Not Specified

Re: SimCardInfo issue

Hello,

Did you manage to get the IMSI using the SimCardInfo class?
The permission won't work, neither the function. It is always returning empty.

Is this a real restriction from Blackberry side? Or a coding error from our side?

Contributor
Posts: 30
Registered: ‎02-05-2013
My Device: Dev Alpha B
My Carrier: maxis

Re: SimCardInfo issue

Hello,
No I didn't because AFAIK. it's restricted by the operator. So in the end I used SimCardInfo serialnumber/iccid instead.