views:

556

answers:

1

Can anyone please help me .... I need the full code.
Folder containing inbox ... and i need to count the unread sms there.

+1  A: 

Seems like it's not possible.

How to Read SMS inbox (Not for mail messages):

This is not possible under the current api, you can access them before they hit the sms >inbox but you cant read back into the inbox
...
There is no way to access SMS once they hit the inbox.

Access all SMS in my inbox through API:

sms: no mails: yes. take a look at the developer guide for details
...
you can not access any stored sms programatically. you can intercept incoming sms, but that's it. it is possible to read them from a backup file on your pc though.

Accessing SMS folders viz Inbox,Drafts etc:

This is not supported on BlackBerry. You can capture messages as they arrive, but can not >access SMS messages stored on the BlackBerry.

Mark Sohm
BlackBerry Development Advisor
www.BlackBerryDeveloper.com
...
It is not possible to programmatically access SMS folders. SMS messages can only be >captured as they arrive.

Mark Sohm
BlackBerry Development Advisor
www.BlackBerryDeveloper.com

All we can do is handle incoming SMS

Max Gontar
Is not tagging this question with RIM-4.2 somewhat misleading? The OP asked specifically about 4.2, but isn't the answer is true for all known versions of the API?
Richard
yep Richard, you right.
Max Gontar