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.

Tags: BlackBerry Developers

Similar Questions

  • How to use multitouch in Webworks app?

    Hello!

    After my first problems in the development of the app for BB in Webworks I still made my app. I have to use multitouch now, but I have no idea how. I did find samples with multitouch. I found only this: http://developer.blackberry.com/html5/apis/touchevent.html#targetTouches but I don't know how to use this function. Can you help me?

    PS. Sorry for my bad English

    And that's that

    The following example is an implementation of filling of touch

    I decided to leave the bind to the mouse in that it is probably useful to others

    It is a living example of an ePub with blow gettures reader and touch

    The code is a little complex, so I will answer any other than Gregs Qs

    Basically what this did that target an iFrame and control

    Anywhere you see a reference to my target frame - ignore it and replace with what you want to do

    The hardest things to understand for the novice, here are the angle and the time (both are included)

    Without much explain this sets @ high tell the manager what to do

    A call to bindtouch (target) does what it says but is native, you must pass the name of the div tag

    A binding triggers all important events

    Angles and timing are still developing

    Timing is crucial if you need one no doubt

    Angle is optional and depends on how the finger is moved, but requires a JS call very expensive Math.atan2 (point1, point2)

    Basically Angle you indicate where you moved your finger after the first touch so you can probably kill such things

    The County touch gets the correct contact and doing what it takes with it based on defines it

    Look - I told you it was very complicated

    Oh - bind it to the mouse allows you to transfer the call to a mouse event - I thought it might be useful for other readers

    The target an iFrmae is also very convenient as it is scrolling

    I leave you for that suit your needs

    function bindtouch (target) {}
    var TOUCH_TAP_DIST = 30;
    var TOUCH_TAP_TIME = 150;
    var TOUCH_DRAG_DIST = 50;
    var TOUCH_DRAG_TIME = 500;
    var TOUCH_DRAG_VELOCITY = 50;
    var TOUCH_SWIPE_DIST = 50;
    var TOUCH_SWIPE_TIME = 500;
    var TOUCH_SWIPE_VELOCITY = 75;

    var SWIPE_NONE = 0;
    var SWIPE_RIGHT = 1;
    var SWIPE_UP = 2;
    var SWIPE_LEFT = 4;
    var SWIPE_DOWN = 8;

    var _TOUCH_DRAG_VELOCITY = TOUCH_DRAG_VELOCITY * TOUCH_DRAG_VELOCITY;
        
    var touch = [];

    var el = target;

    function squangle (p1, p2) {}
    ((p2.y-p1.y) return math.atan2, (p2.x - p1.x));
    }

    el.addEventListener ('touchend', Function {}
    e.preventDefault ();
    var TB = e.changedTouches;
    for (var i = 0; i)
    CTI var is ct [i] .identificateur;.
    CTO var = ct [i];
    {if (CTO. ClientX)}
    Touch [sic] = {sx: cto.clientX,}
    SY: cto.clientY,
    TX: cto.clientX,
    Ty: cto.clientY,
    BX: cto.clientX,
    by: cto.clientY,
    PV: 0,
    {TM: e.timeStamp};
    var id = "#tch" + ct;
                    
    evt var = document.createEvent ("MouseEvents");
    evt.initMouseEvent ("mousedown", true, true, window,
    0, cto.screenX, cto.screenY,.
    cto.clientX, cto.clientY, false, false, false, false, 0, null);
    e.srcElement.dispatchEvent (evt);
    }
    }
    });

    el.addEventListener ('touchmove', Function {}
    e.preventDefault ();
    var TB = e.changedTouches;
    for (var i = 0; i)
    CTO var = ct [i];
    TCO var = touch [cto.identifier];
    var ms = e.timeStamp - tco.tm;
    {if (CTO. ClientX)}
    TCO. TX = cto.clientX;
    TCO. Ty = cto.clientY;
    TCO. PV = Math.sqrt (((tco.sx-tco.tx) * (tco.sx - tco.tx)))
    + ((tco.sy-tco.ty) * (tco.sy - tco.ty)));
    if(e.touches.Length == 2) {}
    dreadful var = e.touches.length;
    }
    if(e.touches.Length == 1) {}
    var dx = Math.abs(tco.bx-tco.sx);
    var dy = Math.abs(tco.by-tco.sy);

    If (tco.pv< _touch_drag_velocity)="">
    If ((smode == SCALE_ZOOM) & (fsize > 1.00)) {}
    $(frames['appframe'].document).scrollLeft ($(frames['appframe'].document).scrollLeft () + (tco.sx - tco.tx));
    //                            }
    EB var = $(frames['appframe'].document);
    St var = eb.scrollTop ();
    $(frames['appframe'].document).scrollTop (st + (tco.sy - tco.ty));
    .SX Touch [i] = e.touches [i] .clientX;
    .Sy Touch [i] = e.touches [i] .clientY;
    }
    }
                    
    TCO. SX = cto.clientX;
    TCO. Sy = cto.clientY;
    }
    }
    });
                
    el.addEventListener ('touchstart', Function {}
    e.preventDefault ();
    var TB = e.changedTouches;
    for (var i = 0; i)
    CTO var = ct [i];
    TCO var = touch [cto.identifier];
    var ms = e.timeStamp - tco.tm;
    var dx = Math.abs(tco.bx-tco.sx);
    var dy = Math.abs(tco.by-tco.sy);
    evt var = document.createEvent ("MouseEvents");

    If ((dx< touch_tap_dist)="" &&="" (dy="">< touch_tap_dist)="" &&="" (ms=""><= touch_tap_time))="">
    evt.initMouseEvent ("click", true, true, window,
    0, tco.sx, tco.sy, tco.sx, tco.sy, false, false, false, false, 0, null);
    e.srcElement.dispatchEvent (evt);
    }
    ElseIf (((dx > TOUCH_SWIPE_DIST) |)) (dy > TOUCH_SWIPE_DIST)) & (Mrs.<= touch_swipe_time))="">
    if(DX > TOUCH_SWIPE_DIST) {}
    If (TCO. BX > TCO. SX) {}
    swipex = SWIPE_RIGHT;
    }
    else {}
    swipex = SWIPE_LEFT;
    }
    }
    else {}
    swipex = SWIPE_NONE;
    }
                        
    if(dy > TOUCH_SWIPE_DIST) {}
    if(TCO.by > TCO.) SY) {}
    swipey = SWIPE_UP;
    }
    else {}
    swipey = SWIPE_DOWN;
    }
    }
    else {}
    swipey = SWIPE_NONE;
    }
                        
    If ((swipey == SWIPE_NONE) & (swipex == SWIPE_RIGHT))
    {
    switchPage (1);
    }
    If ((swipey == SWIPE_NONE) & (swipex == SWIPE_LEFT))
    {
    switchPage(-1);
    }

    evt.initMouseEvent ("mouseup", true, true, window,
    0, tco.sx, tco.sy, tco.sx, tco.sy, false, false, false, false, 0, null);
    e.srcElement.dispatchEvent (evt);
    }
    else {}
    evt.initMouseEvent ("mouseup", true, true, window,
    0, tco.sx, tco.sy, tco.sx, tco.sy, false, false, false, false, 0, null);
    }

    }
    });
    }

  • How to get the Blackberry ID using javascript for Webworks App?

    Hi all

    I have developed a web application using Blackberry webworks SDK and emulator Ripple... Here, I need to get the Blackberry device ID using javascript... Please me... Thanks in advance...

    With respect,

    Marimuthu_P

    HM... There is a sample to get the PIN with javascript.

    https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.identity.html#.UUID

  • Using JSR 172 stubs in WebWorks app

    Hello
    I'm new to webworks. I need to know how to access the webworks app webservices. I have a .net Server, and I created the stubs using JSR172. Now, I need to know how to use those heels in Webworks BB applications. Extension of JavaScript is a solution? If so, how to convert my heels as Extension of Javascript?

    Thanks in advance...

    Creating a script JavaScript extension for stubs will be complicated and is not portable to other platforms or the PlayBook.

    There are some examples out there how to call a web service SOAP directly via JavaScript and AJAX.  Here are just a few examples

    http://www.TechRepublic.com/article/easily-consume-SOAP-Web-services-with-JavaScript/5887775

    http://javascriptsoapclient.codeplex.com/

  • Call another internal App using WebWorks App

    Hello

    Is there a way I can call it an installed application (not specific playbook) of my webworks app? Something similar otherwise call functionality. Clues on how to invoke an application in a similar way? No API for the same will be available in the near future?

    Thanks in advance

    Praveen

    You can call a 3rd another application of part on the smartphone BlackBerry using the JavaArguments.  On the PlayBook, you can only call the applications listed in the API to invoke.

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

    I don't know when they will import this feature for the PlayBook.

  • Start/Invoking third-party apps from the WebWorks app

    Hi all

    Just a quick question. Is it possible to start/call a third party on a blackberry java application 7 from a WebWorks app?

    I did some research and it seems that it is impossible. I did the opposite and opened a WebWorks app from java application successfully but hope that it is possible.

    Thank you all for your time.

    Rob

    Unfortunately BBOS was not as flexible as BlackBerry 10 invocation framework and what was available on the side of Java is not inherently available in WebWorks.

    You can use the ApplicationManager:
    http://www.BlackBerry.com/developers/docs/7.0.0api/NET/rim/device/API/system/ApplicationManager.html

    Launch an application, if you know the information on the module itself.

    launch
    http://www.BlackBerry.com/developers/docs/7.0.0api/NET/rim/device/API/system/ApplicationManager.html...

    launchApplication
    http://www.BlackBerry.com/developers/docs/7.0.0api/NET/rim/device/API/system/ApplicationManager.html...

    runApplication
    http://www.BlackBerry.com/developers/docs/7.0.0api/NET/rim/device/API/system/ApplicationManager.html...
    http://www.BlackBerry.com/developers/docs/7.0.0api/NET/rim/device/API/system/ApplicationManager.html...

    However, if you want to access these in WebWorks, you create a custom extension to call the native API (Java).
    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/Smartphone/template

  • BlackBerry WebWorks app via a URL with the parameters of launch?

    I have an application of WebWorks I want to start with a URL to the browser and pass parameters to query URL to the application in this way. Is this possible? How? I would be happy to use HttpFilterRegistry or API call, but I don't see how to use these approaches to get my WebWorks App settings, even if I write a custom extension. Example of code would be very useful, especially to consume the parameters. Or at least an indication of which API (s) for this.

    This should be supported by the framework. What I would like to recoemmend is simply invoke the application according to the normal and placing the parameters in the URL to the standard '&' "?" rating.

    Then take advantage of the class UTIL. JS out of the parameters passed required...

    https://bdsc.webapps.BlackBerry.com/HTML5/APIs/BlackBerry.utils.URL.html

    (If you need help, citing the app, it is done as invoke any other java application on the device)

    R

  • WebWorks app and E - SSO

    Hello, hoping someone can help me solve this little problem.  I have an app webworks running in the scope of work that makes a call to a webserver using Jquery ajax, the Web server expects the user to be authenticated, from what I've read about the Enterprise SSO, this should be available out of the box, but I do not get the login prompt?

    E - SSO is configured on the BES/device and I tested it.  If I navigate to the same URL on the browser to work, I can authenticate and retrieve the data (JSON), the credentials are then cached and used on future attempts.

    E - SSO is supported with Jquery? I need to enable/check all services within the Webworks app?

    Thank you

    Hello

    Yes, it's a bug of the platform.  Thanks for bringing it to our attention.  I do not have exact time lines, but 10.3.2 will be out soon.

    Thank you

    Naveen M

  • 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 :-)

  • How to run or pass local webworks app through ripple?

    How to run or pass local webworks app through ripple?

    Do not click on 'Enable' to ripple extention if my files in the local file system.

    You can use the local file system for waving as well, but you must do this:

    -Open Chrome settings

    -Click on Extensions

    -Select the ripple

    -Check 'allow access to the URL of the file.

  • Super App, link the calendar to my webworks app.

    Hello

    I was wondering if someone can suggest and approach to achieve the following objectives. I am writing a webworks app that will add appointments to the native blackberry calendar. In field notes would be a link that allows you to jump into the webworks app. for example

    http://MyApp.com/showclient/10

    This link should be webworks out of the background applications and bring to the foreground and then show customer number 10 details.

    I started to address this problem by using a httpfilter for the domain "myapp.com.

    HttpFilterRegistry.registerFilter ("myapp.com", "mypackage.filters", true);

    in the Protocol.java method of the file openFilter filter I can see the name of the url (for example the action and the customer number etc.), but where I'm stuck is to identify mechanisms to invoke the JavaScript on my webworks app to bring to the forefront and to charge the customer.

    My current setup is an app of webworks with a native extension that records the httpfilter. At this point, I tried store away a reference to the scripting engine, the reference to javascript to call as a parameter to the method of extension, but when the URL is intercepted and I try to read read the script engine or the javascript reference, they are zero. I suspect that the httpfilter is picked up in a space of different application or something? S

    If someone can tell me how to leave a httpfilter to call my webworks app and give him the necessary information to pass to the right pages.

    Managed to fix this using using the ApplicationManager and post a global event and have a global event listener in my webworks application manage just incase of anyone trying to do something similar

  • Recommendations for a password manager App / extension safari?

    Someone at - it recommendations for a password manager App / extension safari?

    "1Password" seems to be very well rated, but is quite expensive for what it does.

    Is there something cheaper that works as well or nearly so?

    Thank you

    One possibility is the iCloud integrated Apple's Keychain: frequently asked questions about iCloud Keychain - Apple Support

    I don't use it myself but only because I need something that works also on Windows and OS X and iOS. I use Dashlane because it's that good: https://www.dashlane.com/

  • How do I send the email from BB10 webworks app

    I want to have a module in my BB10 WebWorks app that will allow users to compose a message by entering the information in a form, which will then be sent by e-mail to an e-mail address.

    I guess this could be done by using the EmailComposerOptions API, but I don't know how to use it.

    Any help will be appreciated.

    Have you looked at the code example in the API document?

    https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.Invoke.card.html#.invokeEmailComposer

    < script="text/javascript">
    //simply invoke email composer, with no options and callbacks
    blackberry.invoke.card.invokeEmailComposer();
    
    //invoke email composer with subject, body, to, cc and attachment options
    blackberry.invoke.card.invokeEmailComposer({
        subject: "Email subject",
        body: "Email body",
        to: ["[email protected]", "[email protected]"],
        cc: ["[email protected], [email protected]"],
        attachment: ["/path/to/an/attachment.txt", "path/to/another/attachment.txt"]
    }, function (done) {
        console.log(done);
    }, function (cancel) {
        console.log(cancel)
    }, function (invokeError) {
        console.log(invokeError);
    });
    
    

    Once the function is called, map of composer email will slip into the view with all pre-filled fields and the user can then click on send.

  • Screenshot of WebWorks BB10 extension

    I published my extension of screenshot for BB10 WebWorks on Github.

    https://github.com/jonwebb/WebWorks-BB10-screenshot

    It allows you to get a bitmap of your WebWorks app and save it to disk or memory.

    Features:

    • Save to file, or return a URL data
    • rectangle control to capture
    • quality control of JPEG compression
    • capture in JPEG, PNG format
    • set file permissions

    Enjoy!

    Of course!

  • How to adapt the start screen on all webworks App blackberry blackberry devices?

    I'm working on blackberry webworks app targeting blackberry 7 & lower OS versions. I have a 360 x 480 pixels boot image that adapts perfectly to the BlackBerry curve Smartphone 9380. But the same splash image does not fit into other devices with different screen sizes. So, now I have created the home screen with a different resolution. But I don't know how to use it? Can someone like me how to select the splash screen dynamic based on the resolution of the device or other means to solve this problem?

    Unfortuantely on BBOS, you can have a single element of the rim: loadingScreen:
    http://developer.BlackBerry.com/BBOS/HTML5/documentation/rim_loadingscreen_element_834680_11.html

    Whereas the BB10, you can have several elements of the rim: splash that the device would automatically take the best resolution of.

    Because it is a property of config/xml, there is no way to dynamically assign values. You would need a separate for each loadingScreen dimensions version.

