What is the BlackBerry API to delete the SMS Message?

I read a lot of articles and the forum here and elsewhere on the web, but could not found any method of BlackBerry API to remove the coming application SMS message. Please help me solve this problem. I use following code for incoming SMS reading:

Code to listen to any incoming SMS:

Import javax.microedition.io.Connector;
Import javax.wireless.messaging.Message;
Import javax.wireless.messaging.MessageConnection;
Import javax.wireless.messaging.TextMessage;

public class SMSListener {}
public void startSMSListener() {}
New Thread (new Runnable() {}
public void run() {}
try {}
_Mc MessageConnection = (MessageConnection)Connector.open("sms://:0");
for(; {
Message m = _mc.receive ();
Address of string = m.getAddress ();
Number of strings = address.substring (6).
If (m instanceof TextMessage) {}
TextMessage tm = m (text);
String msg = tm.getPayloadText ();
long = tm.getTimestamp () .getTime ();
System.out.println("SMS\n"+address+"\n"+time+"\n"+number+"\n"+msg);

QUESTION: HOW DO I SUPPRESS THIS INCOMING MESSAGE?
}
}
} catch (Exception e) {}
}
({. start()});
}
}

You can not.  But you can craft an SMS so that it does not appear in the Inbox.  This article explains how.

Use SMS to alert an application

Tags: BlackBerry Developers

