HTML/javascript call ndk

I hope especially to use html/js develop my application.

but I prefer to assign certain intensive computing at ndk.

Just ask me, which language (java/c, c++) should I select?

Welcome to any comment

Hello

There are a few answers here.

If you plan to develop for BlackBerry 10, all native extensions that you do will be done in C/C++. https://developer.BlackBerry.com/HTML5/documentation/creating_extensions_for_bb10_apps.html

Example of model https://github.com/blackberry/WebWorks-Community-APIs/tree/master/BB10/TEMPLATE

If you want to target BlackBerry OS phones, then you can create Java extensions. https://developer.BlackBerry.com/HTML5/documentation/using_javascript_extensions_1866976_11.html

Example of model https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/TEMPLATE

Tags: BlackBerry Developers

Similar Questions

  • app calls html/javascript kernel written in c / c ++

    Wonder if I can use html/javascript to call core application written in c / c++.

    I hope to put some entensive of calculation for the module written in c / c ++

    Is this possible?

    Welcome to any comment

    Hello. WebWorks for BB10 extensions are on the road ahead, and for now, there is an example of how to write a native extension with a JS source that will be used to the WebWorks app. See the discussion on the extension BB10 WebWorks, I've referenced the example in there.

  • Flash, HTML javascript help!

    Hi all

    I have 50 different images on my server, the images are loaded into the flash. and also, I created an HTML page that I will use to show the images. Now in flash when the user clicks on a particular image, this image should be loaded into the HTML code we already have on the server.

    So I need to pass the name of flash to HTML to find the clicked image is displayed. I also want to hide the tool, the State... on the HTML toolbar.

    If it is possible to load the HTML on full screen, that will be great.

    Here, I did something...

    btnClipMc.addEventListener (MouseEvent.CLICK, onBtnClicked);

    var address: String = ("two.html");

    var URL_var:URLVariables = new URLVariables();

    function onBtnClicked(evt:MouseEvent):void

    {

    URL_var. Query = inpTxt.text;

    var jscommand:String = "window.open (" "+ address +" win ',' ',' toolbar = no, scrollbars = no, location = no, status = no, menubar = no. ' ");"

    urlReq:URLRequest = new URLRequest ("javascript:" + jscommand + "void (0);");

    urlReq.data = URL_var;

    navigateToURL (urlReq, "_self");

    }

    This displays an error message.

    Can you help me fix this script?

    I did...!

    variable that you want to switch to HTML

    imageName = "image_1".

    do the restrictions of html with query

    var address: String = "" largeView.html? query = "" + imageName;

    var jscommand:String = "window.open (" + address + "win ',' ',' width = 1100, height is 600, resizable = yes, toolbar = no, scrollbars = yes, location = no, status = no, menubar = no, left = 0, right = 0');";

    JS final to trigger the HTML code

    var jscommand:String = "window.open (" + address + "',' victory ',' width =" + finalWidth + ", height =" + finalHeight + ", toolbar = no, scrollbars = yes, location = no, status = no, menubar = no, left = 0, top = 0');";

    request URL

    var urlReq:URLRequest = new URLRequest ("javascript:" + jscommand + "void (0);");

    The HTML JS call

    navigateToURL (urlReq, "_self");

  • a button in any location javascript call?

    I know I can get a region key javascript call:
    (action when button clicked: redirect to url
    URL target: javascript:someFunction()
    but these options do not exist for the unimaginatively buttons.
    I need a button (or something similar in function iin wanted a job unimaginatively called javascript and no submission or such.)
    I just want the user to specify the operation of javascript should happen and did happen. The thing is that the button must be
    close to a certain point. He would ask in trouble for the button to be away at the top or bottom of the
    form.

    What are my choices?
    So my question is can I move a button to the region at an arbitrary location or how to get a
    unimaginatively button do the same things that can make a button in the region. I guess that the thing here I do not understand a thing
    is why the distinction between the area buttons and other buttons. What's the plan here?
    (it is not tabular form in 4.02)

    Create an html element, add a link, add a button image and add an onclick event that binds to a javascript function.

    Published by: Jonivdb on March-25-2011 07:13

  • 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.

  • Why make a 'met while loading HTML javascript error' when I insert a google map into indesign?

    In the past I have integrated a google map in my DPS projects very well. Now, I get this error "error while loading HTML javascript" how to solve this?

    Here's a thread on the InDesign forum where the issue has been resolved: Indesign HTML does not

  • Mix ADF Faces with HTML, JavaScript, CSS, JSTL question

    Dear all,

    The project is now starting to deploy to the production server. When we try to deploy to the production server who made a lot of mistake. As this used widely used project mix ADF faces with
    HTML/JavaScript/CSS/JSTL. I would like to know what are the most error when we have mixed to use each one and how can we overcome them there?
    There is in the project

    1 mix of tags html with ADF Faces components
    2. the use of JavaScript/CSS inline
    3. mix the JSF/ADF Faces and JSTL tags

    Help me how to address this issues as well as links to useful blog.

    JDeveloper IDE version: 11.1.1.5.0 with Webcenter
    WebLogic version: 10.3



    Best regards
    KT

    Published by: KT on May 16, 2013 21:23

    Hello

    In addition to this project widely used mixture ADF faces with HTML, JavaScript, CSS, JSTL.

    JavaScript, CSS, and JSTL is not a problem, whereas - according to the JSF version - HTML is. JSF 2 is the first version of the JSF, which allows you to mix HTML with less side effects, if you use Facelets as view declaration language.

    I would like to know what are the most error when we have mixed to use each one and how can we overcome them there?

    There is in the project

    + 1. mixture of html with ADF Faces components tags +.

    This could ruin your pages, lead to update issues and - in case of frequent use in the trees - even destroy the functionality

    + 2. online use of JavaScript / CSS +.

    Poor performance because of heavy weight pages. If you were using ADF Faces and your JS addresses the DOM instead of the architecture of client cJavaScript ADF Faces then chances are JS will fail for the components that have changed their HTML output (which has an impact on the DOM structure) or changes are not submitted to the server.

    For CSS, CSS inlineStyle not applay to the DOM element that is external, which means for example af:input the background text color will color the lavel

    + 3. mix JSTL and JSF/ADF Faces tags +.

    Dependa on how you do. JSF has postponed EL syntax, which means that EL resolves at run time, whereas JSTL resolves at compile time. So the race conditions could become a problem

    Overall, it is difficult to say if things were coded wrong in the project (although for the use of HTML you can be sure) without seeing the code. It seems that the team that built the application however did not dare to the suite of recommended practices

    Frank

  • Convert HTML/javascript AIR app AIR flex application?

    Hi all

    I have already built an AIR with HTML/javascript application I want to monetize.

    I would use the O2app e-Commerce Framework, which supports only this time created Flex AIR apps.

    My question: is there a simple way to "convert" an AIR of HTML/javascript app in Flex 3? I don't want to rebuild from scratch in Flex 3 application if I have to. :)

    Thank you

    Al

    Thank you very much for this information.

    Initially, I asked the question because, at the time, I thought that AIR Flex applications could be protected against copying, but it seems that they too can not be protected against copying (the exe file is created AFTER the installation).

    Thanks again,
    Al

  • Problem with javascript call

    Hi all

    I created a javascript function to show and hide a couple of divs as follows, it worked when I used radio buttons, but I had to exchange them for pictures and nothing happens

    < script type = "text/javascript" >

    function gcg_radio_check (form_type) {}

    If (form_type == 'pro') {}

    document.getElementById("devis").style.display = 'block ';

    document.getElementById("devis_part").style.display = 'none ';

    }

    If (form_type == 'part') {}

    document.getElementById("devis_part").style.display = 'block ';

    document.getElementById("devis").style.display = 'none ';

    }

    }

    < /script >

    I'm calling him but he does nothing... Here is the HTML code. Help, please!

    < a href = "javascript:gcg_radio_check (value); "name ="gcg_formtype"class = 'pro' value = 'pro' > < / a >

    < a href = "javascript:gcg_radio_check (value); "name ="gcg_formtype"class = 'part' value = 'part' > < / a >

    Thank you very much

    Martin

    OK problem solved, it was not recognizing the value, with the following HTML code, it works: -.

    Thank you to those who have watched

  • The process Bpel of JavaScript call

    Jin

    can we call a process BPEL of JavaScript can someone help me please



    http://hostname:8888/ORABPEL/test/getRODetails/1.0/getRODetails?WSDL

    for example the above wsdl is created through Jdeveloper here... my desire to developer UserInteface access the wsdl above from javascript

    the wsdl binding above have an input parameter... She asked me to send the parameter as

    http://hostname:8888/ORABPEL/test/getRODetails/1.0/getRODetails?WSDL & param = 'Bus%'

    Param = "Bus %" is the parameter in the wsdl binding


    can achieve us as above, I've specified

    You can call HTML form BPEL.

    Take a look at the blog: [http://blogs.oracle.com/reynolds/2005/09/invoking_bpel_from_an_html_for.html]

  • After updating to Firefox 15 it crashes at the end of a javascript call window.close (); opener.alert ('test'); Does work as expected or is this a bug?

    After updating to Firefox 15, it crashes after a popup called javascript window.close (); opener.alert ('test'); Does work as expected or is this a bug?

    It works better if you disable the modal prompt temporarily as a test by setting prompts.tab_modal.enabled false on the subject: config page?

  • banner ad in HTML/Javascript

    Hello

    I develop my application using Phonegap in Eclipse (with Blackberry Plugin) using HTML and Javascript.

    It is a free app and I want to integrate online advertising.

    Have no method to integrate the AdMob with HTML for Blackberry?

    or can someone help me how to integrate advertising online for blackberry?

    Thank you

    Perhaps this can serve you

    https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.advertising.banner.html

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/advertising-service-for-PlayBook...

  • The display of an image defined in an external PLSQL procedure that renders the code HTML and called in a region of the APEX

    I have an external PLSQL procedure that dynamically creates a report out of the HTML tags that I then called an anonymous block APEX PLSQL.  I'm making bad images with the following code:
    in the external procedure.  How do you get around that? (NOTE: the procedure is too big to store directly in the APEX)

    ....

    ' < style td = "width: auto;" "padding: 0px 5px 0px ' > '. spc_rec. SPC_VIABILITY_STATUS. "< table > ' |

    "< style td =" width: auto; " text-align: left; "padding: 0px 5px 0px" > ' | spc_rec. SPC_VIABILITY_REASON. "< table > ' |

    TD > < img src = "" #IMAGE_PREFIX #check2.gif "alt =" "/ > < table > '"

    ....

    Thanks in advance

    PaulP

    Hi Paul,.

    You can use the global variable of the APEX package below to get the image prefix in pl/sql. Of course, your procedure should be in APEX, schema analysis application.

    APEX_APPLICATION. G_IMAGE_PREFIX

    Kind regards

    Hari

  • Canvas of HTML, Javascript, coding for movement forward/backward a frame w / buttons?

    Hi everyone, I am super new Flash/Animate and know very very little about AS2 and AS3 (or any other coding besides language)

    I am trying to build a simple "module" to animate, somewhat like a PowerPoint where you can move the slide to the slide (or image in image) with help of the arrow keys. In the previous "modules" I built using AS2, I did this through the creation of buttons and their assignment of code that was something like -

    {We (Release)}

    nextFrame():

    }

    and

    {We (Release)}

    prevFrame();

    }

    and it was super easy.

    However, now I'm working with canvas of HTML, because I need the modules to work on mobile devices, so I will try to write code in JavaScript.

    I managed to achieve a code (after long hours searching through forums) which kind of accomplished what I try to do, but after the move an image forward my 'next' button stops working. The "previous" button works, but I can only test it after I went from an image in advance.

    So here's my setup.

    I have created a form that I've then nestled inside a movieclip and button I up this movieclip on the stage to create my buttons. I gave only one instance of the name of "prevBtn" and the other the name of the instance "nextBtn.

    The layers are simply a background layer, my navigation layer (where the buttons) the image only key on my nav layer is the first image, then the buttons remain the same with the same instance for remaining executives names, a text layer (where I wrote a text on each image to say if she moves forward and backward) and a framework of actions.

    On a frame of my layer actions, I put the following code.

    This.Stop ();

    var frameNumber = this.currentFrame;

    nextFrame var = frameNumber + 1;

    prevFrame var frameNumber = - 1;

    this.nextBtn.addEventListener ("click", navNext.bind (this));

    function navNext() {}

    this.gotoAndStop (nextFrame);

    }

    this.prevBtn.addEventListener ("click", navPrev.bind (this));

    function navPrev() {}

    this.gotoAndStop (prevFrame);

    }

    If someone could please tell me why it does that to move to the front of a picture and then my "nextBtn' no longer works I would be VERY happy! Or is there another way to code this simple interactivity, THANKS!

    You define frameNumber outside the service. So, you set the frameNumber only once, and so it won't give you the same number, chassis number following if ever this code exists. You have really no need create this variable for what you want to do. This should do what you want:

    this.nextBtn.addEventListener ("click", navNext.bind (this));

    function navNext() {}

    this.gotoAndStop (this.currentFrame + 1);

    }

    this.prevBtn.addEventListener ("click", navPrev.bind (this));

    function navPrev() {}

    this.gotoAndStop (this.currentFrame-1);

    }

  • a parameter in the javascript call is a rowid and I get the error

    [http://issuu.com/aced/docs/problema_apex?mode=window & viewMode = singlePage]

    I have a problem calling a JavaScript, which indicates a parameter that contains a rowid value.
    Please can you look at the link and help me?
    Thank you.

    Hello

    I still think that you have not close script tag, which means that your JavaScript must end at

    
    

    Try

    
    

    Kind regards
    Jari

    Published by: jarola October 9, 2011 14:12

    And you can try to wrap the value of apostrophes when you call JavaScript, as

    javascript:imposta_elem('#ROWID_ATT_DEL#');
    

Maybe you are looking for