Blackberry - how to count unread sms messages? - blackberry

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

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

Related

Linking an SMS reply to the original message

We want to be able to send an SMS using Twilio and the person receiving should be able to reply to the message thread.
How can I link the reply to the original message? (In e-mail we just put the thread->id in the reply address)
The person receiving could be in multiple threads.
Twilio seems to suggest cookies but I don't see how this could work.
Mick
Twilio developer evangelist here.
There's nothing in SMS that allows for a message to be replied to directly. If you check your own phone and its SMS application you will find that you can't reply, just send another message in chronological order.
One option you have is to buy and use multiple numbers to communicate with your users. You only need as many numbers as you have open threads with a user, but that is a way to segregate messages between your application and an end user.

read all SMS from Inbox at a time in blackberry

I am working on a sms application, in which i have used folder listener to access the Inbox sms.
I want to read all the sms present in the inbox at a time. Is it possible to do this, because what i have done is to read incoming sms.
When a sms added in the Inbox folder we can catch that event but here I want ot read all the sms from Inbox.
Please suggest me the solution or some fruity sample code.
Thanxsss a ton in advance...!
There is no way to read already received sms-messages. The only way is to implement MessageListener and intercept incoming sms-messages to process them.

Getting list of SMS Messages?

I can't find any reference/documentation how to get a list of SMS messages using WebWorks (for smartphone)? Is it possible?
I want to create my own app using WebWorks, im trying to find a way to get a list of SMS messages.
Sorry for late reply.
It's not possible to get list of sms even in native java application. You can only listen for incoming sms. But not sms that already received.

How can I read SMS messages from the inbox programmatically in blackberry?

I want to read SMS messages from Inbox,Draft,and sent from my blackberry device programmatically.
Would any one will help me.
There is only way to access SMS messages, implement MessageListener and intercept messages when they are sending/receiving. There is no API to access SMS messages already saved in device memory (i.e already received).
See the BlackBerry Developers Knowledge Base article:
What is - Different ways to listen for SMS messages

blackberry - need to receive sms within my application without notifying inbox (silently)

I'm developing a blackberry SMS appication.
Which needs to filter all incoming messages which have only with a specific keyword (ex - Starts with ABC).
The messages with this keywords will not allow goto the inbox.
Is it possible with messageListner ?
I got to know that this may be possible by invoke class. But i don't have a clear idea on this. Could anyboday help me on this ?
I don't think it's possible. RIM doesn't provide such function.
But there is another way to achieve this: turn on firewall in the system's option and filter all the sms, now system can't recieve notifications of sms while your application can. This is used in most sms firewall apps.

Resources