Invoke the application of a Message

Hi guys,.

I would like to know if it is posible to invoke a java application that is customized using a tag html (href or something like that) which is part of the e-mail message.

(for example)

-----------------------

The e-mail message body

Please accept this agreement

Accept Decline

-----------------------

I want to select Accept and launch an application.

No idea how I can get this approach, or a suggestion.

Thanks for your time.

I think that this article will help you.

How to-to comparison models in the BlackBerry smartphone to provide a user experience integrated applications
Article number: DB-00525
 
http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

Tags: BlackBerry Developers

Similar Questions

  • Invoking the application when you click on a link in the browser field

    Hi all

    Is it possible to invoke the application by clicking on a link/button to the browser field?

    The link/button would be a part of the web page displayed in a browser field. If the user clicks on it, it should be taken to the corresponding screen in the native application.

    Can someone let me know how this can be done in BlackBerry?

    Thank you much in advance.

    I could it implement successfully with the help of HTTPFilterRegistry (net.rim.device.api.io.http.HttpFilterRegistry).

    An example of the same project is available in the samples of BlackBerry in the Eclipse IDE (HttpFilterDemo).

  • Invoking the application of a midlet blackberry email client.

    Hi guys, I am trying to invoke the blackberry native E-mail application, trying to do until now I'm able to view email compose screen and the data filled in, but my problem is after he gets invoked from in my application it never get all events, as I can not kick it, the BlackBerry shortcut menu does not appear the menu only one that works is the menu that appears by pressing the keys (trackball).

    All events, including the characters of that type in the body of the message i don't get it.

    Please help me.

    what I have done until now is the following:

     net.rim.device.api.system.Application.getApplication().invokeLater(new Runnable()
                {
                    public void run() {
                        MessageArguments mArgs = new MessageArguments                                          (MessageArguments.ARG_NEW,to,msubject, mbody);
                        Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, mArgs);
    
                    }
                });
    

    with the code above in invokeLater, I even tried without invokeLater but in vain.

    my scenario is a user clicks an option in the menu contextual app Feeback Email application opens and with the preset values user can edit too with his comments.

    Thank you

    JH

    Thanks guys, but now I found the solution for my problem mentioned above.

    the issue was with event management, even if my app was painted with screen e-mail editor events received to my main application screens, so I put control of all handlers on the current active form.

      public boolean checkActiveScreen()
       {
           net.rim.device.api.ui.Screen scr = net.rim.device.api.ui.UiApplication.getUiApplication().getActiveScreen();
           net.rim.device.api.ui.Field f = scr.getFieldWithFocus();
           if(null != f)
           {
               return false;
           }
             if (scr instanceof net.rim.device.api.ui.container.FullScreen)
            {
                return false;
            }
            else if(scr instanceof net.rim.device.api.ui.container.MainScreen)
            {
                return false;
            }
            else if(scr instanceof net.rim.device.api.ui.container.PopupScreen)
            {
                return false;
            }
    
           return true;
       }
    

    If the function above has solved my case.

  • Trying to install flash player. get the application single instance message can only rub, but it happened 2/3 days. Help?

    I tried to install Flash Player, but get the message that can only run one instance of the application. Have tried various things but not just anywhere.

    If anyone can help? Thank you.

    This error appears after completing the download and launch the installation file? If so, you may have to restart Windows. Sometimes the installer of Windows accumulates a delay in changes and stops working correctly until you restart the computer and let to clear its queue.

  • How to invoke the application of another background application?

    I created two applications.

    first application is listening push msgs and prompt user if no msg happens.
    If the user wants to launch second app, it should be called.

    Is it possible to invoke an application from different applications? can you please tell me how I can do this?

    Thank you

    Gunjan

    ApplicationManager launch allows you to run another application.

  • invoking the application/Gallery bb10 webworks app camera app

    Hello

    in my application that is based on its targeted and webworks for Blackberry10 OS, how to invoke enforcement camera and Gallery.

    can I somehow call it using blackberry.invoke.invoke api pointing to the camera or a gallery, please let me know.

    You can use the invoke of verification on the next page for more details:

    -Camera: https://developer.blackberry.com/html5/documentation/camera.html

    -Gallery: it's a little more complicated, but you can usually call it through the target of the application as follows:

    -action: 'bb.action.OPEN', target: 'sys.pictures.app '.

    If you wish, you can use the card for the camera as defined here:

    - blackberry.invoke.card.invokeCamera

    - https://developer.blackberry.com/html5/apis/blackberry.invoke.card.html

  • Invoke the application via a custom protocol URL browser

    With the new breed of OAuth2 API such as Pocket there is now more and more need for apps complement the OAuth2 flow in default browser OS outside the Application. It also means that once the Auth process is complete, there must be a way to invoke app or pass data to browser application via redirect URL.

    Currently it seems achievable on platforms like android by registering a custom for an application URL protocol handler. This way browser can use redirection what custom URL with a Protocol and application would be invoked via redirects and the address bar of the browser.

    I see that current invocation framework supports the URI patterns but I can't make it work, can someone point me to any example of code that allows the invocation of application via browser?

    This sample project should show you what files are used for oauth2 https://github.com/kylefowler/foursquare

  • Invoke the application using the link

    Hi all, I'm calling my application for the bb.action.VIEW and bb.action.OPEN actions using uri with custom file extension (file:// scheme) by sending the same app on another device uri, in this process after acceptance and download I am able to perform the invocation.  But I wanted to send a link in the form of uri, by clicking on it, he'll call the application, is there is no way to do this.

    If I understand your usecase, I think this will help.
    https://developer.BlackBerry.com/native/documentation/Cascades/device_platform/invocation/active_tex...

    If not, please provide details.

  • Problem with invoking the Application Messages

    Hello

    I'm testing an application that adds an element of application menu in the list of messages and when clicked, displays just the old content and beneficiaries on the screen 'Compose Email'.

    That's what I did.

    public Object run(Object in_objContext)
    {
       if(in_objContext instanceof Message)
       {
        Message msgOrig = (Message)in_objContext;
        try
        {
            Message msgNew = msgOrig.reply(true,true);
    
            Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES,
                new MessageArguments(msgNew));
    
        }catch(Exception e){}
       }
       return null;
    }
    

    The problem is, there is no "Send" command in the context menu.

    Can someone help me?

    I can confirm that, but you're probably referring to my post on the other forum anyway.

    What you will find (if the memories are good) is that a message created with the Message.reply () function object doesn't have a 'Send' menu item when the envoys to the Messages app.

    However, I think you will find that the method of 'memory' works.

    What we ended up doing are creating our own processing of the Message object to generate a response object.

  • Invoking the Application Permissions page?

    I've got access_shared + read_device_identifying_information permissions in my application

    I do a check at startup

    if(!blackberry.system.hasPermission("access_shared")) {
      // Output a message to the user
    
      // Close app button
      }
    

    This essentially shows the user a screen explaining the permission denied the app stops and tells them how to turn it on

    At this point, the only option that has the app is closed

    It would be better that I could add another choice for the user who opens the Permission request, ideally with this MyApp, so they can allow the permission required is as they wish

    I kniow there are a LOT of undocumented invoke / map "things you can do" but cannot work on special demand for it

    As required for B4BB this is a recipe that is useful for any developer WW Cookbook

    Looks like you can not go as far as you want to, but you can get close enough:

    https://developer.BlackBerry.com/HTML5/documentation/settings.html

  • "Read" notice on the application of instant messaging, a question?

    IM Apple allows you to send a notice as a snapshot message was 'delivered '. I understand what it means. Recently, the opinion has changed to 'read '. I do not understand how the IM application knows whether or not the message has been read. I usually leave my IM window open when I use this app. It is therefore impossible to know whether or not I've read a message. I guess that more than others to do this. So that the 'read' notice means?

    Messages has an option in the preferences/Messages/accounts, which allows the recipient to send read receipts.

  • Cannot invoke the application from HP to the Macbook 10.6.8

    My macbook 10.6.8 with HP Officejet 4500 wireless: I can't open "HP Scan" application successfully. the errors listed below

    ---------------------------------------------------------------------------------------

    Process: HP Scan [1814]
    Path: Applications/Hewlett-Packard/HP Scan.app/Contents/MacOS/HP Scan
    ID: com.hp.scan.app
    Version:? (???)
    Code type: X 86 (native)
    Parent process: launchd [147]

    Date/time: 2014-02-09 15:20:52.077-0500
    OS version: Mac OS X 10.6.8 (10 K 549)
    Report Version: 6

    Interval since last report: 5505 sec
    Crashes since last report: 13
    Per-App crashes since last report: 12
    Anonymous UUID: 72CF88B5-8E62-4CE6-AC3E-74287962E463

    Exception type: EXC_BREAKPOINT (SIGTRAP)
    Exception codes: 0 x 0000000000000002, 0 x 0000000000000000
    Crashed thread: 0

    Dyld error message:
    Library not loaded: /Library/Printers/hp/Frameworks/HPWorkflowsManager.framework/Versions/A/HPWorkflowsManager
    Referenced from: Scan.app/Contents/MacOS/HP Applications/Hewlett-Packard/HP Scan
    Reason: image not found

    Binary images:
    0x8fe00000 - 0x8fe4163b dyld 132.1 (?) <4CDE4F04-0DD6-224E-ACE5-3C06E169A801>/usr/lib/dyld

    Model: MacBook2, 1, MB21.00A5.B07 of BootROM, 2 processors, Intel Core 2 Duo, 2 GHz, 2 GB, MSC 1.13f3
    Graphics card: Intel GMA 950, GMA 950, built-in, spdisplays_integrated_vram
    Memory module: global_name
    Airport: AirPort Extreme, Atheros 5416: 2.1.14.6
    Bluetooth: Version 2.4.5f3, 2 service, 12 aircraft, 1 incoming serial ports
    Network service: Airport, AirPort, en1
    Serial ATA Device: TOSHIBA MK1234GSX, 111,79 GB
    Parallel ATA Device: MAST * beep * ADVD - R UJ - 857D
    USB device: Built-in ISight, 0x05ac (Apple Inc.), 0 x 8501, 0xfd400000 / 2
    USB device: Receiver IR, 0x05ac (Apple Inc.), 0 x 8240, 0x5d200000 / 2
    USB device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0 x 8205, 0x7d100000 / 2
    USB device: Apple keyboard / Trackpad, 0x05ac (Apple Inc.), 0x021a, 0x1d200000 / 3
    USB device: USB receiver, 0x046d (Logitech Inc.), 0xc51b, 0x1d100000 / 2

    Hi sunnyday123,

    Welcome to the HP Support forums.  I understand that you have recently met with a problem when you try to scan from your MacBook running Mac OS X 10.6.8 to your Officejet 4500 wireless.

    I've included a troubleshooting document for when you receive a Communication error between the Scanner and your Mac.  He detailed the steps to follow.

  • failure of the application send a message, so I cancelled and now he usually open to all

    mail that I have used for months nothing opens. This occurred after an email with photo attachments could not send .it was very time consuming. If that fails, I canceled it in the option box. now by clicking on the icon of mail does not work

    Thank you

    You have restarted your computer (off since power)

  • Invoke the application mail with built-in BCC fields?

    Is this possible and if so how - because you can predefine the subject, fields of body, but I am interested in the BCC

    Hello dx22,.

    Currently, it is not supported to fill the BCC field programmatically.

    Erik Oros

    BlackBerry Development Advisor

  • How to invoke the basic application of e-mail that sending emails to multiple receivers?

    Hello world:

    I want to call the application of basic messaging to send email to multiple(>3) receptors, but how to write the uri?

    both receivers of document see the e-mail addresses:

    mailto:[email protected][email protected]
    

    It's ok, it can be analysed at '[email protected]' and '[email protected]', but how do you send email of 3 or 4 addresses?

    There is another question: how to write the json type in 'QVariantMap '?

    {
      "to" : ["[email protected]", "[email protected]"],
      "from" : 1234,
      "cc" : ["[email protected]", "[email protected]"],
      "bcc" : ["[email protected]", "[email protected]"],
      "subject" : "Some punctuation. Symbol in the $ubject!!",
      "body" : "HI! Here is some more stuff.\n\n14% of emails have #1 newline or
    stuff* @ home.\n",
      "attachment" : ["file:///path/to/my/item.txt"]
    }
    

    Thank you very much!

    Thanks much alopix!

    mailto:[email protected][email protected][email protected]
    

    It works very well.   Thank you once again!

    But for the QVariantMap, I try like this, it doesn't work yet! Help, please!

        bb::system::InvokeManager m_invokeManager;
        bb::system::InvokeRequest m_request;
    
        m_request.setTarget("sys.pim.uib.email.hybridcomposer");
    
        m_request.setAction("bb.action.COMPOSE");
    
        m_request.setMimeType("message/rfc822");
    
        //m_request.setUri("mailto:"+email);
    
        QVariantMap map;
        map.insert("to", QVariantList() << "[email protected]" << "[email protected]");    // required
    
        QByteArray requestData = PpsObject::encode(map, NULL);
    
        m_request.setData(requestData);
    
        const InvokeReply *reply = m_invokeManager.invoke(m_request);
        if (reply) {
            // Ensure that processInvokeReply() is called when the invocation has finished
            //QObject::connect(reply, SIGNAL(finished()), this, SLOT(processInvokeReply()));
        } else {
    //      QString m_errorMessage = tr("Invoke Failed! InvokeReply is empty.");
            //emit errorMessageChanged();
            return;
        }
    

