blackberry.ui.dialog.dateTimeAsync on BB 10 webworks

is there no equivalent to blackberry.ui.dialog.dateTimeAsync of BB5 and more BB10 webworks 1.0?

I need to display a dialog box that displays a look and feel native UI of a date picker

Thanks in advance

You can use the elements entry standard HTML5 with date, datetime, datetime-local, or months to get a native look-and-feel for the user picker.

https://developer.BlackBerry.com/HTML5/documentation/gold/html_input_types_1247751_11.html

Unfortunately this does not a programmatic way to the invocation of the selector. Manually, the user must click on the control to bring up the dialog box.

There are a few native APIs that could potentially access a custom extension:

https://developer.BlackBerry.com/native/reference/Cascades/bb__cascades__datetimepicker.html

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry WebWorks Packager

    Hello

    I am interested in how to do package a webworks project and can't seem to understand it and was hoping to get help.

    -This is for smartphones using the new HTML5 Webworks kit.

    -J' installed ripple (v 0.9.0.11)

    -J' I installed SDK WebWorks (link to the new site): this is BlackBerry WebWorks SDK 2.2.0.15

    and installed under C:\Program Research In Motion\BlackBerry WebWorks SDK 2.2.0.15

    On the new site, it mentions that the default path is C:\Program Research In Motion\BlackBerry WebWorks Packager\.

    https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_getting_started/creating_an_app_1885567_1...

    I'm going to assume the instructions are wrong (?) and the correct path (default)

    C:\Program search in Motion\BlackBerry WebWorks SDK 2.2.0.15

    If this is not bad, where can I find this new package manager? Link the site points to BlackBerry WebWorks SDK 2.2.0.15 which installs the path above.

    So assuming that isn't true, that I tried to correct the path in the settings of the ripple to

    C:\Program search in Motion\BlackBerry WebWorks SDK 2.2.0.15

    It gave me an error

    Oh, Snap! Build request failed with the message: [ERROR] feature is not found in any extention (blackberry.ui)

    All I'm doing at this point is get the sample application to run. No changes at all.

    Hoping someone can help. I'm testing my application in car and wrap it up, but just spend hours 3 recent trying just a demo application package.

    Hi raj786,

    Thank you for pointing out the error in the documentation, we have people working on it. The docs make reference to the OLD default path before the latest SDK.

    I don't think that there is a function "blackberry.ui". I believe that the only relevant are blackberry.ui.dialog and blackberry.ui.menu.Can please, you post your config.xml so I can check its correct?

  • How to change the title for the alert box using javascript in Blackberry Z10?

    Hi all

    I developed 10 Blackberry webworks using the emulator to ripple and Blackberry Webworks SDK 1.0.4.11.In I use box alert and drop-down list in Javascript... When you use those Blackberry Z10... It displays the title for the alert "JavaScript Confirm" box and the "Select"dropdown list... So I want to change the title for these controls. Please me... Thanks in advance...

    Kind regards

    Marimuthu_P

    Alerts are native OS controls and you can not change the titles.

    You can use the WebWorks dialog API to create custom if dialog boxes:
    https://developer.BlackBerry.com/HTML5/APIs/beta/BlackBerry.UI.dialog.html

  • Could not find the feature with Id: blackberry.invoke.message arguments

    Hi, I am using the message application, while the building, I have an error to BB 10 WebWorks SDK

    failed to find the feature with Id : blackberry.invoke.message arguments
    

    This is supported in this beta version of the SDK, simiarly there are also some features that are not available with this beta SDK release. Where can I find abt it.

    Concerning

    Rakesh Shankar.P

    The blackberry.invoke.messages API is not currently supported in the BB10 WebWorks SDK BETA.

    At the time of writing, the following APIs are currently supported in the BETA release:

    • BlackBerry.Connection
    • BlackBerry.Event
    • BlackBerry.Identity
    • BlackBerry.Invoke
    • BlackBerry.app
    • BlackBerry.System
    • BlackBerry.UI.Dialog

    For the complete list and to update the supported APIs, see the WebWorks API reference guide

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

  • BlackBerry notifications.

    Hello everyone.

    We want to know if there are notifications that produce a popup / popup with text on the BlackBerry smartphone.

    If possible, tell me how to make them. (Tutorial, guide,...).

    Thank you, best regards.

    Yes, WebWorks can run in the background and you can also have the application start in the background at start-up of the device and right after the installation.

    You can listen to for new data push:

    http://www.BlackBerry.com/developers/docs/WebWorks/API/BlackBerry.push.html

    And you can open a comprehensive dialogue when your application is in the background:

    http://www.BlackBerry.com/developers/docs/WebWorks/API/BlackBerry.UI.dialog.html

  • cordovaError in webworks 2.2

    Hi TeamBlackBerry,

    I found other topics taking this same issue, but none of them has been resolved so far.

    I'll clarify my work environment:

    -8.1 Windows x 64

    -JRE 1.7

    After I updated to 2.2 WebWorks, I get the following problem whenever I try to create a new project:

    {name: 'CordovaError', message: 'requirements check has failed :"}}

    I tried to reinstall the Java and Webworks but still facing the same prob :/

    Sorry for the double post.

    It seems that path in system variables has been replaced by java bin, which will remove the track system controls, while webworks depends on them.

    Please follow the instructions below:

    1. Open a command prompt
    2. Check the following variables are set correctly
      • WEBWORKS_HOME = / path/to/WEBWORKS_SDK, for example, WEBWORKS_HOME = C:\Program Files\BlackBerry\BB10 SDK 2.2.0.15 WebWorks
      • JAVA_HOME = / path / to / / installation of java, for example JAVA_HOME = C:\Program Files\java\jre7
    3. Define varialbes below:
      • Run the command (in one line): set Path = "C:\windows\system32; C:\Windows; C:\windows\System32\Wbem; C:\windows\System32\WindowsPowerShell\v1.0\;%JAVA_HOME%/bin;%WEBWORKS_HOME%;%WEBWORKS_HOME%/Cordova-blackberry\bin\dependencies\bb-tools\bin ".
    4. Check path settings:
      • Run the command below in the command prompt:
        • Java-version
        • WebWorks - v
    5. Create a project webworks to check if it works well
    • WebWorks create ProjetTest

    If it works in command line, open system-> Addvanced Control Panel-> Advanced-> Environment Variables,

    1. Add the path = c: Windows system32; C:\Windows; C:\windows\System32\Wbem; C:\windows\System32\WindowsPowerShell\v1.0\ in the System varialbes
    2. Add Path=%JAVA_HOME%/bin;%WEBWORKS_HOME%;%WEBWORKS_HOME%/cordova-blackberry\bin\dependencies\bb-tools\bin in the user variables
  • Yes/No startup dialog box should stop the process of launchign the app

    Hi all

    I admit, I posted this question already and gave a lot of code examples on StackOverflow here:

    http://StackOverflow.com/questions/10620605/BlackBerry-show-dialog-on-startup-and-wait-until-dialog-...

    But I also read of strange peter here:

    http://supportforums.BlackBerry.com/T5/Java-development/sample-quot-Please-wait-quot-screen-part-1/t...

    The two did not help. Because I really need help with this, I hope you will forgive the Crossposting. I commit to provide the solution on both platforms, as soon as I have a.

    In short, what I'm trying to do is to have a YES / NO dialog at the start of the application. The renewed start-up must be stopped until the user clicks Yes or no. If he clicks on Yes a method must be called and after the method has been completely transformed, startup should continue.

    Thank you very much.

    Dinakel

    no need for a global screen, that the application is in the foreground.
    Just use pushModalScreen or Dialog.ask or similar.

  • WebWorks BB10 build error.

    EDIT: I have the same problem using the following command line (IE without ripple):

    bbwp v:\first\out\morfGPS.zip-d so that I presume that there are no associated ripple (edited title).

    [BlackBerry 10 SDK 1.0.0.15 WebWorks]

    When I build my application with ripple, I get the following error in the console:

    Could not find the feature with id: blackberry.system.event

    I have read the FAQ of PB and learned I have to respect in the strokes and then added hirachy before the .

    Still no luck... any idea?

    PS: the "" is present in the BBui.js documentation, especially why it is in mine. Thought it was necessary...

    
        http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0.0" rim:header="MorfGPS" id="SuperMorf">
        MorfGPS
        blah GPS and utilities App
        Antoine (Superfly_FR)
        
        
    
        
            
        
        
    
        
        
        
        
    
    
    


    Events for BB10 are managed differently.

    Add events with blackberry.event.addEventListener.
    The events are in different areas.

    You need not add blackberry.app.events to the config.xml file. Add/removeEventListener are always available.

    (personal note: so goes for blackberry.app.event if you refer to my above config.xml file)

    However, you do not have to add a feature that contains the actual event you want to play.

    Thanks to Ken Wallis.

  • Survey NULL exception dialog box

    function promptEditSave(){
        try {
            blackberry.ui.dialog.standardAskAsync("Continue without saving?", blackberry.ui.dialog.D_SAVE, editSavePromptCallBack(), {title : "Save changes?", size: blackberry.ui.dialog.SIZE_MEDIUM, position : blackberry.ui.dialog.CENTER});
        }catch (e) {
            alert("Exception in: " + e);
        }
    }
    

    For some reason every time I call promptEditSave(); I get this error try/catch: "Exception in: null"

    Now ripple is not throwing any errors, but when testing on a device of 9700 OS6 error is thrown...

    What I'm doing wrong?

    Hi, the only thing that seems to stand out for me is where you set your reminder.  Can you remove the "()" and make it look like this:

    ... ("Continue without saving?", blackberry.ui.dialog.D_SAVE, editSavePromptCallBack, {title : "Save changes?" ...
    
  • Problems with Knockoutjs & webworks?

    I have a piece I've been debugging for the whole weekend and I just can't understand what is wrong with it. As far as I can see everything is as it should be. The HTML code I have is

    div class = 'networkItem' x-blackberry-Focus='true'=onmouseover "this.style.backgroundColor ='#444444 '; '=onmouseout" this.style.backgroundColor =' #010101 ";

    x onUp-blackberry-=' netNavUp ($index ()) ' x-blackberry-onDown=' netNavDown ($index ()).

    bind data = ' click: changeNetwork.bind ($data, no()), attr: {'id': 'nIf' + $index ()} ">".

    It is part of a foreach knockoutjs model. $index () is the index number 0 -? list

    the attr section creates an ID of this item to the nli0 format, nli1, nli2 etc. depends on County look.

    I can inspect the HTML code that it creates in the debugger chome and IDS are set correctly. And I suppose, at this stage, which is irrelevant in any case, as I have commented little bits in the code that woud use anyway. It seems that the call to netNavUP and netNavDown are causeing the exception.

    My js code is as follows:-

    function netNavDown ()tmp( )

    {

    goID var ="";

    blackberry.ui.dialog.standardAskAsync ("to:" + goID, blackberry.ui.dialog.D_OK, tmp);

    tmp ++;

        if (tmp is appViewArray.network.length)

    {

    goID = "nliEnd";

    }

    on the other

    {

    goID = "NIF" + tmp.toString ()";

    }

    blackberry.focus.setFocus (goID);

    }

    As you can see the standardAskAync should give me some information, but never gets fired. No, I know it's asynchronous if she fell into the code. That's why I removed the call to set the focus. So indeed it would fulfil this function and return control to the html code.

    The error I get in the Simulator is - App error 104 - Eception RuntimeException

    I tried to lose the $index () and replace it with a number directly I can see if that was the problem, but no, I still get exactly the same error. Then there is a problem with X-blackberry-onDown? and onUp than also causes the crash. Note that I use navigation everywhere else without too much problem, but it's the only place where I "force" of a specific focal point, setting the focus is also not a problem I put emphasis in the code when it starts first, and that works. The fixed focus is commented, so it hangs a little on the call of the function as the first line of the function is an alert (of sorts)

    I solved this by sending not anything to the function, but rather when I get to the function to get the item currently developed. not the best solution, but it works.

    var id = blackberry.focus.getFocus ();

  • Dialog API doesn't return a value on DevAlpha

    Hi, Im implementation of customAskAsync with the D_YES_NO button. I'm warning index in dialogCallBack (index) or not click on the dialog box. When I test with ripple on Chrome, I get the correct values. When I package and test on DevAlpha, I don't get all the values returned. In the alert, all I get is [object Object], which is returned? I simplified the code below.

    function confirmationDialogPurge(message, dialogTitle) {
        try {
            blackberry.ui.dialog.standardAskAsync(message,
                blackberry.ui.dialog.D_YES_NO, confirmationPurgeTable, {
                title : dialogTitle,
                size : blackberry.ui.dialog.SIZE_LARGE,
                position : blackberry.ui.dialog.CENTER
            });
        } catch (e) {
            alert("Exception in standardDialog: " + e);
        }
    }
    function confirmationPurgeTable(index){
        alert(index);
    }
    

    Sorry, I'm wrong.

    It works, BUT it returns an object.

    Object {return: "Yes"}
    

    So, you'll want to use something like this in your callback function

    function confirmationPurgeTable(index){
       var button = index.return;
    }
    
  • WebWorks Javascript can be disabled at the Corporate level?

    I have a 'company' BlackBerry that I loaded some sample applications WebWorks on and it seems that the javascript in the application does not run.

    I know that the "Enable JavaScript" option for the web browser is disabled and locked (at the level of the enterprise).

    This browser setting affects the WebWorks applications?

    Is there another setting that would disable JavaScript to run in an application WebWorks?

    Thank you...

    Yes, the setting of it strategy to disable JavaScript in the browser also affects applications WebWorks.

  • Failed to get the api webworks to work

    Now that I've managed to being able to push an app smal to my playbook in developer mode, I wanted to start workign via the API, but I'm new to a stand still.

    I get the same error when you use ripple and my playbook.

    Exception in colorPickerAsync: TypeError: 'undefined' is not a function (evaluation "blackberry.ui.dialog.colorPickerAsync (" 000000 ", onColorSelected) ')

    My config.xml file has these entires in them.




    Any idea would be quite apperciated.

    Dave.

    Please see the 'supported platform Table view' at the top of the dialog API page.  colorPickerAsync is available for the Smartphone SDK, but is not supported by waving or Tablet OS:

    https://bdsc.webapps.BlackBerry.com/HTML5/APIs/BlackBerry.UI.dialog.html

  • WebWorks for BB 8820?

    Can I develop applications for BB 8820 v. 4.5.0.187 Webworks (Platform 2.7.0.109)?

    I developed an application, compiled by Webworks and got .jax successfully and .cod files.

    I downloaded the BB desktop successfully.

    When tried to install - is well started, numbers were incerasing, then stopped and has NOT installed. No error, no warrning or phone, or on the BB Desktop. I remains to BB Desktop as not installed, I can choose for installation and the action is repeated with the same result.

    I can install other applications downloaded by BB Desktop - it works.

    I found no specification of Webworks: operating system support.

    All opinions are appreciated. Thank you.

    The oldest OS supporting WebWorks is BlackBerry 5.0.  The reason why WebWorks uses a WebView (named "BrowserField") which was introduced in this version of the operating system.

  • Local notification BBOS

    I develop an application for BBos 6 & 7 using web works.

    I want to generate local notification.

    Can I use notification location html5?

    Please help me.

    Thanks in advance.

    HTML5 geolocation is available on BBOS.
    https://developer.BlackBerry.com/BBOS/HTML5/APIs/Navigator.Geolocation.html

    However the Inbox notifications are not available via WebWorks:

    We support alerts and custom dialog boxes, but not on BBOS Toasts:
    https://developer.BlackBerry.com/BBOS/HTML5/APIs/BlackBerry.UI.dialog.html

    If you want to display notifications on the message on BBOS hub, you will need to use a custom Java extension. One has been developed here for the MessageList:
    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/Smartphone/MessageList

    Some native samples for information about the API that can be useful here:
    - https://developer.blackberry.com/bbos/java/documentation/int_notifications_1988898_11.html
    - https://developer.blackberry.com/bbos/java/documentation/custom_messages_1984779_11.html
    - http://www.blackberry.com/developers/docs/6.0.0api/net/rim/blackberry/api/messagelist/ApplicationMes...

Maybe you are looking for

  • Irregular disk space

    Hello I wanted to check how much free space I have on my mbp 13 retina (mid-2015) ssd. The system says I 217 free Go (on 251), while showing that applications use 123 Go. Here is the screenshot: Any idea on what is happening?

  • Uninstall quicktime

    How to uninstall Quicktime of an iMac?

  • All my work on usb processor does not open.

    USB All my work on usb processor does not open and the window instructions says it could have been changed or moved, but have not changed or moved files and folders become EmailXtender.  Please help find the files as important documents and letters a

  • S IPhone 4 cannot connect to protected Net PW

    I just installed my Linksys E1000 and it seems really easy. I allow comments, named the network and put in a password system. When I try to connect the phone, I get the screen on the phone requesting the PW. I can log in as a guest, but he connects w

  • Can I restore photo folders after being re-named errors in?

    I renamed a folder picture may 2015 but unfortunately I did something, and every folder in my library was changed in may 2015. Is it possible that I can cancel this error and restore all my files to their original months and years?