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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
shahumang8
Posts: 459
Registered: ‎08-09-2010

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.

Please use plain text.
Contributor
jiten_jk
Posts: 13
Registered: ‎09-16-2011
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

Please use plain text.
Contributor
jiten_jk
Posts: 13
Registered: ‎09-16-2011
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

Please use plain text.
Developer
shahumang8
Posts: 459
Registered: ‎08-09-2010

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.

Please use plain text.
Developer
simon_hain
Posts: 13,775
Registered: ‎07-29-2008
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
Please use plain text.
Developer
shahumang8
Posts: 459
Registered: ‎08-09-2010

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

There are any solution for inbox msg get?

Thanks.
Please use plain text.
Developer
simon_hain
Posts: 13,775
Registered: ‎07-29-2008
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
Please use plain text.