WebWorks and cordova (phonegap) api

Wonder if use api cordova replacing api webworks is Ok?

Is there a difference in performance?

The performance should be the same.

For example, if you use PhoneGap to access the camera, it's the real device camera that is loaded with our own API.  Performance should be the same as if you use PhoneGap and used the BlackBerry API to do.

Tags: BlackBerry Developers

Similar Questions

  • Question about the roadmap WebWorks and Cordova

    Hi, in the WebWorks Raodmap [1] is the following statement:

    In order to make the promise of HTML5 cross-platform development even more real, we will be leveraging the Apache Cordova open source project as the heart of the WebWorks SDK for BlackBerry 10. This will allow BlackBerry web developers to more seamlessly leverage a much wider array of tools and frameworks being built around the "center of gravity" for mobile web applications.
    

    What exactly is? Cordova will replace the Webworks API?

    [1] https://developer.blackberry.com/html5/downloads/roadmap/

    "To make the promise of cross-platform HTML5 development even more real, we will be relying on the open source Apache Cordova project as the heart of the WebWorks SDK for BlackBerry 10. This will allow BlackBerry web developers to more easily exploit a range much more wide tools and frameworks under construction around the 'centre of gravity' for mobile web applications. »

    We'll disect this declaration and I'll add what I can:

    'we will be relying on the open source Apache Cordova project as the heart of the WebWorks SDK for BlackBerry 10' - this means you can think of the future of WebWorks BB10 as being "built" on top of Cordova. So our API and support for the creation of webviews etc. will be built above the standards defined in the project of Cordova.

    "This will allow BlackBerry web developers to more easily exploit a range much more wide tools and frameworks under construction around the 'centre of gravity' for applications web mobile."-there are currently groups creation tools to work on top of Cordoba; Maybe your favorite editor has already Cordova or PhoneGap support. This will mean that you can use in your development BB10, without worrying about the specific tools BB only.

    At the end of this process should in theory be easier to work with WebWorks.

  • WebWorks and Cordova requires a specific Configuration

    Hi, after a lot of research and do not find an answer, reach out to the larger community of developers.

    BES5 applications to read the dynamic variables set with an ITPolicy through user-defined settings, IE URL allowed.

    This allowed a compiled version of an application to use across implementations of different BES5, each customizable application.

    It is my understanding BES12 reintroduced this (missing in BES10), but can't seem to find any document detailing how to achieve this.

    I'm assuming that the application itself would need for declaration confirming that he uses a customizable variable. When the application is transferred to BES12, I guess the download process will know of this customization and let this field appear in the view of the application.

    Has anyone used this feature, it is available in BES 12.5?

    Some of these features have been added in BES12 for iOS and Android applications, but BlackBerry 10 does not yet support this.  To enjoy them requires native calls, it is not any extension of Cordova, I am aware of that support it, so you will need to create a plug-in.

    The following blog post explains how this can be done on the side Android.

    Restrictions/application Configuration

  • What is the correct process for the construction of webworks + apps cordova with ripple?

    Hello, I'm developing an application targeting os6 and 7 devices using phonegap and tests through the emulator to ripple. The emulator seems to be missing the package for blackberry in cordova apache mode option. Switching mode webworks brings up the option. However, the deviceready event that cordova expects is not raised in this mode. Therefore, do not start apps according to the deviceready event.

    Is there something that I am missing?

    WebWorks and Cordova are two separate web platforms.

    WebWorks mode, you will be able to imitate WebWorks APIs belay the WebWorks SDK to your content of HTML5 (sign) package in a BlackBerry application.

    In Cordova mode, you will be able to emulate the Cordova APIs (including the deviceready), however there is no integration with the Cordova SDK for real packaging process. You will need to follow the documentation of Cordova for packaging and signing.
    http://Cordova.Apache.org/docs/en/3.1.0/guide_platforms_index.MD.html#platform%20Guides

  • Cordova/Phonegap for WebSQL Storage API does not not on BB10

    I use the API of storage for WebSQL to Phonegap with BB10 but his does not work.

    And not able to see the logs in the web Inspector. I have test code on system Z10 bb OS 10.2.

    And cordova 3.1.

    Is there a sdcard is required in the device? Currently, there is no SD card in my camera.

    Or is there any other requirements. Please help me as soon as POSSIBLE.

    Please find my code below:

    index.html

    Sample contact

    Example of

    Database

    You use the document originally of a variable

    window.addEventListener('load', function () {
        document.addEventListener('deviceready', onDeviceReady, false);
    }, false);
    
  • What is the difference between PhoneGap and Cordova?

    Hello

    I wonder what is the difference between PhoneGap and Cordova?

    -brett

    There is a blog that addresses this issue: http://phonegap.com/2012/03/19/phonegap-cordova-and-what%E2%80%99s-in-a-name/

    But at the bottom: 'PhoneGap's distribution Apache Cordova. You can consider the engine that propels PhoneGap Cordova Apache, similar to how WebKit is the engine that propels Chrome or Safari. »

  • An error not handled during construction or the app runnning a Cordova/PhoneGap BB10

    I'm trying to implement a project of 10 BlackBerry with Cordova/PhoneGap 3.0.0.

    It took me a long time to understand the Platform for BlackBerry 10 guide actually refers to the version available on http://cordova.apache.org/ and must be installed noted differently on the first page of the site Web PhoneGap.

    I have successfully created a project and added my Z10 camera as target.

    However, when you try to run 'build debug z10' or "run z10" I always get the following error message:

    events.js:72 throw er; // Unhandled 'error' event
    
    Error: spawn ENOENT
    at errnoException (child_process.js:980:11)
    at Process.ChildProcess._handle.onexit (child_process.js:771:34)
    

    Any solution to this?

    We've tracked down the cause of this error to the tools BlackBerry NDK is missing from the system path.

    After you have installed the BlackBerry native SDK, tools must be added to your system path. Manually add the bin directory to your path, or run the following scripts in the directory where you installed the NDK:

    Windows

    bbndk - env.bat

    Linux/Mac

    source bbndk - env.sh

    Note: the script execution will only add tools to your path for the current shell. If they persist, you must add the path to the bin directory using the Windows or Linux/Mac bash profile environment settings.

  • How to get the functionality of the Plugin BB10 webworks development using phonegap.

    Hi all

    How to get the functionality of the Plugin BB10 webworks development using phonegap.

    Thank you all

    Here is a link to the documentation specifically: http://docs.phonegap.com/en/2.6.0/guide_plugin-development_index.md.html

    We will update the things little when we adopt a more close relationship with Cordova.

  • Plugin Eclipse Webworks and polisher/polisher Build

    Hello

    I work with work lamp Studio, which is an Eclipse Plugin, so after I build the project buffer/polisher, buffer/polisher build a Webworks project for me, but I am not able to run or install the application on a device. So what I do is that I have create a new project of Webworks and copy can HTML, CSS, JS files to the www folder and I run the project using web webworks SDK.

    y at - it a plugin Eclipse to run my application directly from Eclipse?

    At the present time there is no Eclipse plug-in for WebWorks. There was in the past for our platform BBOS inherited, but it was obsolete a few years back.

  • If I can simulate OS5 using webworks and ripple?

    As the title suggests, is it possible to simulate os5 using webworks and ripple? Currently, under the "parameter"information"ripple, showing the operating system is 6.0 and it seems immutable.

    So as far as I know, based on the research I did, there no way to simulate OS5 in undulation.

    (see last comment on this page: http://devblog.blackberry.com/2011/05/blackberry-webworks-updates/)

    The solution is to install the SDK Webworks and allows to compress your application. Here's a good tutorial:

    http://supportforums.BlackBerry.com/T5/tkb/articleprintpage/tkb-ID/browser_dev@tkb/article-ID/87

  • WebWorks and widget is the same?

    WebWorks and widget is the same?

    The BlackBerry Application Platform WebWorks is an evolution of what exists only in the development of Widget SDK.  They are not the same.

    The BlackBerry Application Platform WebWorks is just that - a platform - to create BlackBerry applications.

    More than a developer tool, it is the platform that encompasses all the development tools available, supported technologies and services that are available for developers to use to create applications fully functional BlackBerry using web technologies such as HTML, CSS and JavaScript.

    The BlackBerry Application Platform WebWorks is:

  • "Acrobat and PDF Library API Reference" also available in pdf format?

    Hello

    I would like to know if there is a pdf "Acrobat and PDF Library API Reference" guide and pdf tutorials. I just found a reference HTML

    (http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/API_References/Acrobat_API_R standard/index.html)

    Thanks in advance

    Hello

    It will be updated to 8.1 SDK there will be some changes.

    Concerning

    Malcolm

  • Help with Essbase 9 and the Java API

    Hi, I am trying to connect to Essbase to a Java desktop app and I'm unable to do so. I need to know if I'm in principle do the right things and if I have the good environment set up.

    We have a server with Essbase version 9.3.1. We normally use essbase through the Excel add-in, and I already wrote it Excel applications that can use both the add-in and the Essbase API in VB. Now, I need to connect to Essbase but out of Excel and using the Java API. I have no idea what is APS don't my Essbase administrator.

    My request has the following (adapted from a post on this forum)-
    Public Shared Sub main (String [] args) {}
    String s_userName = 'user ';
    String s_password = "password";
    String s_olapSvrName = "ustca111";
    String s_provider = "http://localhost:13080/aps/JAPI ';
    try {}
    ESS IEssbase = IEssbase.Home.create (IEssbase.JAPI_VERSION);
    DOM IEssDomain = ess.signOn (s_userName s_password, s_provider, null, false);
    IEssOlapServer olapSvr = (s_olapSvrName) dom.getOlapServer;
    olapSvr.connect ();
    System.out.println ("connection to the server Analyic '" + olapSvr.getName () + "' has been a success.");
    olapSvr.disconnect ();
    } catch (EssException exp) {}
    System.out.println (exp.getMessage ());
    } }

    I'm running my app on my computer, not on the Essbase server, and the user name that I use is the same one I use (as a user of Essbase) through the Essbase Addin in Excel, not an admin login.

    When I run the application, I get:
    "Cannot connect to the Server.Make provider ensure that access code settings are correct and the server of the provider is running."

    Please can you confirm:
    (1) do I need an admin login for my client application to connect to the Essbase server or can I use a dial-up connection in normal play, like the one I use in Excel?
    (2) is the same provider regardless of the computer, i.e. "http://localhost:13080/aps/JAPI '; How can I know what this could be? Where can I get this information?
    (3) how can I make sure that the server is running the server needed 'provider', it's just a service that appears on the server services.msc? What should I ask the Essbase administrator for him to tell me what I need?

    Thank you very much.

    Leo

    Leo,

    You have APS and Shared Services running on your server? It would be the first question to answer. If you put in the url (http://localhost:13080/aps/JAPI, in your program) in a browser, you get a generic APS screen, or you get an error "page is not available. Unless you connect to APS that is running on the same computer that is running your Java application, the section 'localhost' should be the name of your APS Server.

    (1) for this Java program, you connect just to read only access that ID is OK
    (2) the supplier would be the same for every customer. The provider is the URL of your APS Server. Unless you run in embedded mode, you must APS to connect with the Essbase server. In embedded mode, you talk with the Essbase server, see [this thread | http://forums.oracle.com/forums/thread.jspa?messageID=3314485?].

    (3) APS - Analytic Provider Services, I'm not sure what it would show on a Windows Server. I suppose it would be something on Hyperion System 9 Analytic Provider Services. If you have installed APS, I would try the embedded road because it's the only way you will get to work.

    Published by: rjgideon on June 2, 2010 16:18

  • WebWorks for Playbook and using photo APIs

    Hello

    The API documentation, I found that the camera what API can be used to call the camera from an application. Thus, it can be used to capture an image that will then save the image in a folder of the playbook? If Yes, how can I know the name of the file that is the last one added to the camera file in the shared location? Please help me with this.

    Thanking you in advance,

    Praveen

    garciaf wrote:

    Is there a way to get the photo you take with the camera.

    You must use the Phonegap Framework http://www.phonegap.com/

    They provide a specific function that represent you to get the URI of the file or data directly.

    (But if you get the data directly there is a problem of memory)

    Another way is to encode your own API in Java and add in the web works. (If you choose this solution and the success you, I would be very interested in the result)

    Concerning

    Hi garciaf,

    You are right that PhoneGap has this API for smartphones, but they have not yet supported for Tablet OS.  And on Tablet OS, you can't create an extension using Java, because it is not a Java virtual machine.  You must create an extension with ActionScript

    The takePicture() API becomes even closer now to PlayBook and smartphone.  You can see what the API signature will look like in the jsdocs found here:

    https://github.com/BlackBerry/WebWorks-API-docs/BLOB/Delta/API/blackberry_media_camera.js

    It will be the signature of the API used for both BONES of tablet in the 'Delta' version and the Smartphone 'Epsilon' version:

    https://github.com/BlackBerry/WebWorks/Wiki/Roadmap

  • BlackBerry Webworks and 'hardware back button '.

    Hello

    I have problem to apply the logic of my application with the "hardware back button.

    I use jquery mobile to create a phonegap for Blackberry WebWorks (Smartphone version) application.

    When I have a link in my page as:

    
    

    everything works fine.

    But when I use the WebWorks API to hook the hardware back button ' ' like this

    blackberry.system.event.onHardwareKey(blackberry.system.event.KEY_BACK,function() {
        history.back();
        return false;
    });
    

    my application is just closed. (I tested on 9800 OS6 Simulator and real device 9300 Curve 3 G with OS6)

    It is also strange, when I change the function of

    blackberry.system.event.onHardwareKey(blackberry.system.event.KEY_BACK,function() {
        alert('Debug');
        return false;
    });
    

    The alert dialog will appear and then my app will not be closed (to be correct)

    So the problem is the "history.back()" inisde () calling the onHardwareKey handler function

    Can someone help me more?

    Thank you

    I upldated my sdk to 2.1.1 and don't have the problem more on Simulator 9930. I think I got 2.1.0.24 front

Maybe you are looking for

  • iTunes not systematically renaming imported MP3 files

    I am running iTunes 12.3.2 on multiple systems (all Windows 10, both 32 - and 64-bit).  I noticed some strange behavior when adding media mp3 Amazon-bought to my iTunes library.  Since I was the copy... Keep organized... options and enabled in Edit >

  • Photosmart HP 6520: Print spooler

    I was able to print from my phone (Samsung Galaxy s7) without problem on several different HP using the card of HP printers in. In the last three weeks, I get the message that has not stopped the print spooler. I took the plug stop, off, reinstalled,

  • Lenovo Y510P SLI freezing after 3 minutes

    Hi guys,. Since I bought my lenovo Y510P SLI, I had a problem. When I watch a film/youtube clip/play a game on my logitech keyboard, I had a problem with performance. After 3 or 4 minutes my movie/game begin to freeze like a kind of energy saver turn

  • Pavilion Slimline s3407c upgrade to Windows 7?

    I got this computer since 2007 and it works. Periodically, internal processes overwhelm the system and I can't work. I had to do the factory reset twice in seven years and was about to go to #3 this week, when the system itself fixed just with no hel

  • Update of critical alert HP 4.0.11

    I'm having a problem with the update HP 4.0.11 registered as a critical in the Total Care Advisor alert, dated 29/08/2008. I keep trying to update but will not complete the installation.    Here's where I get on the installation. When I click "Run" t