Similar Questions

  • What means the error message. 201 means trying to download

    What means the error message. 201 means trying to down load?

    Hello

    Its a network issue, please visit the link below:

    Error 201

    Error 201; CC constantly disconnected desktop application, will not download again

    Error download or update Adobe Creative Cloud applications

    Let us know if that helps.

    Kind regards

    Bani

  • What means the error message: average 213:19?

    What means the error message 213:19?  How do fix you it?

    Hi DMAADOBENAME,

    213:19 is a license error. Please see the steps listed in the KB: http://helpx.adobe.com/acrobat/kb/error-213-19-licensing-acrobat.html / http://helpx.adobe.com/photoshop-elements/kb/licensing-problem.html .

    Kind regards

    Romit Sinha

  • How to get all the SMS messages?

    Hi all

    I want to get all the SMS messages in my application, but I can only find the API to get the mails.

    I have search the Forum and know the method of listening to SMS messages, but not to get all SMS messages in the Inbox.

    Can someone help me? Thank you.

    I'm afraid you cannot access the SMS Inbox and not either, you can manipulate the messages as soon as they reach the Inbox.
    However, as you already mentioned, you can listen to them on their way to the Inbox.

  • Card SIM full blackBerry Smartphones after only 10 SMS messages

    I just got my BB 9000 and took my old SIM card and placed in the BB.

    On the card SIM was a few SMS messages (the SIM card is only 5 days old) and initially the BB seems to work very well. After receiving very little SMS' are I was presented with an error message saying that the SIM card is full and that I should delete the SMS messages to make room for the new.

    .. After only 10 SMS' are?

    I checked the Options-> memory, but it says nothing about the use of the memory on the SIM card and the other figures indicates that the BB itself has of course plenty of room/memory left.

    I don't want to delete SMS' are all 2 days... Someone has a good idea on how to check the status of the real of the SIM memory?

    Concerning

    Finnerup

    Follow these steps-

    1. Options
    2. SMS text
    3. Leave Messages on SIM card: no
  • BlackBerry Smartphones how can I combine the SMS Messages of previous backups?

    I have a Blackberry 8900 and I recently spent the storm.  I did the weekly incremental backups, however, did not notice my SMS have deleted every 30 days and I need to restore/recreate everything on my phone for the search.  How can I do this?  I used Dashwire in the past, but it does not support Blackberry.  If I used the feature in the Desktop Manager, it replaces the existing SMS messages.  Is it possible to 'Save' messages without crushing them, or can I use Windows to access the file as an Excel file?  Thanks in advance!

    Unfortunately using the backup and restore feature, the databases on the BlackBerry will just overwrite with the information contained in the backup file. It does not add to data already there.

    There is software called ABC Amber BlackBerry Converter can convert it to a format you can manipulate your computer from the backup file

  • What are the error messages you see in the window "run/eventvwr"?

    I received the phone call from "Microsoft Service Center" (guess it's scam) but when they took me to run eventvwr/I had several mistakes - this is significant.  Their website has been ammyy.com.  Someone at - he heard of this?

    Hello Peggy.

    Yes, it's a serious scam, do not allow them to do something. The event shows you what events the computer crossed over from the start. These errors may be associated with conflicts .dll or programs do not load. If you have some errors, you can have someone to look at those but without one I don't know what to tell you.
    Here is a site that can help explain what is the event viewer. It is a wiki, so keep in mind information is for reference only.

    http://en.Wikipedia.org/wiki/Event_Viewer

    I hope this helps.

    Jim

  • What does the error message mean? TypeError: Error #1010: a term is undefined and has no properties.

    Please can you tell me what does the following error code and what should I do to fix it.

    TypeError: Error #1010: a term is undefined and has no properties.

    Thank you very much

    Hello

    • When you get this error?
    • How long you have been facing this problem?
    • What were the changes made before the problem occurred?

    Reply back with more information, helping us to better understand the issue.

    See also:

    http://support.Microsoft.com/kb/555375

  • BlackBerry Smartphones cannot SEND the SMS messages on 8130

    Here is my story:

    1. I've upgraded to a Blackberry Pearl 8130 pink in the beginning of the year.   My carrier is Verizon.

    2. recently (a month ago) a friend sent a text message to me of his new phone.  I tried to text back, but received a big big red X indicating that my message isn't getting through.  Specifically, when I opened my message, the error says, "State of the Mobile equipment has failed."

    3. I went to Verizon.  They did something where I think that they took me off the network and then get back on.  There is nothing.  She wanted to make a hard game on the phone, but I had not backed up my data again.

    4. I went home and my data backed up and returned to Verizone about a week later.  I spend more than an hour in the store.  The gentleman who helped me was on the phone with someone (no doubt technical support) nothing works.  He was ready to order me a phone replacement, but after further discussions with technical support, they thought there was a problem with the network, not my phone.  I went home with a case number.

    5. the next day same Verizon called.  They said it wasn't a network problem and it was my phone.  They would send me a replacement.

    6. I received my replacement phone a few days later.  I was anxious to get it set up, but the results were the same.  I have not yet returned to Verizon.  I thought I'd try everything here first see if anyone had any ideas.

    The bottom line:

    I CAN send/receive emails.

    CAN I send an MMS message.

    I CAN receive text Messages.

    I can't send SMS messages.

    Thanks for any advice you may have.

    -Sandra

    Tami,

    Thanks for the reply.  I happy to point out, however, that the problem has been resolved by Verizon!  It has never been my phone, that's why the replacement was a mute point.  Anyway, here is their answer (in case someone else has this problem):

    Sandra, we reviewed your account and coding in any of our servers.  We believe that we have found the problem and fixed it.  We ask that you update your PRL (preferred roaming list) by calling the * 228, option 2.  Once completed please test your ability to send text messages.

    I'm just glad that the problem has been resolved because my frustration was very high.

    Happy texting!

    -Sandra

  • Whats with the error messages?

    I'll probably be a total n00b, but I'm having some real trouble here. Whenever I'm doing a button to navigate in a stallion or add a loadmovie command and then test the animation that it always strikes me with the warning message "the file flashmovie.swf is trying to communicate with this site," etc., it is getting really annoying and I can't understand why he did this. I use these types of lightning on other sites without warning, so I don't know why my flashes give them. I'm sure I'm just on a small addition to a script or something, but I don't know. Anyone who has had this problem please let me know how you solved it. Also I use Flash 8 Professional. I have read through the settings and seen it says to try some site to get information from other sites using an older system of security. Is there a new one, that I'm not aware? Here is the script that I have in my film flash right now:
    loadMovie (" http://www.flash-vault.com/thickandthin.swf", box1);
    When I discovered the film with this script, I get the warning. Anyone know what I'm doing wrong? I have the same problem with the GetURL command.

    Wellman... to meet u that...
    If you use this script: i.e. loadMovie ('thickandthin.swf', 'box1', 'GET');
    It works, because you are linking to a local file...

    If you place a full path of the URL, it calls error you...
    It is not because the Flash, you cannot do that... There is a way to bypass

    Read more on Security Sandbox Violation.

  • BlackBerry Smartphones BlackBerry message memory and SIM card are full! Please delete some SMS messages.

    Hello

    typical - just that I was looking to upgrade, I get the following message on my Torch 9800:

    "BlackBerry message memory and SIM card are full! Please delete some SMS. »

    There is a lot of space on the card in the device memory and press. I have deleted many texts and have removed the battery (several times), but the error keeps coming back.

    I am able to text but can't seem to receive - although copies of text messages that I send continue to be saved. I'm having no problem with other forms of e-mail (for example, WhatsApp, Twitter).

    I looked at 3465 Knowledge Base, which advises to uncheck the option "Leave Messages on SIM card", but this has been disabled throughout. (I checked it and saved out of curiosity, which allowed me to receive text only test that I then just sent myself, but after the error message is returned and no other text would come through...) I came back to this area being disabled).

    Any help to fix this would be greatly appreciated.

    When you say you deleted text messages, how have you deleted and how do you think that you have?

    I suggest making a backup with BB Desktop Software. Then, you can use it to do a selective removal of just the basis of message text and see if you can receive messages after that. If you did the backup you can always restore text messages on the device if you want to, although he will crush all new messages on the device.

  • BlackBerry Z10 how delete individual text messages?

    Is there a way to delete individual text messages?  It should be added that if it is not possible, you should not have to remove your whole conversation if you only want a single message deleted text.

    Someone at - it a response?

    Thank you!

    Yes you can. Just hold your finger on the intended message deleted about 3 seconds, you will see a menu of options open to your right screen with an icon of the trash downstairs.

    This deletes only the selected message and not the entire conversation.

    I hope this helps!

  • My iPhone is set up to autoforward SMS messages to another iPhone.  The first iPhone must be activated so that the SMS messages automatically to the front?

    I have a working iPhone which is implemented through iMessage auto before SMS to my personal iPhone.  If my work phone is not activated SMS messages don't not autoforward.  Must the phone working be enabled so that SMS autoforward work?

    Yes, in any kind of call or the transfer of text, each device in the relay channel must be turned on and connected to the network.

  • A way to send and receive the SMS messages on ThinkPad T440 with Sierra EM7345

    I have a T440 with Sierra LTE. It works fine to connect to mobile networks.

    But here in New Zealand, one of our suppliers also provides free wifi hotspots to customers on certain plans. To use this property, I have to enter a password which is sent to me by SMS.

    Is it possible that I can display SMS messages sent to the SIM card inside my laptop?

    Now, I need to remove the SIM card from my ThinkPad (with all the hassles that implies), paste it into my phone, get the password, then transfer the SIM card in my ThinkPad (and often do not, it is y no food taken located nearby, so I can't restart because I had to disable the internal battery during the installation/uninstallation of the SIM card).

    So, if someone can point to a way I can just see these SMS messages on my ThinkPad, I'm grateful enernally.


  • By copying and pasting the SMS messages?

    Tho not a huge to me other than being like "ha!" HA! "I told you, I know you said that" to my girlfriend, I can see how this can be huge for others.

    Someone at - he found a way to copy and paste previous text messages (or perhaps even to 'transfer' the SMS)? The ONLY thing I can think is to take a screenshot of the application (orange button + symb, then press p) with the text I want to copy. Then send it to the user... problem with this is good... it is a table and not text. All solutions?

    Now you can copy only and editable field and since it is text that has already been sent/received you can not modify it and thus can not copy him.

    With respect to the transfer of a text message, there is not the ability to do but either.

Maybe you are looking for

  • Satellite A300 - error occurred in the audio settings

    When I try to watch a DVD or movie files from an external hard drive using a TOSHIBA DVD PLAYER, it finds the file or good movie starts to play and then an error message pops up saying to what follows - * an error has occurred in the Audio output set

  • Built-in HP Probook 6560 b in numeric keypad keyboard

    Hello Here I have a probook 6560 b with a built-in numeric keypad. The integrated numeric keypad works fine, but the keyboard is integrated digital keypad mode (number on the letter keys) and im not able the desable it. I tried the fn + num lock key

  • Vista - Error Code: 80200053 (cannot install updates for Media Center)

    I tried to install the updates for Vista Home Edition and get the error code 80200053 for update to Media Center and Net Client 4.  What is the Guide to enable these updates installed.  Thanks for the help

  • type of screwdriver to open the Panel side cq5011

    Hello I would like to know what kind of screwdriver (size and type) that I have to open the side panel of my new compaq cq5011 (more precisely a cq5011es) (if I can improve some hardware in the future). There is only one screw, but I do not recognize

  • HIJACKED SETTINGS

    Is it necessary to remove the settings, and if yes how can I do this?