Maybe you are looking for

  • HP Envy 14 - battery charging

    Hello, my Hp envy 14 with Windows 7 does not accept its 19, 5V charger used more, but only accepts charging to 19V. HP AC travel adapter model: REPLACEMENT-CA26Input: 100-240 V - 1.6 has 50-60 HertzReleased: 19.5V 4.62 A, 5V Now, I managed to charge

  • Live running without waiting for results

    Hello world I have a problem that I can't imagine would be unique and may have an obvious solution that I forget.  in any case, I have a class that contains an array of a separate allows class calling device.  in the class of device, there is a (vi)

  • Cannot access the Microsoft Updates Web pages

    using XP Home Edition on a laptop. Victim of a crisis (virus/trojan/worm - don't know what) in the new year, she launched the system restore and all of the restored data.  Downloaded AVG to analyse the system, checked MS Security Center and I saw it

  • In the Media Center in XP System Restore does not work

    Hello everyone, I'm new to this forum so please be gentle! I have a Dell Dimension E521 with XP Pro Media Edition. 12 months after I bought the pc, I had a problem and wanted to use system restore. The calendar showed various restore points, so I cho

  • How do a list of jpeg file to a working directory folder titles list text on Excel or Word

    I want to create a library in Excel of all the images that we have given the reference numbers. All images are titled with the part number, for example 43682 001. I want to understand this list on Excel, but I'm not able to get this list of titles of