Interact with the messaging application

Is it possible to be notified when the messages app is open?  Also, is there a way to have my application called when a user "responds" to a message corresponding to a certain criteria?

To answer your question

"Is there a way to be notified when the messages app is open?  Also, is there a way to have my application called when a user "responds" to a message corresponding to a certain criteria? »

The messages application is still running, and it is really not possible to determine if the message list has been opened.

However, you can get messages when a particular email is open. Follow these steps:

Fix a FolderListener in the Inbox of email to be notified when new email arrives.

When you see an email that matches your criteria, fix a MessageListener to the subject of the Message.

Now, you will get a notification when the e-mail is opened.

Tags: BlackBerry Developers

Similar Questions

  • How many still for my application to interact with the Timesten database?

    Hi all, still how much for my application to interact with the Timesten database?
    As far as I know, we can connect directly to the database without network load that improves performance, should my application only to specify the DSN name under the name of DSN Manager data? There is no document to clarify that clearly.
    The other approach is c/s connection and there are 3 commucation protocols, such as plain TCP/IP, sockets, UNIX domain and the CPI, right?

    Yes, that's correct. (Preferably) direct mode when the application and TimesTen are on the same machine. UNIX domain socket and shared memory IPC server local (only for cases of special purpose given that the direct mode is faster and more) and normal TCP/IP client/server (local or remote).

    The specific details on how the application connects depends on which API that it uses (ODBC, OCI, Pro * C, JDBC, ODP .NET). For ODBC and JDBC, you must specify a data source name and use the driver corresponding (direct-mode driver or client driver). For the OIC that is configured through SQL * Net and TNSNAMES. ORA and for ODP .NET, I don't remember without it looking up. Please see the TimesTen for relevant API documentation for full details.

    Chris

  • How to get to the event with a click on send in the Messages application

    Hi all

    We write code in my application to get the content (, object, body.. data) while clicking on "Send" menuitem in the application "Messages"...

    Or can show our own guest while clicking 'Send' element in the 'Messages' application to copy the details of the e-mail (messages) in my application...

    Thanks in advance...

    You can place an ApplicationMenuItem on the program of Messages, but I don't think that's what you're looking for.

    You can also try adding a FolderListener in the mail store, then you get to announce to any e-mail message hit the folder. The subject of the message has a "isInbound()" method that will tell you if the message is incoming or outgoing.

    See the documentation for the API to Store, FolderListener, Message, and FolderEvent.

  • iOS 10 problems with the Mail application

    Dear Apple and community support,

    Here's my problem:

    I have upgraded to iOS 10 on my iPhone 5s this afternoon (September 13), and now I'm not able to open e-mail - Yahoo!, and Gmail. I can receive emails, I'm not able to view the body of these emails. When I press on them, all I see is a blank white page. I can't answer emails either. I can only their flag or remove them. However, I am able to compose new e-mail messages.

    Here are the steps that I've taken to try to solve my problem:

    1. Restarted my phone
    2. Remove and re-add my Mail accounts
    3. Made a backup and a restore full while that plugged into my laptop with the latest version of iTunes.

    I should be grateful if you would help or more information on this issue.

    Thank you

    Emily

    I also have problems with the Mail application.  On my iphone, ipad, and Mac Pro.  I have several addresses, a MSN, another on Go Daddy and Gmail.  I have various weird problems with threads and every day he re-charge my emails, like if I have never read before.  Something is really problematic with Mail.

    Can the people of APPLE, you help me?

  • The iOS to iPhone 4S 9.3 installation fails during the audit with the message "...". iOS 9.3 failure of verification because you are no longer connected to the Internet"even if the phone is connected.

    Greetings, Installation of iOS 9.3 to my iPhone 4S (model MD234X/A with iOS 9.2.1 (13D15)) fails when checking with the message "...". iOS 9.3 failure of verification because you are no longer connected to the Internet"even if the phone is connected. as I can browse with Safari ok. I tried "Retry" several times, has waited several hours and "Try again" and turned the phone off and then on again then "Retry", all with the same problem! Help, please?

    Hi Bloggsj,

    Thank you for using communities Support from Apple.

    I see that you get an installation error when installing iOS 9.3 OTA.  I suggest that you try following the steps below to download the latest version of the update:

    If you have downloaded iOS 9.3, but you can not install it, you will need to download the update again. First of all, remove the update of your device:

    1. Go to settings > general > storage & use of iCloud. Under storage, click on storage management.
    2. Find iOS 9.3 in the list of applications.
    3. Press on iOS 9.3, then remove the update.

    Now you can go to settings > general > software update and download the latest iOS update.

    If you can't put day to iOS 9.3 on your iPhone 5s or earlier, iPad Air or an earlier version, or iPod touch

    Take care.

  • Just updated to ios 9 and my ipod touch is stuck at 'update of the iCloud parameters.  I can not restore from iTunes as I have to disable 'find my iPod toch' and cannot do the iPod is blocked with the message to update.  Will not work force a stop down.

    Just updated to ios 9.2 (from 8 something) and my ipod touch is stuck at 'update of the iCloud parameters.  I can not restore from iTunes because I have to disable "Find my iPod touch" first of all, and I can't do as the iPod is blocked with the message to update.  Forcing a stop down does not work that for some reason, I am unable to turn off my iPod touch manually.  I tried to turn off my wifi to see if that stops the iPod touch, but he always keeps on the message to iCloud.  Do I just wait until the battery sinks so that it forces a reboot?

    Place your iOS device into Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.

    iOS: I forgot the password or disabled device

    If the recovery mode does not work, try the DFU mode.

    How to put iPod touch / iPhone in DFU "Karthik doodles."

    To learn how to restore:

    iTunes: restore iOS software

    To restore backup see:

    Restore your device from an iCloud or iTunes backup - Apple Support

    If you restore from a backup of iCloud apps will be automatically downloaded. If you restore from backup iTunes, applications and music must be in iTunes since synchronized as music media library and apps are not included in the backup of the iOS device what iTunes does.

    You can re-download most of iTunes purchases by:

    Download after purchase from the App Store and iTunes Store iBookstore

    If no problem what happens or doesn't happen, and when in the instructions? When you get the iPod into recovery successfully mode and connect to iTunes on the computer should say that it found an iPod in recovery mode.

  • "Unknown popup window titled" information "appears with the message please wait a few moments.

    Original title: window unknown popup

    I'm under THAT XP SP 3 fully updated; Mozilla Firefox version 7.0.1 - I keep getting a small pop up window titled 'Information' with the message: Please wait a few moments. It has a small clock on the left side of the field. Only momentary and random. I ran Mcafee virus scan and webroot spyware with no prob on either. Is this some sort of spyware or what?

    Hello

    1. find this jump up while working on Mozilla Firefox?

    I suggest that you initialize in a clean boot state and check if the problem persists.

    Put your boot system helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.

    How to configure Windows XP to start in a "clean boot" State

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

    Note:

    How to configure Windows to use a Normal startup state

    After you have used the boot is a way to solve your problem, you can follow these steps to configure Windows XP to start normally.

    (a) click Start and then click Run.

    (b) type msconfig and click OK.

    The System Configuration Utility dialog box appears.

    (c) click on the general tab, click Normal Startup - load all services and device drivers and then click OK.

    (d) when you are prompted, click on restart to restart the computer.

  • Windows Mail is not interacting with the server.

    When Windows Mail (WM) is open, it will download 2 of each incoming e-mail.  Conducted a comprehensive analysis of the system, no problem.  Talked with our server provider, we ran the test emails to see if WM was interacting with the server and it is not.  Is also not to keep my ID and password to log on the server. Y at - it an update I missed it to avoid these problems?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    It causes a frequent there have new antivirus scan program messages.  Uninstall your AV program and reinstall without any mail analysis feature.  You will be just as safe.

    Another common cause is to have two e-mail accounts, referring to the same mailbox.  The send/receive operation can access two accounts at the same time and both can download the message even if they both refer to the same mailbox. Brian Tillman [MVP-Outlook]

  • Oh, Snap! Build request failed with the message: error

    Hello!

    I am working on an app for BlackBerry Playbook with WebWorks.  When I try to package it I get the error in the subject (Oh Snap! Application of Build failed with the message: error).  There is no more information.  I googled but can't find anyone else with this particular problem.

    Is there a log somewhere that I can read to see what is happening?  Everyone knows this?

    Thanks for any help!

    Oh, I almost forgot.  When I go into the output folder, the .zip file is there, but not the .bar file.

    Ok.  I finally found the code in command line to compile applications.  Here it is for others and reference later: first move the location of the bbwp directory, then run the command bbwp.

    CD "C:\Program Search SDK for Tablet \bbwp Motion\BlackBerry WebWorks"

    bbwp 'C:\myapp.zip '.

    Here is the link where I got the information of: https://bdsc.webapps.blackberry.com/html5/downloads/sdk, then click on "how to get running.

    For those looking to sign their application from the terminal, it is also possible.  First set up your computer, as described here: https://bdsc.webapps.blackberry.com/html5/documentation/ww_publishing/signing_setup_tablet_apps_1920...

    Then go into the same directory 'bbwp' as we did above.  Finally, run this command:

    bbwp g - buildId o

    This information can be found here: https://bdsc.webapps.blackberry.com/html5/documentation/ww_publishing/signing_your_tablet_app_191966...

    Sorry for that write when it is already available elsewhere on the web, but I feel like I should post the complete response for those who come across this message later.  I hope it can help someone who has the same problem as me.

  • Build request failed with the message: error: ENOENT, untie

    I use emulator ripple to package the application for Blackberry os 7...
    But when I press the button package it gives me error as follows:

    Oh, Snap! Build request failed with the message: error: ENOENT, remove the link "C:\Documents and Settings\AtikJ\RippleSites\AgriQuote\packaged\AgriQuoteApp.zip".

    Duplicate of:
    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/error-while-packaging-the-app-us...

  • Ripple packaging error: Oh, Snap! Build request failed with the message: zip i/o error: no zip file or directory error: could not create output file

    I am trying to package and sign an application with ripple and I get this error: Oh, Snap! Build request failed with the message: zip i/o error: no zip file or directory error: could not create output file

    What can possibly be the problem here?

    Solved!

    I had the field output folder of the same value as the name of the archive

  • error packaed and launch: Oh, Snap! Build request failed with the message: [ERROR] an archive or directory does not exist in the specified path:

    Hello

    I get this error when you try to run the sample of cards on the corrugation Simulator:

    Oh, Snap! Build request failed with the message: [ERROR] an archive or directory does not exist in the specified path: "/ Users/Calgacos/Library/Application Support/Google/Chrome/Default/Extensions/cnijnnaimeaacneklcndcafbnkeicckh/0.9.16_0/services/node/node_modules/rbd/Packaged/Maps.zip".

    The .../rbd/Packaged folder is writable and the Maps.zip will be created in the folder ~/RippleSites/Maps/Packaged.  With the help of Mac, the latest versions of everything.  The application runs in undulation ok, but I can't throw on the SIM BB10.

    Someone else have this error and know why?

    PS the Maps.zip does not get created (or copied) in specified folder, of course, but why?

    PS try another application and it worked but is too has not put its zip file into the folder... rbd/Packaged.  I guess it should not but leaves me clueless as to whats wrong with cards.

    Thank you

    The two directories (in the extensions directory and maps project directory) have permissions to 777.

    But you gave me an idea...

    It turns out that simply by putting

    "Packages".

    in setting output wasn't enough, I need the full path

    for example: "/ Users/username/RippleSites/Maps/packed."

    and presto, now it works!

    Thank you!

  • How to remove a specific email inbox with the client application code?

    Hello

    How to remove a specific email inbox with the client application code?  Please suggest useful links.

    Advanced thanks.

    Concerning

    Sunil.G

    Your question is a bit broad, so it is difficult to give you details.

    First of all, you must have the ID of the original message. Usually, you get either by hanging the message when he came into the Inbox (by implementing FolderListener), or by retrieving a list of mail of enamel "Store".

    Once you have this message ID, you call Folder.deleteMessage ().

    Here, there is a laboratory of Developer:

    http://NA.BlackBerry.com/eng/developers/resources/Labs/listeningforemail.jsp

    Moreover, classes to look in the API of reference:

    Store

    Folder

    FolderEvent

    FolderListener

    Session

    ServiceConfiguration

    Message (message RIM, not the J2ME)

  • Problems with the email application

    Hello!

    For some reason my personal e-mail account is accessible to other users in the bed in the email app. If someone else using the computer in my household is logged into his account my own email account is still visible in the application. How to deal with this problem? I won't share my messages of personal email with other people using my computer at home. Very annoying!

    Connection to the account of the other user, open the messaging application and delete the account.

  • Problem with the opening of intention with the type ' application/pdf' and no extension of file in Acrobat 16.0 for Android

    I'm having a problem with an Android app that opens pdf files through an intention with ' application/pdf ' as type a uri that does not include an extension (something like "file:///storage/emulated/0/Android/data/package.name/cache/Documents/Document20136000217 25840499999") the file picker opens properly, but if I choose Adobe Acrobat, Acrobat is activated but immediately closes with the message "No applications available on the device to open files of this type".

    If I select the Reader PDF Viewer to open intend the file opens correctly. I also tried adding '.pdf' name of the file and in this case the intention also works with Adobe Acrobat.

    Acrobat seems to ignore the mime type. Documentation to http://developer.android.com/intl/es/reference/android/content/Intent.html#getData () which seems to be a mistake - the mime type must take precedence over the content of the data.

    The application runs on a Nexus with Android Marshmallow 6.0.1 5.

    Hello Colin,

    We just released the last version (16.1) demand in the PlayStore where we tried to include a fix for the problem you are seeing. Upgrade you to the latest version and let us know if you are still having it ask.

    Thank you

    Adobe Acrobat team

Maybe you are looking for