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

Java Development

Posts: 28
Registered: ‎05-03-2011
My Device: 9530
My Carrier: cell

how to get Sim contacts and phone contacts .?

hie ,


can any 1 please tell ,me,


How to access SIM contacts and phone contacts in blackberry ?



Nilesh Pawate


Posts: 17,024
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: how to get Sim contacts and phone contacts .?

you cannot access contacts from the sim card afaik.
contacts from the addressbook can be accessed with the PIM API, check http://www.blackberry.com/developers/docs/6.0.0api/net/rim/blackberry/api/pdap/BlackBerryContactList...
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Posts: 404
Registered: ‎05-31-2011
My Device: curve
My Carrier: devel

Re: how to get Sim contacts and phone contacts .?

you ca use this librarie net.rim.blackberry.api.pim to access to phone contacts and use Phone.getDevicePhoneNumber(true) to access to Sim contacts