Configuration PlayBook WebWorks API extension support

Hello

I would like to know if there is a way to package an extension API with an application. The default extensions are located in the bbwp/ext folder. I have a custom extension that I include in my application. I was able to compile the application with my custom extension copied to this location mentioned. My question is should I add the extension custom in my application package? If so how that happen. All to follow folder structure? Please help me.

Thank you

Praveen

Well it would not be considered "tampering" with the SDK package

It is in fact our approach for each of these directories with... There is no way to incorporate your extension as a resource in your file to archive WebWorks.

Tags: BlackBerry Developers

Similar Questions

  • Rotation / orientation/tilt of the PlayBook WebWorks API?

    Where can I find the API WebWorks for rotation / orientation/tilt? In other words, how can I detect programmatically the rotation of my Playbook on the three axes? Applications such as "What's up?" clearly use such an API. Thank you.

    So you're looking for the DeviceMotion API for motion capture (x, y, z).

    Here's a demo:

    http://BlackBerry.github.com/WebWorks-samples/kitchenSink/HTML/browser/motion.html

    Otherwise, if you are looking for portrait/landscape orientation, you can use the window.onorientationchange event:

    http://BlackBerry.github.com/WebWorks-samples/kitchenSink/HTML/browser/orientation.html

  • Audio player of PlayBook webworks.

    I'm playing the audio data from the system of local files and internet audio stream.

    I tried blackberry.audio.Player method explained in the documentation of the api webworks. I guess the playbook does not have this object installed, because as far as I can see, I'm an exception due to the access to the object not initialized.

    Secondly, I tried jplayer, which uses the music player if html5 html5 extensions are available, and falls to adobe flash player if html5 is not successful. It has always failed...

    Third, I tried the pure html5 player. I can see the commands, the audio length is displayed with '-' value? (I did not understand why?) but no sound.

    I tried the method of second and third in google chrome, it works. Do you have an idea what could be wrong? What is the recommended method for the audio playin?

    Hello

    There was some discussion around this topic on the forums.  The blackberry.audio API is only on the smartphone platform... The PlayBook WebWorks APIs can be found here:

    http://www.BlackBerry.com/developers/docs/WebWorks/API/PlayBook/

    Audio not playing is not in the Simulator is a known problem.  The 0.9.4 Simulator comes not with any codecs to be able to play the video or audio.  This will be corrected in the final RTM version of the Simulator.

  • Magnetometer WebWorks API?

    Where can I find the magnetometer Playbook WebWorks API? Thank you.

    Unfortunately, there is not yet.

  • Problems when creating extension using pim contact webworks API

    Hello

    I need to create an extension that use webworks APIs to get all contact data as well as launch the contact selector and must obtain the name of the contact, numbers and Base 64 of contact image chain.

    Now, I have a few quesries below:

    1. I tried to reach my api requirement with webworks. For this, I did changes in the config.xml file.



    <>ermissions >
    <>Ermit > access_pimdomain_contactsermit >
    ermissions >

    and able to access the API of pim.contact placed here: C:\Program Research In Motion\BlackBerry 10 WebWorks SDK 1.0.4.11\Framework\ext\pim.contacts

    But when I tried to get all contacts by using the getContactAccounts() method, it gives me two accounts simcontacts and LocalContacts and their identity papers are respectively 2 and 19.

    I found that I can get the list of contacts using the example of the contacts. but this is to limit the length to 20.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/need-help-with-BB10-WebWorks-con...

    2.i have not found any documentaion appropriate for the fields of my contact: name, numbers and Base 64 of contact image chain like the way they gave in the native SDK documentation.

    Please share any code example that is in all fields of contact data of Singla retrieving.

    3. I need to share my contact plugin and need to expose certain methods of my plugin webworks.

    How can I reach it?

    Is it possible to get the code side native for pim.contact plugin, so that I can add methods more in it and can expose these methods more Web app works by making the required in index.js and client.js chnages.

    Help, please.

    I checked and there seems to be a problem with the API that has been fixed for version Gold SDK. Here you can find a similar position:
    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/need-help-with-BB10-WebWorks-con...

    And more information on the real fix here:
    https://github.com/BlackBerry/Cordova-BlackBerry-plugins/pull/80

    It seems that it was default 0, which gave 20 results, as opposed to-1, the expected default value.

    For now, if you simply pass a high value for limit, which should get the contacts (i.e. 1000). I know that's not ideal, but a workaround for now.

    For plugins, the best starting point would be the following.

    WebWorks SDK 1.0:
    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10/template

    WebWorks SDK 2.0:
    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10-Cordova/template

  • Record 2 channels audio WebWorks API?

    Reference on the WebWorks API indicates that the recording from microphones is possible on a single channel. However, the application of voice Notes record clearly on two channels, as can be easily shown by moving the Playbook from left to right while he was recording his own voice. Where can I find the API WebWorks for 2-channel audio, record from the MICS Playbook? Thank you.

    It is currently not possible.  I have added your request to github issues as an improvement to the feature list:

    https://github.com/BlackBerry/WebWorks-TabletOS/issues/54

  • hasDataCoverage fails for Playbook WebWorks

    Hello

    'HasDataCoverage' should work for Blackberry Playbook Simulator (beta 2)?

    I'm using the SDK WebWorks... and get the error message: "you are not in the coverage, try adding cities later.

    Do I have to activate something else, or if this feature is not enabled on the playbook Simulator.

    Thanx, H.

    PS: Do not know if there is somewhere else to post Playbook & Webworks related research - there is no Tablet OS section for webdev, only for AdobeAir

    hasDataConnection returns true if there is at least one network interface active on the PB. It works fine on a real device. For some reason, the Simulator always returns false. It might be because of the VMware virtual network bridge.

  • Share extension support iOS

    I'm trying to access Photoshop Mix of Dropbox with an Extension of share activity. It does not appear in the list. How he do for the list of activities? Are shared extension support?

    Hi Gail,

    It seems that Photoshop Mix can open Dropbox files, but not to save files on Dropbox. Perhaps, this would make a good feature request.

    Feature request/Bug Report Form

    Mike

  • I've just upgraded to PSE 12 and first E 12 and tried to installed several times.  Pop up says "Configuration Error"; contact Adobe Tech Support (?); and "mention the error code 1"!  Help please!

    I've just upgraded to PSE 12 and first E 12 and tried to installed several times.  Pop up says "Configuration Error"; contact Adobe Tech Support (?); and "mention the error code 1"!  Help please!

    Installation seems to work fine until, and including 'Technologies share '...

    I have cleaned all the disk *.tmp files, deleted all the shortcuts and various Adobe programs and he then successfully installed.

    Now, if I can get the updates to work.  There is always a challenge with the Adobe software.

  • Cannot install perl Extension Support for Creative Cloud.

    When you try to install the Extension of Perl (Adobe - Dreamweaver Extension) Support in creative cloud I get the following error: this extension cannot be installed, Dreamweaver version 6 or higher. Creative cloud meets this criteria and as this extension works in CS6 - why not CC?

    Any suggestions / resolutions?

    Download the extension here CC Manager: http://www.adobe.com/exchange/em_download/

    Convert the old .mxp extension .zxp with the tool, then charge it to see if it works.

  • Help with webworks plugin/extension.

    Hi guys, for a few weeks, I decided to love make an app for BB10. I did some research and found that this webworks was the way to go because of my prior knowledge of HTML and JS. I started to design the GUI and a few days back, I was. Then he came to the coding part, and I hit a wall, a huge wall.

    My application is a manager a little bluetooth and I need to give him the possibility to activate bluetooth in-app, but is not possible via webworks (to the best of my knowledge and apparently, my research has not sufficiently thorough). I did research more far and I found that it was possible, but only through the natives(core/cascades). I almost burst into tears because I speak of hours invested in webworks thrown through the windows. I did research more far and found that its possible for access to native code via webworks but will need a plugin/extension. Happy goes me to the site of BB and they have sort tutorial on the subject, but I spent the last 2 days on the site and is not quite explanatory.

    TL; DR... Someone at - it have a plugin/extension for webworks bluetooth or know where I can download one or know where I can find an indept tutorials on how I can make one for me? the model on github no use was more (no comments/explanation)

    Take a look at this project, I wrote:

    https://github.com/BlackBerry/BB10-WebWorks-community-samples/tree/master/SimpleBtSppPlugin

    It is a simplified version of a plugin I wrote recently to support a WebWorks app that interacts with a number of Bluetooth devices (Bluetooth Smart [aka Low Energy] and legacy SPP).

    This simplified version provides a simple JavaScript interface to the Bluetooth SPP (Serial Port Profile), but the model is quite obvious and extensible to any other Bluetooth woud profile you want.

    The API is described here:

    https://github.com/BlackBerry/BB10-WebWorks-community-samples/BLOB/master/SimpleBtSppPlugin/document...

    The associated blog appears in the BlackBerry Developer blog next week and the Plugin will be registered with the Plugin of Cordova register soon as well.

    I'm not an expert WebWorks GUI so forgive the simple sample application which has included :-)

  • Problem in javascript for OS 6 API extension

    I wrote an application for smartphone using Webworks with javascript extension. I created a JavaScript library using barcode API of OS 6.0. Ideally WebWorks support OS 5.0 and above so that any javascript extension written using OS6.0 API should work. I followed the direction:

    http://docs.BlackBerry.com/en/developers/subcategories/?usertype=21&category=BlackBerry+WebWorks+for...

    I created a library for barcode scanner added this library in my webworks app and try to compile. It gives me error all the APIs I took the OS 6.0. as

    ********************************************************************************

    DemoProject BUILDING

    cmd.exe /c bbwp D:\abc\projects\webworks\workspace\DemoProject\build\DemoProject.zip/o D:\Manish_Ranjan\projects\webworks\workspace\DemoProject\build

    [INFO]                  Parsing of the command line options

    [INFO]                  Bbwp.properties analysis

    [INFO]                  Validation of archive application

    [INFO]                  The analysis of config.xml

    [INFO]                  The application of filling source

    [INFO]                  Compilation of application BlackBerry WebWorks

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:8: package net.rim.device.api.barcodelib does not exist

    Import net.rim.device.api.barcodelib.BarcodeDecoder;

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:9: package net.rim.device.api.barcodelib does not exist

    Import net.rim.device.api.barcodelib.BarcodeDecoderListener;

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:10: package net.rim.device.api.barcodelib does not exist

    Import net.rim.device.api.barcodelib.BarcodeScanner;

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:18: package com.google.zxing does not exist

    import com.google.zxing.BarcodeFormat;

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:19: package com.google.zxing does not exist

    import com.google.zxing.DecodeHintType;

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:59: cannot find symbol

    symbol: BarcodeScanner class

    Location: class bar code. BarcodeFunction.ViewFinderScreen

    private BarcodeScanner _scanner;

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:70: cannot find symbol

    symbol: variable BarcodeFormat

    Location: class bar code. BarcodeFunction.ViewFinderScreen

    formats.addElement (BarcodeFormat.QR_CODE);

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:72: cannot find symbol

    symbol: variable DecodeHintType

    Location: class bar code. BarcodeFunction.ViewFinderScreen

    hints.put (DecodeHintType.POSSIBLE_FORMATS, formats);

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:75: cannot find symbol

    symbol: BarcodeDecoder, class

    Location: class bar code. BarcodeFunction.ViewFinderScreen

    Decoder BarcodeDecoder = new BarcodeDecoder (hints);

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:75: cannot find symbol

    symbol: BarcodeDecoder, class

    Location: class bar code. BarcodeFunction.ViewFinderScreen

    Decoder BarcodeDecoder = new BarcodeDecoder (hints);

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:80: cannot find symbol

    symbol: BarcodeDecoderListener, class

    Location: class bar code. BarcodeFunction.ViewFinderScreen

    BarcodeDecoderListener decoderListener = new BarcodeDecoderListener() {}

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:80: cannot find symbol

    symbol: BarcodeDecoderListener, class

    Location: class bar code. BarcodeFunction.ViewFinderScreen

    BarcodeDecoderListener decoderListener = new BarcodeDecoderListener() {}

    ^

    C:\Users\abc\AppData\Local\Temp\widgetGen.1978923101309259162010.tmp\extension\barcode\BarcodeFunction.Java:92: cannot find symbol

    symbol: BarcodeScanner class

    Location: class bar code. BarcodeFunction.ViewFinderScreen

    _scanner = new BarcodeScanner (decoder, decoderListener);

    In my extension javascript library.xml file I defined the platform tag.

    Although if I write any extension of javascript for the API available in OS 5.0 that works very well. Is there something more I need to follow for OS 6.0 API-specific javascript extension?

    Thank you

    Manish

    The question that you are running is the WebWorks SDK provided with the library net_rim_api.jar for BB5.  This means that the BB6 API are not in this library link to.

    We are looking to add a new net_rim_api.jar to the SDK so that people can take advantage of the API of BB6.  However, do not know if you are using a BB6 API your app does not work on BB5.  When the application starts, it will get a link error because the API expected is not present.

    You can make your extension work on BB6 by downloading the Java SDK and copy the net_rim_api.jar file and place it in your SDK WebWorks... I believe in the SDK WebWorks is in your directory "lib".

  • How do we get the device phone number using webworks api 2.0

    I could see an example of code to get the phone number of javascript which is not supported for BB10.  The code below does not work for BB10? If so, what is one alternative to the native extension.

    
    

    Hi beats,

    It is currently not possible. The only way you could get the phone number in this moment is to create a native extension that accesses the 'phone' / 'Line' API here http://developer.blackberry.com/native/reference/cascades/bb__system__phone__line.html?f=line#functi...

  • Use of BarCode WebWorks App extension attempt

    I have configured the extension of the barcode thus:

    The library.xml is located in C:\Program Files (x 86) \Research In Motion\BlackBerry WebWorks SDK 2.3.1.5\ext\webworks.media.barcode

    Files in directory and java UI are in C:\Program Files (x 86) \Research In Motion\BlackBerry WebWorks SDK 2.3.1.5\ext\webworks.media.barcode\webworks\media\barcode

    The app config.XML looks like this:


    http://www.w3.org/ns/widgets"xmlns:rim ="http://www.blackberry.com/ns/widgets"version ="1.0.0.0">"
      Soldier Barcode App
      DemoBarCode illustrates the native use of barcode libraries within the BlackBerry Application.
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    When I try to package this I get the following error:

    C:\Program Files (x 86) \Research in Motion\BlackBerry SDK WebWorks 2.3.1.5 > bbwp C:\UID\SMBA\SoldierBarcodeAppTOSIGN.zip o C:\UID\SMBA\output
    [INFO]                  Parsing of the command line options
    [INFO]                  Bbwp.properties analysis
    [INFO]                  Validation of archive application
    [INFO]                  The analysis of config.xml
    [WARNING]               Can't find the item of
    [INFO]                  The application of filling source
    [Fatal error] library.xml:16:6: matching the target processing instruction "[xX] [mM] [he's]" is not allowed.
    [ERROR]                 Feature is not found in any extension (webworks.media.barcode)

    Help!

    I found that the problem was caused by the expansion webworks.media.barcode library.xml file.   The comments before thetag.  When I moved thetag of the first line of the file everything worked.

    Thanks to Jeff Bentley RIM to help resolve this problem.

  • Is Android Runtime WebWorks taken Update supported?

    Hello!

    I think to update an Android Runtime application that is published in the world of the BB with a new web application built with WebWorks.

    Is - it possible/supported?

    Thank you

    Imre

    I'm not familiar with this bug, the best is to keep an eye on this in JIRA, as you did.

    Aside from that, they can link your new keys the former ID App for you, but you will need to contact support via the provider portal. It will be a small amount of work necessary get the configuration of your environment again for WebWorks, but I think that ultimately, it will be long for you.

Maybe you are looking for