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

Java Development

Reply
Developer
lakshman9687
Posts: 243
Registered: ‎07-22-2011
My Device: BlackBerry Z10
Accepted Solution

How to read All SMS from the device programatically.

Hi All,

 

In my app i want to read all the SMS(not mail messages) in the device and show those messages in the list view. Is there any API or any sample code to achive the target.

 

Anyone can please give the hint or solution.

 

Thanks in advance.

 

Regards,

Lakshman K

 

 

----------------------------------------------------------
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.

Please use plain text.
Developer
simon_hain
Posts: 16,209
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: How to read All SMS from the device programatically.

there is no API for that.
----------------------------------------------------------
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
Please use plain text.
Developer
lakshman9687
Posts: 243
Registered: ‎07-22-2011
My Device: BlackBerry Z10

Re: How to read All SMS from the device programatically.

[ Edited ]

Hi SImon,

Thanks for your reply,

 

I am using invokeApplication -----> Invoke.APP_TYPE_MESSAGES, here i am able to getting all the mails but i need only SMS, any other suggetion for getting those items.

 

Thanks in advance...

 

Regards,

Lakshman K

----------------------------------------------------------
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.

Please use plain text.