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
New Developer
bhatia_richa1
Posts: 61
Registered: ‎09-01-2009
Accepted Solution

To count the number of Messages in Inbox

Hello,

 

Does anybody tell me how can i get a count of SMS messages in the inbox of Blackberry Mobile? Also how can I have an access to a specific SMS in the Inbox ?

 

Thanks,

Richa Bhatia

Please use plain text.
Developer
RexDoug
Posts: 4,764
Registered: ‎07-21-2008

Re: To count the number of Messages in Inbox

There is no API to access a specific SMS message in the inbox.

 

You could count SMS as they come into the device, but your count will always be wrong because you cannot detedct the deletion of the message.

 

 

 

 

Please use plain text.
New Developer
bhatia_richa1
Posts: 61
Registered: ‎09-01-2009

Re: To count the number of Messages in Inbox

 

Sir,

 

Thanks for helping me out.

 

Please use plain text.
Trusted Contributor
milanvishal
Posts: 201
Registered: ‎12-17-2010

Re: To count the number of Messages in Inbox

Hello sir,

 

Is there any way to get all sms from inbox & sent items?

if any idea please be needfull.

 

Thanks & Regards

Please use plain text.
Developer
BeroboInc
Posts: 123
Registered: ‎07-08-2011
My Carrier: Bell, Rogers

Re: To count the number of Messages in Inbox

Best you can do is register an OutboundMessageListener and listen for outgoing sms, mms messages.

 

No api exists for accessing these messages after the are sent. 

Berobo Inc.
Police Scanner Radio / Alarm Clock lets you listen to Police scanners in your area!
http://www.berobo.com
_________________________________________________
Please click the Like button to thank the user that has helped you and
please mark post as solved when you have found the solution to your problem.
Please use plain text.