Maybe you are looking for

  • Satellite 1900-303: does anyone know the plug of HARD drive

    Hard drive crashed... anyone know the spec of the HD in a Sat 1900 303... His hard drive a 30 GB but just need more in detail to give the data recovery company. Woman in a panic because she is a classic home user and never save anything...

  • alarms

    first things first - I a (Christmas gift) Moto G (1st generation) w / 4G LTE for which I could not find a forum, I hope this is the right... my login screen says I have an alarm call sat 0900, but when I search the home screen > clock > alarm it said

  • Want 4524: Impossible to install the software

    Hello I recently acquired the HP Envy 4524 printer, I have set up on my WiFi network and printed from my iPhone and iPad with AirPrint and even printed my Mac using the printer set up as a printer AirPrint.  I would like to install the driver of HP p

  • Scanner on HP Envy 114 not recognized by IMac (Mavericks)

    Our IMac (running the Mavericks) allows to work very well with our all in one HP Envy 114.  Now the scanner even not present in "printers and scanners" and I can't scan even if it prints very well.  Some advice for me?

  • Windows Messaging is unexpectedly removal of e-mails that have been opened

    Problem with Windows Mail.  It deletes the e-mails that were opened after the program is closed.  When I reopen it Windows Mail recent emails have been deleted and can't be found. What started this problem was that I right click spam, went in spam an