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!

Tags: BlackBerry Developers

Similar Questions

  • custom for bb10 extensions

    can be customized for bb10 extensions just with java?

    It's true.

    Extensions are now written in C/C++.  Here's the documentation https://developer.blackberry.com/html5/documentation/creating_extensions_for_bb10_apps.html

  • Installation of WebWorks-BB10-Win - v1.0 on a win7 64 bit OS, how to specify the version of 32-bit jdk

    Hello world

    IM struggling a bit here and for once google was not all useful.

    I have a Win7 64 bit OS, where I have my jdk 64-bit installed for other projects, I'm working on that.

    I must now do some development work light and is one of the things that he told me to install WebWorks-BB10-Win - v1.0, I downloaded... However on the installation manual it says to make sure that I use a 32 bit JDK for her (http://worklight.com/download/get-started/4.2.1/module-2.3 page 4)...

    Is there a way to specify at the time of the installation wizard, where is the desired jdk? Because it is by default to always find the 64 bit, a... I played a bit with changing environment variables to no effect... I am really lazy uninstall the 64-bit jdk version just for that...

    Thank you

    Jose

    This collection speak WebWorks for our Java-based phones. BlackBerry WebWorks 10 SDK requires no Java.

  • [BB10 - Extension Webworks - link to Qt and Cascades library]

    Hello everyone (and RIM - Research In Motion - QNX Mometics - Qt).

    I want to add an environment variable CONFIG += qt warn_on debug_and_release stunts for my extension, what do I do?

    And I want to add the file *.pro for my extension project, what should I do?

    Best regards

    Dennis Ritchie.

    My extension uses the same thing you are trying to do

    There are a few hoops you have to jump through when writing extensions, but once past that they is not difficult

    If you gimme an idea of what you are after using I can help properly

    The simple rule is not Visual in the extension

  • 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 get the Flash to WebWorks BB10 support

    Hi guys

    I have a lot of WebWorks/Playbook App World applications that contain flash files. This works very well and did me a lot of money last year.

    Now, I wanted to create some Apps BB10. First I tried to use Adobe AIR, which does not support ActionScript 1 or 2 - can not use it.

    Then I tried to get my web apps works working on BB10 and my DevAlpha the flash file is not displayed.

    BB10 browser supports flash without a problem then why you guys would be delete Flash in WebWorks applications?

    I'm doing something wrong?

    Help, please

    Flo

    In the config.xml file, you need this

    
    
  • WebWorks BB10 build error.

    EDIT: I have the same problem using the following command line (IE without ripple):

    bbwp v:\first\out\morfGPS.zip-d so that I presume that there are no associated ripple (edited title).

    [BlackBerry 10 SDK 1.0.0.15 WebWorks]

    When I build my application with ripple, I get the following error in the console:

    Could not find the feature with id: blackberry.system.event

    I have read the FAQ of PB and learned I have to respect in the strokes and then added hirachy before the .

    Still no luck... any idea?

    PS: the "" is present in the BBui.js documentation, especially why it is in mine. Thought it was necessary...

    
        http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0.0" rim:header="MorfGPS" id="SuperMorf">
        MorfGPS
        blah GPS and utilities App
        Antoine (Superfly_FR)
        
        
    
        
            
        
        
    
        
        
        
        
    
    
    


    Events for BB10 are managed differently.

    Add events with blackberry.event.addEventListener.
    The events are in different areas.

    You need not add blackberry.app.events to the config.xml file. Add/removeEventListener are always available.

    (personal note: so goes for blackberry.app.event if you refer to my above config.xml file)

    However, you do not have to add a feature that contains the actual event you want to play.

    Thanks to Ken Wallis.

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

  • Problems by signing a request of WebWorks BB10

    Hello

    I'm trying to sign a request for webworks (1.0.2.9) BB10 but I get an error message:

    [ERROR]   Error: The signature on the request of code signing did not check.  The probable cause of this problem is entered a wrong password CSK.

    The problem is that I can't determine the parameter to use to specify the password of KSB. There seems to be a single "-g" parameter and password seems to relate to the keystore password.

    When signing for tablet OS theres '-gp12 ' and '-gcsk ', but these settings are no longer valid.

    Thanks in advance.

    The problem lies in the fact that my keys and csk file passwords are different and bbwp expects that they are the same (that she is not made for the playbook). If I created new keys, I would use the same for both.

    In any case, I found a solution and it is to use the Pei parameter:

    bbwp c:\myapp\myarchive.zip g mykeystorepassword Pei params.json o c:\myapp\output

    The csk password is specified in the file params.json as well:

    {
    'blackberry-signatory': {}
    '- cskpass': 'mycskpassword '.
    }
    }

    Thank you all for your comments.

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

  • When porting from iOS to WebWorks BB10/7, I have to keep phonegap?

    Hello

    I just get to work for an iOS phonegap app over ports at BB WW and I was wondering: is keeping phonegap is necessary or wise?

    The old app on iOS using phonegap 2.2 (recently upgraded to a very old version) and some plugins such as mapkit (uses that much, I can't just drag the mapping features - like view location on map and directions).

    Aura of the maintenance phonegap and using a version of BB of mapkit (when it exists) be easier than just porting to WebWorks?

    Also keep in mind that I want to port BB10 and OS7 and can - if it's easy - OS5 - 6 and I don't want to have very different code base for different versions of the BB OS.    I already have an older version of java application running on OS4 - 6, but it would be nice to put a new version for old devices also.

    I only did a webworks app but then I don't know much but so sorry if it's a bad question.

    Thank you

    PhoneGap/Cordova supports BlackBerry by calling WebWorks. Cordova doesn't support BB10 until 2.3.0 or 2.4.0, if so you need to update if you want to use. We're going to do also all Cordova the way standard and official to create HTML5 on BB10 applications, so stick to Cordova is sustainably good thing.

    However, I am not aware if there is a port on BB10 mapkit. Certainly, you can do the mapping, but you may need to take one of our samples of mapping and wrap it up in the same API if you want it to run perfectly.

    Now, porting to OS7 should be OK, but when you talk to will OS5 and 6, you may encounter more problems. At this point, those are very old devices. The engine of the browser in them is a good few years old - OS5 does not also WebKit. Memory and processors are half of what's available in devices OS7. You have to be very effective to make it work as you want.

    It is difficult to give really good advice without knowing your target market, demographics, and the region, and what kind of features you want to deliver (in addition to the maps). These factors will determine what kind of userbase you can expect on the different versions of the OS, and that it is better to port PhoneGap version for old phones, or update the Java version. Take a look at the BlackBerry World user stats that we publish and your own user base numbers. Generally, we found that users with the latest hardware equipment are also those who buy apps or spend money on them, and those with more recent or fairly recent devices is those who download. Make sure that you balance the available opportunity development times.

  • Executable file of BB10 extension

    Whats a BB10 application executable file extension? And in the project in the folder in which it resides? Is this one in the binaries folder?

    OK I solved it. The problem was: at the helm - descriptor.xml under 'current SDK target' 'Advanced' option has been selected. I changed it to Blackberry OS 10.0.9.1101. and then I ran the project and created the file bar. Thanks for the replies

  • How to call my app of the BBM (webworks bb10)

    Hi all

    I am writing a game I'd like to as BBM to work with connectivity. All I need is that when the user of the application sends an invitation to another contact on BBM, the contact receives a message saying "you have been invited to join a game of... #appname" Please click on this message to accept.

    Once the user clicks on the message she calls my application passing two variables (which can be strings of plain text).

    I looked at all the samples and got more confused that I don't know what format data must be sent to bbm in so that he can allow the by clicking the message to invoke the app I guess it must be some kind of custom mime type, but I'm tired of trying to figure

    I use webworks for bb10.

    Help, please.

    The file must be saved in the browser workflow too.  Currently no way around this.

  • New to webworks bb10 need advice where to start

    Hey I m new for the webwork environment .i need help with the update where I should start how to work webworks

    My goal is to create an application with a splash screen that open a mobile site and to have an effect of loadding when there is a navigation between pages.

    Thank you.

    Hi - welcome

    If you can run on your desktop in Chrome you are 99% done

    Basically all what you need to do is to take a site and give it a wrapper webworks

    The basic skills you need are HTML, CSS and JavaScript

    If you can manage those you will have very few problems

  • Make a keyboard WebWorks BB10 compatible applications for Q10

    Hello

    Asked me to wear a WebWorks application originally designed for the Z10 to the Q10.

    One of the requirements is to make the application compatible keyboard.

    What they mean by that, is that, in the application, a user is presented with a series of options on the screen; A, B, C, D.

    On the Z10, they can only use the touchscreen, but they want users on a Q10 to keypress A, B, C or D and who trigger this selection as option.

    Is this available in th WebWorks API?

    Yes, you can do it with event listeners and the keypress or keydown events.

    When a user presses keyboard events, these events are triggered, and then you can map them to appropriate the JavaScript functionality.

    Here is an example that illustrates the main events:

    http://BlackBerry.github.IO/WebWorks-samples/kitchenSink/HTML/browser/KEYEVENTS.html

    Here is a code snippet that should help you to solve your problem:

    window.addEventListener("load", function(ee) {
    
       document.addEventListener("keydown", function(e) {
          var theChar = String.fromCharCode(e.keyCode);
    
          switch(theChar) {
    
             case "a":
                alert("a");
                break;
    
             case "b":
                alert("b")
                break;
             default:
                alert("unsupported char : " + theChar)
          }
    
       },  false);
    
    }, false);
    

Maybe you are looking for

  • Not able to find, or the place where to subscribe to live bookmaks in worm 23.0.1.

    Use a way to subscribe to live bookmarks. No it's not. I use Windows 8. On a freshly installed firefox, there was no "latest news" it of fine, but how do I add my own live bookmarks now? I know if there is a direct link to a live bookmark like this h

  • Satellite 4090XCDT - updated DVD-ROM CD-ROM

    I have my daughters old Satellite 4090 & installed me o/s and improved for max 192 MB of Ram. I can't upgrade HDD as this is incorporated.I've cleaned inside & it runs good considering the age & the whole package. It is for my granddaughter to use as

  • How to import the IPhone AAE setting in Aperture?

    I made a lot of corrections of colors and cultures already on my iPhone but when I import into Aperture to are not on the whole. Is there a to apply these settings to imported pictures Dave

  • HP 'aid' is not worth re F3 key

    Hi, HP - I combed through everything I can find - both here and on Google - also went to support Windows (Microsoft) - thought that maybe they know why the function keys do not work once they did could not help me either - if you can't work the bugs

  • SanDisk Clip + sort problem

    Hi all, I read the previous messages in the forum about this problem but nothing is me helped.  I call my mp3 music (more than 2000 of them) starting with an acronym of 3 letters for the band, and then a number that corresponds to the order I want th