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
Posts: 692
Registered: ‎08-09-2010
My Device: Not Specified

How the got all msg of inbox by programtically?

Hello,

 

           It is possible that all msg got by programtically ?If yes then given me any solution and if possible then given me some sample code.

 

Thanks.

Contributor
Posts: 13
Registered: ‎09-16-2011
My Device: Black berry 9800/ Blackberry 6
My Carrier: BSNL/Airtel

Re: How the got all msg of inbox by programtically?

Hi, 

 

I am also working on the same... I have gone throug the post  at the url:

 

http://supportforums.blackberry.com/t5/Java-Development/Programmatically-adding-a-new-e-mail-message...

 

This may help u

 

If u get some idea and sample code pls let me know.

 

Thanking you

Contributor
Posts: 13
Registered: ‎09-16-2011
My Device: Black berry 9800/ Blackberry 6
My Carrier: BSNL/Airtel

Re: How the got all msg of inbox by programtically?

Hi, 

 

I have also started working on the same

Please try MessageList API which was introduced with RIM OS 4.6.

 

This may help u.

 

If u get some idea also let me know

 

Thanking you

Developer
Posts: 692
Registered: ‎08-09-2010
My Device: Not Specified

Re: How the got all msg of inbox by programtically?

Hi,

 

         I will try but there are no any sms data geta and also i serach about this but there are no any positive response get.I hope this is possible only when any sms received.

 

         If any another solution get then told me.

 

 

Thanks.

Developer
Posts: 16,997
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How the got all msg of inbox by programtically?

use http://www.blackberry.com/developers/docs/7.0.0api/net/rim/blackberry/api/mail/Session.html#getStore... to get the mail store.

you cannot access stored sms messages, you can only intercept them when they are sent and received.
----------------------------------------------------------
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
Developer
Posts: 692
Registered: ‎08-09-2010
My Device: Not Specified

Re: How the got all msg of inbox by programtically?

There are any solution for inbox msg get?

Thanks.
Developer
Posts: 16,997
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How the got all msg of inbox by programtically?

the inbox is a folder in the store.
----------------------------------------------------------
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