WebWorks 2.1 SDK

So the new sdk for the playbook is out today, but they do not mention if we should use the same Air sdk (2.5) or if we shoud using Air 2.7?

Indicating the categories can be done here:

http://docs.BlackBerry.com/en/developers/deliverables/30182/Widget_element_834671_11.jsp#RIM_categor...

Insofar the 2.5 vs 2.7 of the AIR SDK, I don't think it's really important.  When a WebWorks app he relies always specifies the compatibility of 2.5.  There is no any 2.7 API that we take advantage of.

The SDK itself solves all problems with the AIR.  The SDK is just a series of libraries for compiling and linking.  The AIR runtime will then work applications.

I don't know whether or not the flicker is fixed in the 2.1 SDK WebWorks.  I know we are talking about the first cause, but I "think" there is a pending issue.

Tags: BlackBerry Developers

Similar Questions

  • Problem installing WebWorks / Simulator / push SDK

    Hello

    I tried to install WebWorks / Simulator / SDK to push, but these software use InstallAnywhere as an installer. I have problems after the installer because it stops 3/4 of the download. It goes to 100%, but not the load bar full.

    I still have the error of

    "Fata Application error".

    This request has unexpectedly

    Invocation of this java application has caused an InvocationTargetException. This application will now exit. (LAX)

    "

    I have tried everything I learned from looking around Google and so make me add these following:

    -J' added to my value to C:\Program Files\Java\jdk1.8.0_73 environment variable JAVA_HOME

    -Currently I have this in my WAY: C:\ProgramData\Oracle\Java\javapath, but I changed it to C:\Program Files\Java\jre1.8.0_73\bin. I exchange these values whenever it fails to ensure that one of them works.

    -Command line, I used nameofinstaller.exe LAX_VM "C:\Program Files\Java\jdk1.8.0_73\bin\java.exe"

    Can someone help me install this software without having this problem.

    Recent versions of Java 1.8 broke these installers.  To work around the problem, you can install Java 1.7 and use it to install (change accordingly, JAVA_HOME and PATH environment variables).

  • Gaps in WebWorks BlackBerry 10 SDK

    I found that some parts of the SDK WebwWorks BB10 lack comparing to PlayBook for example.

    The biggest problem at the moment for me is the lack of method blackberry.payment. Whithout it I can't monetize my app freemium.

    I also need blackberry.media.camera.takePicture, who is also absent.

    In blackberry object all alone, I found:

    BlackBerry.app

    BlackBerry.Event

    BlackBerry.notofication

    It will change in the future or this features are abandoned SDK WebWorks?

    Thanks for the comments.

    Payment is certainly important and focus on right now.  We want to get just before publishing, then your patience is requested.  It will get there in good time.

    Note: for functions 'disappeared' BlackBerry object you need to whitelist any API function that your application will use.  For a complete list of BlackBerry WebWorks APIs, see this reference guide (filtered by BB10):

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

    As others have said, getUserMedia is now the HTML5 standard that we follow for camera support.  The blackberry.media API exists only because the standard was not defined/supported at that time there.

    For a code example showing how to use getUserMedia - see this page:

    https://github.com/BlackBerry/BB10-WebWorks-samples/tree/master/avatar-booth

  • Installation of SDK Webworks

    Hello

    I try to install the SDK WebWorks and in the penultimate stage installation... it crashes just here showing the Popup 'WebWorks BlackBerry PlayBook SDK configuration'. Hung there for 30 min.

    If anyone has experienced this before?

    Thanks in advance for the help!

    Can view you the details of your operating system, i.e. Windows 7 64-bit, Mac OS x 10.x

  • is an HTTP Post possible using webworks/widget SDK or what I should use Java widget?

    Hi all

    I use webworks and widget SDK to make a simple application where I need to do the following

    (1) open a site called www.mytest.com

    (2) display the following parameters with the request to open the site

    Login = true

    UserID = one

    password = b

    Is this possible using BlackBerry Widget SDK? I looked at the blackberry.invoke.BrowserArguments and I do not think that it allows that.

     

    Is this a limitation to the use of webworks? If so, that is the only alternative is to develop a widget of java and use the browser2 field?

     

    Thank you

    Parag

    Yes, you can...

    When you make an Ajax request, on your call to the open() of XMLHttpRequest objects method use the following:

    XMLHTTP. Send ('post', URL, true);

    XMLHTTP. Send (post_string);

    WHERE

    'post': your request method

    URL: the url to which the http request you

    true: to make it asynchronous (Note: this is the default behavior)

    post_string: is a urlencoded string containing all your post variables and their values like this

    "xc =" + encodeURI (element.value) + '& xd =' + encodeURI (element2.value)...

    You should be fine here as long as you know how to create an XMLHttpRequest object and can use GET, this should be familiar.

  • Force landscape mode with WebWorks

    To force a mode application landscape, the following should be added to in your *-app.xml file:

    fake

    landscape

    If I create one *-app.xml for my WebWorks project, however, it is ignored by the compiler. So far, I've been open my .bar file after compilation, extract the *-app.xml the compiler creates, edit and update the archive, but I suspect that this will not be an option when the time comes to sign my applications.

    What other options do I have?

    Hello world

    We have actually had discussions about this feature today... We look at a few solutions that would be built into the software.

    For the moment, you can try the following... (I have not tested it yet)

    If you go into the "bbwp\AirAppTemplates\src" directory where you installed the WebWorks for PlayBook SDK you'll find a file called WebWorksAppTemplate - App.xml

    I think it's the file use us as a model and then replace specific fields with the information from your config.xml file.

    Try to make changes to this file, and they can stick to you.  Also note that the changes here will affect all of the apps you build with the SDK.

  • BES 4.1.7 OTA application WebWorks - camera problem

    We build a webworks application, using sdk webworks 2.3.1 for OS smartphone devices.

    If we push the application manually in a dev machine to the phone via a usb cable, we are able to take photos and the photo stream app.  Our problem is that if deploy us the application on a server bes on a DIRECT phone, we cannot use the camera (nothing happens - the camera app is not open)

    Usually, when manually push us to a phone which we are presented with a dialog box advanced to allow the camera to be used by the application permissions, this happens when it is deployed using bes.  This suggests it might be a problem with the it policy, everyone had a similar problem and found a solution?

    Problem solved.

    In order for the camera to work from our application, we need set the event Injection allowed in default of the Application control policies.

  • What is the SDK required to generate. COD files

    Hello world

    Hello

    BlackBerry 10 platform does not use the .cod files, it uses the .bar files. If the WebWorks 10 BlackBerry SDK builds those. If you want to generate for the Platform Java BBOS .cod files, you will need from old tools. If you go to the site of the BlackBerry developers, you will see a series of icons of the platform along the bottom of the black banner. The BlackBerry OS it will take you to another selection where you can choose to HTML5, Java or Theme Studio. I'm including this description because there is documentation and other resources specific to these platforms there as well. You'll want to know how to get there.

    You can download the tools for BBOS here: https://developer.blackberry.com/bbos/html5/download/

  • Extension of 10 BB WebWorks

    Is there a documentation or examples on how to create custom JavaScript extensions supported by the native code for the new SDK of WebWorks BB 10? My understanding is that extensions for BB 10 WebWorks will be written in native C/C++ code. However, all the implemented API looking at existing WebWorks BB 10 SDK, contain only JavaScript code. It looks like the API currently implemented to provide a JavaScript interface to interact with a server running on the phone that handles native-code extensions. I don't see native code for extensions in the current SDK, so I guess that these implementations are integrated into BB 10.

    I guess that a custom extensions JavaScript should somehow register its implementation of native code with this same server but it is not clear to me how this is done.  Is there any documentation or examples of this yet?

    You're right: BB10, there will be a JavaScript interface that calls down to native code.  However we have not this architecture in place for the 3rd party developers yet, but its definitely coming.

    Brace yourself for updates, we will make sure to communicate best practices and guidelines for BB10 + WebWorks development of extensions with the community once it is ready.

  • How to get the ripple working, config.xml is not found

    Here a load of resources for getting started, but I just can't get anything to work as stated in the documentation, or the youtube video shows.

    I have various things installed, NodeJS, JVM, BlackBerry WebWorks 2.0.0.71, ripple in Chrome.

    To begin with when you use 'create cordova' layer of the project is different, cordova 3.4.0 I get:

    hooks /...

    mergers /...

    config. XML

    www/js /...

    www/img /...

    www/css /...

    www/index.html

    But information to addresses such as https://developer.blackberry.com/bbos/html5/documentation/creating_hello_world.html don't show this provision.

    I'm supprised when I open the config.xml file in Chrome that it does not detect the XML XSD and ripple offers to launch itself.  If I navigate to file:///C:/Users/Username/RippleSites/myproject/ www/index.html can activate ripple but she complains the file config.xml in lack.  Services of ripple Start' provides no clue as to any error and no TCP server listening on port 9910.

    I guess BB10 doesn't work with a specific version of cordova, which uses a different type of layout of project that one 3.4.x uses.  How can I fix the environment to use the correct versions and also automatically prevent the upgrade within this environment?  Because I want to obviously NPM allows management version of the future module updates.

    How C:\Users\Username\WebWorks Project\project interacts with the ripple need to use a specific home project directory as well?

    See the Option #1 here for more information about enabling access to the local files for Chrome/ripple:
    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/solution-ripple-launch-is-INTERR...

    That being said, the that training has been designed to be an emulator for the WebWorks 1.0 SDK, it relies on the features that have changed in WebWorks 2.0. For example, we leverage is no longer webworks.js, but cordova.js and webworksready changed to deviceready. In the end, there may be still some differences in the APIs, if efforts have been made to minimize any impact as he.

    BlackBerry 10 works with Cordova 3.1.0 and above (it may have been a few versions ago, but I don't remember exactly). Stay up to date with Cordova and use the latest version through the Museum is my personal recommendation.

    Note that if you use Cordova, you also need to install the NDK BlackBerry properly configure your environment variables.

    Note that the link to the above documentation referred BBOS, which is the platform of the inheritance (BBOS 5, 6, 7). BlackBerry 10 documentation can be found here:
    http://developer.BlackBerry.com/HTML5/documentation/V2_0/

    The www folder is root of your project that will contain all the files of HTML5. The other files are related to Cordoba and used for packing and manage your application is built.

  • Could not load the XMLHttpRequest

    Hello community,

    I found this weird thing and want to ask you guys, please help me if you have met before.

    My app works well in the Simulator trip but run this not found "XMLHttpRequest" error when you run on Dev Alpha.

    But when I try to change the version of Widget tags in the file config.xml to 2.0.0.0, something like

    http://www.w3.org/ns/widgets ".
    "xmlns:RIM ="http://www.blackberry.com/ns/widgets"
    version = "2.0.0.0".

    The app works well, trip and Dev Alpha

    But if the version 1.0.0.0, just run on trip, but not in the Alpha Dev.

    Could you tell me the difference from version 1.0 and 2.0?

    Information, I use 1.0 in WebWork 2.0 SDK 1.0.1 1.0.2 SDK

    I'm so confused,

    Any help would be appreciated

    Thank you

    try using the latest version of the SDK + you need to white list of your website (such as http://site-where-i-download-something-using-xmlhttprequest.com ) to the config.xml file

  • bbwp is not recognized as internal or external command

    I get the following error while signing my application in bb10 webwroks.

    "bbwp is not recognized as internal or external command.

    exected the following command:

    bbwp C:\sample\sample.zip g blaze2014 - 10 o C:\sample buildId

    somebody help me pls with the solution.

    You use the wrong command, bbwp is a webworks 1.0 SDK.

    And you use Webworks SDK 2.0, you must use: webworks run or webworks build orders

    Take a look at:

    https://developer.BlackBerry.com/HTML5/documentation/V2_0/build_and_sign_your_app.html

  • Java for Playbook application

    How to create a java application for playbook

    There are no java runtime on the playbook.
    You can use native webworks, air or sdk.

  • that you choose? Java development or web work?

    I am building an application that will take the photo and video and save them to the memory or sd camera card and send them an email when I want. can I use java development or webworks develplment.

    You cannot use Eclipse for development of WebWorks. Start here.

    You must download the emulator to ripple and WebWorks 2.2 SDK. Use your favorite text editor to edit and create the necessary files. The ripple Emulator allows to make basic app tests.

    Create your first application:

    Create a WebWorks app

    See examples of applications:

    Examples of Applications

    Jeff is right when he says that everything is technically possible with WebWorks, so it's yours if you use native Java or WebWorks according to what you are comfortable with.

    However, it's a great technically.

    The native API in WebWorks is useful, but somewhat limited. If you want to do anything that a native Java application can do, you need to write your own WebWorks - Java extensions. So, if you are not comfortable with Java, you must use WebWorks. But if you want to be able to use the functions and features not included with WebWorks, you will need to know Java, in which case you would probably just to write the application in Java anyway to avoid the Tip-toeing around all memory problems with WebWorks.

    [semirant]

    I intend to rewrite my application in native Java when time permits. It's a pretty simple application with 1500 lines of Javascript and memory too often faces problems.

    I spent a lot of time to optimize my code and keeping the DOM as small as possible at any given time. I realize that to have ' all that 'Javascript in memory, this is what causes the problem, but seriously this isn't so. " JQuery what 8000 lines? Don't even think about it. Now I need to spend some time still more breaking apart my Javascript in separate files are only loaded into memory when needed - a major change, even once, to work in transmissions of WebWorks. Unfortunately, a lot of the code is utliltiy functions that are always needed.

    A Facebook-like application more complex would never in the world of WebWorks. I spend most of my time working with and around the constraints of WebWorks rather than creating useful features.

    [/semirant]

  • App error deployment: deploy blackberry not recognized

    Hello! I get an error during deployment of my app first to blackberry OS, please help me out of this?

    "Deploy blackberry is not recognized as a builtin or external

    Thank you

    zubair01,

    Here are the solutions. I posted also posted this answer to your question in another thread

    Cause 1: Order wrong spelled 'package '.

    Course (from screenshot)
    C:\Program search in Motion\BlackBerry WebWorks Packager for sdk-tablet-Playbook\bbwp\blackberry

    blackberry-deploy -installApp -device 192.168.142.129 -pakage "E:\projects\test\testApp.bar" -password a
    


    Solution

    blackberry-deploy -installApp -device 192.168.142.129 -package "E:\projects\test\testApp.bar" -password a
    

    Cause 2: Invalid directory

    The directory that you use the command deploy "blackberry" is:

    C:\Program search in Motion\BlackBerry WebWorks Packager for sdk-tablet-Playbook\bbwp\blackberry

    Solution

    I made a screenshot of the directory structure where you can run the command deploy 'blackberry '.




    Please see the screenshot in reference.

    Basically, you will most likely just move change to the directory "bin" directory "blackberry-tablets-sdk. Make sure you see something similar to the above.

    // from the blackberry-tablet-sdk directory
    
    ---------------------------------------------
    blackberry-tablet-sdk>cd bin
    

    Run the second command. Make sure you have the corrected spelling.

    Happy coding!

Maybe you are looking for