To get device sim number's ID in blackberry - blackberry

In my application i want to retrive the device sim number's ID.
Help me,
Regards,
Sampath

SIMCardInfo.getIMSI();
SIMCardInfo

Related

How to get device charging type in iOS app?

I need to get the type of charging method used to charge the device in my application (e.g. if device is getting charged using USB or wireless charger)
I am aware that we can know whether the device is being charged, but how can we get the method of charging?
Thanks in advance.
Have a look at this library on GitHub,
https://github.com/eldade/EEIOKitListener.
It provides a lot of information related to charging.

How to get sim contacts information programmatically on Blackberry

I got the BlackBerryContactList programmatically..
Now I want to get sim contacts infomation programmatically..
is it possible on blackberry.?
if possible means, how to get sim cantacts information?
As far as I know there is no API in BlackBerry Java SDK to obtain SIM Card contacts.
The most recent java SDK version (version 7) provides only SimCardInfo class with getIMSI method inside. But it retrieves the International Mobile Subscriber Identity number. And sim card contacts are not available.

Sending contact over bluetooth

Hello i was wondering how to send a contact over bluetooth to another device. I used this code but its from an image. I just want to know how to send the contact.
https://github.com/unixpickle/ImageTransfer
Thanks in advance!
Look at the Project BTLE Transfer Bluetooth of Apple Doc
It is a demo Project that transfers Text whatever you write on Peripheral Device to Central Device.
In same manner you can transfer your Contact in place of Text with encoding
I hope this will solves your problem.

How to get iPhone phone number from a webapp?

Is it possible to get the phone number or a unique ID identifying the phone from a WebApp on the iphone?
No, too large of a privacy/security issue.

Get BlackBerry device phone number

In my application I want to retrive the device phone number. I used Phone.getDevicePhoneNumber(true)
It is working in the simulator, but when I test on the device it returns an empty string.
Is there any other option for getting the device phone number?
I am using jde 4.5.0.
The straightforward approach would be to ask the user to enter their phone number.
Phone.getDevicePhoneNumber(true) reads the number from the SIM card. The problem is the number isn't always on the SIM card. I've also seen cases where the wrong number is on the SIM card.
There is no guaranteed way to programmatically get the number. What I've done in the past is present the SIM card number to the user and asked them to correct/confirm it.

Resources