HTML 5 Webworks Notifications

How or rather, I was wondering if it would be possible to show a notification icon on the home screen of the blackberry, as you work with HTML 5. I know it can be done in the java runtime environment, but I'm not sure HTML 5. If anyone has any information on the question of whether this is possible, any information would be helpful. Thanks in advance.

Indeed. You can use the API of Community origin: https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/notification for full custom notifications and the native showBannerIndicator show a small icon with a number in the Ribbon: https://bdsc.webapps.blackberry.com/html5/apis/blackberry.app.html#.showBannerIndicator

For those who make it clickable in the message list, use the API of Community origin: https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/MessageList

Tags: BlackBerry Developers

Similar Questions

  • How can I create photo recovery with Html 5 Webworks?

    How can I create photo recovery with Html 5 Webworks? Please answer me

    Hello

    We have the developer Micro Web camera API documentation available on: https://developer.blackberry.com/html5/apis/blackberry.invoke.card.html#.invokeCamera

  • HTML in formatting notifications

    Hello
    I have some difficulties to display html in the notifications, I send, they are only displayed as tags for formatting rather than take effect.
    My preferences are to receive messages in html format.

    My code first gets the text of a message;
    Code:
    Fnd_Message.set_Name ("BY", 'XX_HR_LEAVERS_NTF_BODY');
    -Fnd_Message.SET_TOKEN ('MGR_NAME', NVL (l_pos_holder_first_name, r_new_starters.mgr_pref_name));
    Fnd_Message.SET_TOKEN ('EMP_NO', r_leavers.employee_number);
    Fnd_Message.SET_TOKEN ('EMP_NAME', r_leavers.full_name);
    l_msg_body: = Fnd_Message.get;
    --
    --
    l_msg_html: = l_msg_body;

    It then calls a procedure to send the notification: -.
    Code:
    FUNCTION send_html_ntf_fn
    (p_user_name in VARCHAR2
    p_subject IN VARCHAR2
    p_html_body IN VARCHAR2 DEFAULT NULL
    p_from_role IN VARCHAR2 DEFAULT NULL
    p_cc_role IN VARCHAR2 DEFAULT NULL
    p_bcc_role IN VARCHAR2 DEFAULT NULL
    )
    RETURN NUMBER
    IS
    PRAGMA autonomous_transaction;
    l_message_type wf_messages. TYPE % TYPE;
    l_message_name wf_messages.name%TYPE: = "XX_HR_GEN_HTML_MSG";
    l_nid NUMBER;
    BEGIN
    --
    l_message_type: = 'XX_HR ';
    l_nid: = Wf_Notification.Send (UPPER (p_user_name)
    l_message_type
    l_message_name
    );
    --
    IF (p_subject IS NOT NULL)
    THEN
    Wf_Notification.setAttrText (l_nid, 'SUBJECT', p_subject);
    END IF;
    --
    IF (p_html_body IS NOT NULL)
    THEN
    irc_notification_helper_pkg.set_v2_attributes
    (p_wf_attribute_value = > p_html_body)
    , p_wf_attribute_name = > 'HTML_BODY '.
    p_nid = > l_nid);
    END IF;
    --
    --
    Wf_Notification.denormalize_notification (l_nid);
    COMMIT;
    --
    RETURN l_nid;
    --
    END send_html_ntf_fn;



    I also have this procedure in my package: -.
    Code:
    procedure get_doc_attribute_prc (document_id in VARCHAR2
    display_type IN VARCHAR2,
    document IN OUT NOCOPY VARCHAR2
    document_type IN OUT NOCOPY VARCHAR2) IS
    BEGIN
    Document: = document_id;
    END get_doc_attribute_prc;

    I have a XX_HR workflow item type and a XX_HR_GEN_HTML_MSG message. Under that, I have a HTML_BODY_1 attribute as text and HTML_DOCUMENT_1 type as the type of document with the value as plsql:xxwg_hr_notifications_pkg.get_doc_attribute_prc / & HTML_BODY_1.


    I can send notifications of text very well but want to be able to send notifications to the html format.
    Can someone give me information where I could be going wrong or let me know in a different way to address the issue?

    Thank you
    Dan

    on the message, there are 2 text of tabs and html are you referring the attribute & HTML_DOCUMENT_1 on the html tab?

    -Tom

  • HTML 5 WebWorks Installation

    I installed Blackberry Webworks 2.2.015 of HTML 5. When I open it in menu start all I get is the command prompt.

    Any advice on why it does not open?

    I managed to do it open in my browser.

    Thank you!

  • WebWorks Notification Star stuck

    I use notifications HTML5 of documentation, like this:

    var n = new Notification("Hello", {body: "Bla"});
    

    When the user clicks on the notification in the Universal Inbox, notification of unread and everything changes but the app allows you to keep the notification star on the active Frame & icon!

    I tried this:

    n.close();
    

    But notice star just won't go away! Help!

    I upgraded to 10.1 of the overnight, the Notification Star disappears when you open the notification in the universal inbox.

    So I don't have to do anything in my code?

  • HTML content sharing - the context of Invocation and Facebook

    Hi all

    I would like to share content to Facebook HTML using Webworks and the framework of the call. No problem with a text/plain content, but I need something more... do you know guys if it's feasible or not?

    I saw no examples on this subject or on the official documentation on Git...

    Thank you very much

    -marco

    Thank you, good

    If it is not currently possible with the framework to invoke. You can share either text or an image. Not both at the same time.

    The only solution I know is to manage sharing using OAuth. It's just a little more work to use the invoke framework but will work. We have posted examples to use OAuth for Twitter and Facebook that would probably be a huge help in this case.

    https://github.com/BlackBerry/BB10-WebWorks-samples/tree/WebWorks-2.0

  • HTML 5 API PAYMENT for subscriptions applications

    Hi all

    I would like to know if someone has already used the HTML 5 webworks payment or API purchase to validate payment of the weekly or monthly subscriptions for applications that fall under this scheme. If someone was able to useit; Can you be so kind and provide examples and pointers.

    Basically, what I want to know how to use this API to the status of payments; or the user as active or canceled status and allow or refuse entry to goods that are defined in the application.

    Thanks in advance for the answers.

    Oops, sorry, I copied the link, but I forgot to paste

    https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.payment.html

    https://developer.BlackBerry.com/HTML5/APIs/purchase.html

    see you soon

  • How in Simulator bb10 take screenshots of tested App?

    How in Simulator bb10 [VM PLAYER] take screenshots of tested App?

    location needed to use the maps, how to add my application accepted after the active GPS?

    You can take a screenshot of your desktop by using print screen of most of the keyboards; There are a number of tools out there (Greenshot, etc) that will allow you to take screenshots of specific regions of the screen.

    Note that pressing ALT + print screen will take a screenshot of the active window, so you don't need to make as many culture if the Simulator has the focus.

    EDIT: On the Simulator, you shouldn't need additional permissions to access the GPS. However for live devices, you need to include as appropriate <> ermit > fields.

    WebWorks 1.0: https://developer.blackberry.com/html5/documentation/gold/rim_permit_element.html

    WebWorks 2.0: https://developer.blackberry.com/html5/documentation/beta/rim_permit_element.html

  • BlackBerry 10 using Java application development

    Is there anything Java based IDE available for development BlackBerry10...?

    For BB10 phones, your options are:

    C++ with waterfalls

    C++ and other toolkits

    HTML 5 (Webworks, Gap etc.)

    Adobe Air

    Android

    If you want to really really Java, then I think you wil have a FMV of port!  Sounds like fun, if you have a spare of 6 months or more.

  • WebWorks is made from a non index.html / javascript

    Hello

    I tried to create a webworks app that relies mainly on the coast server. This means that my

    points to

    Now, if I run a script on a local html javascript, I get the entire webworks library to work properly.

    If I try with my application on the side server, cordova.js works but all the blackberry.xx (blackberry.io.shared in my case) api not working and going out as undefined. Is it possible to load webwoks from a remote script?

    My access is:

    I also have permissions defined rim

    access_shared

    Thank you

    Al

    Ok.. I spent a lot of time to test the various features...

    Now, as of March 23, 2015 with Blackberry 10.3.1 it is possible to start a Download / Upload in a Web view using stunts in designing an application using Momentic.

    The design is staright before examples available on GitHub https://github.com/blackberry/BES10-Cascades/tree/master/WebView

    Most of my code is located on the side Server and the Blackberry application becomes a simple interface to access.

  • External BB10 Webworks/Cordova opening HTML pages on the device: "this file is not found. Check the URL and try again. »

    Hello fellow people,.

    IM quite in my application of Cordova/Webworks which downloads and save an html file in the SD (blackberry.io.sharedFolder).

    At this point, the config.xml file is defined as:

    read_device_identifying_informationermit >

    access_sharedermit >

    ermissions >

    Now, I'm trying to open the downloaded html that is saved to file:

    /Accounts/1000/removable/SDCard/MainFolder/subfolder/file.html

    My webapp, I try to open as: window.open (path, _self);

    Where path is the file above (which exists on the device!)

    Path is also, with the blackberry.io.SharedFolder + "/ MainFolder/SubFolder/file.html".< of="" that="">

    Also, I get the error:

    This file is not found. Check the URL and try again. If the URL is correct, check that your card is correctly inserted on your device.

    I am running and development off the BB10 Simulator.

    The console does not throw any error that I see.

    Any help or advice would be appreciated.

    See you soon,.

    @varunasingh

    Well, this is awkward.

    I have myself fixed by adding the string: "file://" on my road.

    I hope that others see it until they are too uptight.

    This has been resolved. Thanks for reading.

  • Notification of transmission in webworks

    HII.,.

    I'm developing an application using jquery mobile (web works). It will really help if anyone can help with my doubt. Here it is the doubt, it is possible to use push notifications in app bb development using jquerymobile. Or if I need to use any plugin so that demand for push notification. ?

    No worries, yes my error, we were so focused on BB10. Here is a link to our docs that describe actually how to push:-https://developer.blackberry.com/html5/api/blackberry.push.html

    As you can see it is supported in BB OS5.0 +.

    -Erik

  • CEP Plugin: it notifies the C++ code html events?

    Hi all

    I'm new on CEP Plugin development architecture. I have a general query where I want to go forward according to the answer to my questions.

    (1) can I load a web page from server on CEP Plugin? (I would like to connect to my web site and need to know if I am connected or not http response).

    (2) events support CEP as a URL change on the Web page and send notifications?

    (3) provide the way to call the HTML page C++ functions? (where I'll do most of the operations and want to manage events such as when the click on html element)

    Thanks in advance,

    Hey,.

    in my opinion you need to divide CEP tampon() and extensions. The Plugin is the part of C++ using the SDK (somehow backend) and the Extension's user interface - of course you can do the same things here and there.

    (So the HTML extension can do everything you can do with HTML and JS - so, 1) and (2) actually.

    It is the CSInterface for the communication between the Extension and the Plugin, so you can send a notification HTML<->C++, pass it and make 3)

    concerning

    Patrick

  • LED of Notification for applications webworks

    Pls I want to know if there is no api for control has led using webworks, I tried to search, does not.

    Thank you

    This is the api: https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/LED

  • jQueryMobile and WebWorks - doesn't seem to work if the HTML generated from javascript


    First of all, I would like to try using jQuery since you have loaded in.

Maybe you are looking for

  • extensions.blocklist.Enabled; False

    extensions.blocklist.Enabled; Falseprevents the extensions that you install personally be disabled. If you have an a bad mozilla should rather provide a delete button for this particular plugin that performs the actions required to destroy. Why would

  • How to list the contents of the tree in a table

    I want to convert the contents of a tree control in the specific table.  No one helped me?

  • G4-1125dx

    Is there a separate for the g4-1125dx video card?  Or it's all about the motherboard?

  • Photosmart C410 will signal network offline / busy

    My operating system is 10.6 with a Macbook Pro using a Verizon router.  As I already posted the message I received was off-line and now it is showing this printer is busy, although nothing is being printed.

  • (Redirected) Reference Dell Enterprise Reporter

    I'm new on the Forum site.     We are currently testing the Dell Business Reporter tool.    I am a 10 month at a client project, and we have very specific needs, we strive to fill for the customer.    We would like to find someone to customize settin