Mark as read incoming sms
OK, I could read/catch all incoming sms using a small piece of code but all these sms are also in the sms Inbox as unread.
How can I mark as read?
You cannot programmatically change the SMS Inbox.
Tags: BlackBerry Developers
Similar Questions
-
Messages marked as read for specific folders
I know not how to organize my messages to filter and specific places in folders according to the email address, but what I don't know how to do is to get specific incoming emails (more passing in specific folders) to mark as read, but only for these specific email addresses. Could someone tell me how to proceed?
There is a filter action "mark as read".
-
E-mail messages cannot be marked as read automatically when they are read?
Instead of having to physically push a button to "Mark as read" after the opening of each email, why didn't they just mark themselves automatically as they are clicked on and read? Not which seems logical? All other mail clients I've ever used has been assumed that when you click on an incoming message, IT has BEEN READ. This seems so obvious bleeding. It is ridiculous to have to press a button to mark a message as read.
I have worked with Macs since the 1980s. How old are you? Maybe if Thunderbird has better layouts of menu that I should not spend 2 days rummaging the Prefs for something that should have been a default setting, as on any other client of e-mail on the planet.
-
My Inbox messages marked as "read" retired and cannot be retrieved. Help, please!
The scenario: I open my Windows Mail (2006) and receive incoming messages. All messages are in bold, until this that marked as 'read' (3 seconds). I can see all the messages, but if I move to another folder, and then return to the Inbox, a "read" messages have disappeared. I checked the file "Deleted", but they are not in. They seem to have disappeared in the e-mail entirely program.
The scenario: I open my Windows Mail (2006) and receive incoming messages. All messages are in bold, until this that marked as 'read' (3 seconds). I can see all the messages, but if I move to another folder, and then return to the Inbox, a "read" messages have disappeared. I checked the file "Deleted", but they are not in. They seem to have disappeared in the e-mail entirely program.
In - box-click > view, click View > current view (if you use Windows Mail) > show all messages
t-4-2
-
There are 3 types of ways to listen for incoming sms in the following link:
All those who receive the javax.wireless.messaging.Message for further processing.
I need to check the priority of the message received, which is only available in net.rim.blackberry.api.mail.Message and not javax.wireless.messaging.Message.
Can someone guide me to get the net.rim.blackberry.api.mail.Message When listening for incoming sms?
Thank you.
Net.rim.blackberry.api.mail.Message is actually for mails not for sms
Press the button Bravo thank the user who has helped you.
If your problem has been resolved then please mark the thread as "accepted Solution".
-
How to detect an incomming SMS? -HELPPPP
Hello everyone,
This is my first post in this forum. So far, it has helped me a lot. But since a few days, I have had a problem. I want to detect an incomming SMS. I read some post and I found a few pieces of codes that are interesting. But, I failed to do so.
Here are a few links I've read:
-http://www.j2mepolish.org/javadoc/j2me/de/enough/polish/messaging/MessageListener.html
I will stop here with links.
Now, here is my code:
/* * hw.java * * ©
, 2003-2008 * Confidential and proprietary. */ import java.util.*; import java.lang.*; import java.io.*; import java.io.IOException; import javax.microedition.location.*; import javax.microedition.io.*; import javax.microedition.io.file.*; import javax.microedition.pim.*; import javax.wireless.messaging.*; import net.rim.device.api.io.*; import net.rim.device.api.ui.*; import net.rim.device.api.ui.component.*; import net.rim.device.api.ui.container.*; import net.rim.device.api.system.*; import net.rim.device.api.i18n.*; import net.rim.blackberry.api.invoke.*; /** * */ class hw extends UiApplication { public static void main(String[] args) { hw instance = new hw(); instance.enterEventDispatcher(); } public hw() { pushScreen(new SalutationScreen()); } } class SalutationScreen extends MainScreen implements Runnable //, MessageListener { private Thread t; private MessageConnection _mc; public SalutationScreen() { super(); LabelField applicationTitle = new LabelField("Hello World Title"); setTitle(applicationTitle); RichTextField helloWorldTextField = new RichTextField("Hello World!"); add(helloWorldTextField); t = new Thread(this); t.start(); /* try { _mc = (MessageConnection)Connector.open("sms://:0"); _mc.setMessageListener(this); helloWorldTextField = new RichTextField("setMessageListener : done"); add(helloWorldTextField); } catch (IOException e) { helloWorldTextField = new RichTextField("erreur constructeur : " + e); add(helloWorldTextField); } */ } public boolean onClose() { Dialog.alert("Bye World!"); System.exit(0); return true; } public void run() { try{ DatagramConnection _dc = (DatagramConnection)Connector.open("sms://:0"); for(;;) { Datagram d = _dc.newDatagram(_dc.getMaximumLength()); _dc.receive(d); byte[] bytes = d.getData(); String address = d.getAddress(); String msg = new String(bytes); helloWorldTextField = new RichTextField(" Message text received : " + msg ); add(helloWorldTextField); } } catch(Exception e){} /* METHOD 2 while(true) { try { DatagramConnection _dc = (DatagramConnection)Connector.open("sms://"); Datagram d = _dc.newDatagram(_dc.getMaximumLength()); _dc.receive(d); String address = new String(d.getAddress()); String msg = new String(d.getData()); helloWorldTextField = new RichTextField("Message received: " + msg + "\n" + address); add(helloWorldTextField); Alert.startVibrate(3000); } catch (IOException e) { System.err.println(e.toString()); } } */ /* METHOD 3 try { MessageConnection _mc = (MessageConnection)Connector.open("sms://:0"); for(;;) { Message m = _mc.receive(); String address = m.getAddress(); String msg = null; if ( m instanceof TextMessage ) { TextMessage tm = (TextMessage)m; msg = tm.getPayloadText(); } else if (m instanceof BinaryMessage) { StringBuffer buf = new StringBuffer(); byte[] data = ((BinaryMessage) m).getPayloadData(); // convert Binary Data to Text msg = new String(data, "UTF-8"); } else System.out.println("Invalid Message Format"); RichTextField helloWorldTextField = new RichTextField("Received SMS text from " + address + "\n" + msg); add(helloWorldTextField); } } catch (IOException e) { System.err.println(e.toString()); } */ } /* METHOD 4 public void notifyIncomingMessage(MessageConnection conn) { RichTextField helloWorldTextField = new RichTextField("notifyIncomingMessage DEBUT"); add(helloWorldTextField); try { Message m = conn.receive(); helloWorldTextField = new RichTextField("- Message recu"); add(helloWorldTextField); String address = m.getAddress(); String msg = null; if ( m instanceof TextMessage ) { TextMessage tm = (TextMessage)m; msg = tm.getPayloadText(); } else if (m instanceof BinaryMessage) { StringBuffer buf = new StringBuffer(); byte[] data = ((BinaryMessage) m).getPayloadData(); // convert Binary Data to Text msg = new String(data, "UTF-8"); } else System.out.println("Invalid Message Format"); helloWorldTextField = new RichTextField("- Message de : " + address + " // \""+ msg + "\""); add(helloWorldTextField); } catch (IOException e) { helloWorldTextField = new RichTextField("erreur _mc.receive : " + e); add(helloWorldTextField); } } */ /* METHOD 5 public void notifyIncomingMessage(MessageConnection messageConnection) { new Thread() { MessageConnection conn; Thread set(MessageConnection conn) { this.conn = conn; return (this); } public void run() { try { Message m = conn.receive(); String msg = null; if ( m instanceof TextMessage) { TextMessage tm = (TextMessage) m; msg = tm.getPayloadText(); RichTextField helloWorldTextField = new RichTextField("- Message de : " + m.getAddress() + " // \""+ msg + "\""); this.add(helloWorldTextField); } } catch (Exception e) { } } }.set(messageConnection).start(); } */ } In my code, I tested 5 methods. But, I think that all of them blocked the line where there is method of 'received() '.
If there is someone who can help me find my problem, it's going to be great. (Or if there is someone who wants to send me a complete code that works, it will be better than the grand )
Thank you for all the answers.
I agree with you. It's better if I post a solution.
I have re-written some other program that gets the phone number and the content of the incomming SMS.
Here is my code
public class smsReceived extends UiApplication { private LabelField _status; private DatagramConnection _dc; public static void main(String[] args) { new smsReceived().enterEventDispatcher(); } public smsReceived() { super(); waitASms(); } public void waitASms() { try { _dc = (DatagramConnection)Connector.open("sms://"); for(;;) { Datagram d = _dc.newDatagram(_dc.getMaximumLength()); _dc.receive(d); String address = new String(d.getAddress()); String msg = new String(d.getData()); } } catch (IOException e) { System.err.println(e.toString()); } } }
In this code, the string 'address' is the phone number and the string 'msg' is the content.
To view, please do another method with this channels.
Next time.
-
I'm under NT-Newswatcher on my 10.8.5 than MacBook Pro for Usenet and it will no longer work with the newer operating system. I like NT - W because I'm going out ITI brands all groups of discussion, a reading and then erased them or whatever he does automatically. I found on tuberculosis, a way to mark all as read, but the old posts are still cluttering up things. Is there (1) a way to automate the service so when I get out of TB or the particular group there are marked as read and removed or (2) a way to do it by hand, so to speak? Thank you.
Unread (Alt - V) - topics - view
-
Why emails of some shippers get automatically marked as read when I have not opened their?
There are a few senders whose emails are marked as read even before I have a chance to open them. Is this a configuration problem on my end? It is easy to forget the when they are marked reading because they aren't standout from the others.
do you have filters? external spamfilter maybe?
-
iOS mail automatically marking as read after marking as unread emails
Hello
This has been me angry for a while now and I hope someone can help me find a solution. How I personally use e-mail is that even if I read an e-mail, I will be mark as unread if I need to do something for example to answer in the future or another action. This way when I check my unread emails, I will see there and know that I must follow somehow.
Occasionally in iOS mail, after scoring an email as unread, once I read it, it would show as "unread". However, a little later, it becomes marked as read once again, even if I did not change anything or are returned in the mail. I even recorded directly in Gmail via the web browser on my desktop, marked the message as unread, only so he can become marked as 'read' once again not long after. I scored the same some e-mails as "unread" several times, but they become 'read' a little later.
I am convinced that it is something to do with the Mail of iOS application. It happens very rarely before some emails, but now it happens regularly to most emails and I can't seem to do anything.
Can someone please advise?
Thank you.
It is an odd. You can try to reset your email account. Maybe this will help.
First close your Mail application completely from the window of the selector app by double clicking the Home button and drag the email preview pane up until it disappears from the display. Then go to settings > Mail, Contacts, calendar > find your e-mail provider and click on the account and the blow to remove. Then perform a forced reboot. Hold down the Home and Sleep/Wake buttons simultaneously for about 15-20 seconds, until the Apple logo appears. Then go to settings > mail... and to add the account.
-
Two computers share the same WI - fi Modem. When A computer reads a message that is marked as read on the two PC, not allowing the B to see what still needs to be read. Email is Thunderbird.
Please help, thank you for this option online supportI should add that if you operate the account using Pop then messages can be left on the server without any indication that they have been read. You define each customer to leave them on the server.
However if you don't know what messages have been read, I know not how will you know which ones to delete and when to do it. Without active maintenance your server could quickly become full.
-
I have several accounts e-mail with different servers. I don't have access to all except at home. If I have access to my work Gmail account or another remote site, I would prefer not to have to open/mark as read, etc., at home where I use Thunderbird.
Any suggestions?
Thank you.Security gate
If you have a Pop email account, then it will look at the Inbox on the server, and download whatever it either has not been downloaded and mark as new unread mail. This is because the e-mail Pop of TB account has no knowledge of any marking/labelling, etc. that has occurred on the server. It downloads only tuberculosis because it's a pop e-mail account
If you have an IMAP email account, then TB remotely viewing records and emails on the server. You see records because you have subscribed to see. When you choose to display an e-mail in a subscribed folder, contents are downloaded in a temporary cache to facilitate faster access to emails in that folder, but the cache is deleted when you exit. If these emails are not stored on your computer.
You can also synchronize folders in order to keep a local copy on your computer, but these files will be updated / synchronized when you make changes, so that TB files and server folders are the same. While a copy is stored on your computer all the changes you make via webmail or TB will be reflected in both. Thus, while synchronizing Gets a local copy on your computer may not be invoked as a backup file is constantly updated with the server.
So it depends on what type of e-mail account you use. If you have an IMAP e-mail account, you should see the changes on the server.
-
Hello
I have two iPhones one is version 5 and the second is 5 s version.
Both are updated to the latest version of iOS.
In my worm. 5 s when entering SMS comes the iPhone gives alert music.
The problem is with another iPhone 5 that when entering SMS happens no sounds are heard.
I tried to compare the configurations, but found no difference between the two.
I have to lack the question.
Where can I configure the iPhone 5 to produce music for the arrival of incoming SMS alert.
Thank you
I would add: no mute is on. It is not Nothing disturbs mode
Try updating to the latest iOS
Also try to put in a different sound for text in settings - sounds
Force restart the phone and see if the SMS produced the new sound
-
Outlook Express 6 Mark as read feature has stopped working
All of a sudden, some of the emails I open remain "BOLD" and marked as unread, no matter how many times I open them or select marked as read.
Any ideas why this happens?
There might be something corrupt in the message store, or it could result from the font used for the list of messages. For the first time, try to set up a new identity via file | Identities and add your account there and then see if the problem persists (if its fixed, then use file |) Import | Messages to bring older identity). If it does, then check out the font used by right-clicking on the desktop and select Properties. Appearance | Advanced and see what the police are for the police of the icon. If it has only a bold font, then it won't change regular, to see if this is the problem.
Steve
-
When I click on an e-mail he'll let it as unread instead of mark as read.
I'm in my Inbox and there my mails unread and read. When I click an unread, he doesn't have to read... I know that is used to do. Is this something in the settings?
Re: I want to have my email open all day and when the new email come stay unread until I click on it
The settings that I advised to do exactly this. Thunderbird assumes that everything is new not read and unopened. When you open the e-mail, it will be marked as read.
There are different ways to open an email. If you have the "Message pane" enabled, then when you single click on an email in the list, it's a signal for open this e-mail and view it in the lower pane of the Message. This e-mail is considered to be opened and read by you. Thus, it is marked as read. If you choose double click on send regardless of whether or not the message pane is enabled, the email will open in a new tab. This e-mail is considered to be opened and read by you. Thus, it is marked as read.
So if you do not have the "Message pane" turned on, so only you click on an email in the list, it does not open and the display will not be marked as read.
While some people are happy to open emails via the long way (double click), it is not good practice to the simple click on the points, if you do not intend to run a command that you could develop it as a habit that can have unfortunate results.
The settings that I advised will produce the above results. You can moderate the settings to get different results:
- So open then mark as read immediately.
- So open then mark as read after a short period.
- So open never mark as read until I select manually as it is marked as read.
-
deleting incoming sms in the Inbox
Anyone know how to remove sms all inbox.
I can't find a solution in the API.
Not that new look or sms outgoin.
Never click on a URL from the tiny type that you never know where he's going to do. If you trust the site, never click on the links to the full URL:
http://supportforums.BlackBerry.com/T5/Java-development/deleting-incoming-SMS-from-Inbox/TD-p/592620
AndreyMM,
He doesn't know the rest of the code. Try searching Google or even Crackberry post as they usually come from assets
Maybe you are looking for
-
A few days when I used Thunderbird in sending electronic messages that I place an attachment it would remain just as an attachment and there was not change to what I had entered in the body of the message. Now, when I do an attachment to an e-mail me
-
LaserJet Pro200color MFP M27nw: scan to email addition of new emails to be sent from
There is currently an email registered under the email from the sender, but I want to add a new because the e-mail address belongs to someone who no longer works in the office. How can I change?
-
Dictation fails continually on my Apple Watch. I tried to restart both the watch and my iPhone 5 and checked that the Seri is enabled on my phone. Any suggestions?
-
Client services for NetWare: how to uninstall?
original title: Services for NetWare Client How in the world I find it on my computer so that I can install one? Please someone help me please, I have been deceived in this program somehow. Because I would never use a program that is so hard to find
-
Endless reboot and commissioning.
Looked for support but nothing has worked yet. A tool of false malicous softwear installed itself on my windows xp. I couldn't get rid of the program by the usual means. I turned off my pc and went to bed. Big mistake. Now, I'm in this interminable r