WebWorks and Python

Hello

I have a website I want to convert a BB10 app. My web backend use c# to spawn a process and run a Python script. I was hoping that I can do something similar with WebWorks.

I found this link that talks about BB10 and Python: https://github.com/blackberry/Python but I don't know what to do o f it.

If possible, examples of code would be much appreciated!

Thank you

George

No, WebWorks specifically.

https://developer.BlackBerry.com/native/documentation/BB10/qt_platform_choice.html

An application written using Binder language

If you are porting an application which uses Quick Qt or Qt widgets with the binding third-party language (Python, Java, Ruby, Perl and so on) you will need to rewrite those parts of your code. If this is the case, it is recommended that rewrite you your application using Cascades. As a best practice, write your UI with QML code and your business logic using C++ for portability.

Tags: BlackBerry Developers

Similar Questions

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

  • Installation of ActiveState Tcl/Tk and Python 3.5.2

    I installed the package 3.5.2 Python from python.org and by their recommendation went to activestate.com and downloaded and installed recommended Tcl/Tk package. When IDLE was opened it gave a message that Tcl/Tk is unstable and it appeared that the version was provided with the operating system, not that of ActiveState.com. I have more information about what I did to Pixelistes.com here: questions about installing Python.

    The problem would be that I installed Python 3.5.2 until I installed the ActiveState Tcl/Tk? I found some information on when the dynamic linker chooses the Tcl/Tk framework (at the time of importation) to post a link but did not understand the consequences. I wonder if Python 3.5.2 installation before I installed the framework recommended Tcl/Tk due to the dynamic linker to link the Tcl/Tk by Apple instead. I might need to tell the linker to use the new framework. Any ideas appreciated.

    When you run idle, by default, this is/usr/bin/idle that is installed with OS X (El Capitan) as the Python 2.7.10 distribution. It was compiled to find the v8.5.9 of ActiveState Tcl that Apple continues to ship.

    When you installed Python 3.5.2 and I hope that you have not installed it on OS X Python existing, it was a precompiled binary distribution that cannot have been compiled about what anyone more than available executives of Tcl/Tk that were part of Mac OS X at the time. Even if you have run idle3 in this Python 3.5.2 distribution don't you may see no change in support of Tcl/Tk.

    When we install Python for a like Homebrew package manager, or alternatively, generates the source code, there are parameters of generation (for example - with-tcl-tk) that tell the source Python 3.5.2 code looking for executives of Tcl/Tk and use + 8.6.4 ActiveState libraries if they are. As idle3 is compiled at the time too, he knows that he has to use the most recent available Tcl/Tk framework. This is the case with my idle3.

    If you plan to build your own Python 3.5.2 you will need the latest tools of command line for (OS X El Capitan), and I encourage you to put the distribution in the tree/usr/local. I've patched and always use pythonbrew for several juggling Python distribution, as I installed v2.7.12 and 3.5.2. Two of these Python distributions I would build on ActiveState Tcl/Tk libraries.

  • Question about WebWorks and Windows 10 compatibility

    I would like to know, can I run on Windows 10 WebWorks? Someone at - it tried?

    As far as I know that it has not been tested officially. I do not think that you will be able to install it there because of the requirements inherited in the installer itself, but running it I expect to work. Cordova, which it inspired, is used to create applications for Windows 10, so I think it's reasonable for the base code works very well.

    I'll test it when Windows 10 comes out at least, and I'll see if I can try it on the preview in a VM too.

  • WebWorks and HTTPFilterRegistry BB10 and BBOS

    Hello

    Could someone register a URL so that it starts an application on the platform BB10 or BBOS webworks?

    For example,.

    If I click on a link in the browser on a BB10 such as

    childtrac://www.openmyappurl.ca/app_params?param1=myparam

    OR

    http://app.childtrac.ca/app_params? param1 = myparam

    It should open the childtrac app and the application parses the parameters on the URL to do something.

    Thank you

    Marc

    Got to work on BB10.  Have not yet been tested on BBOS.

    Here is the code that you need after the application of the application filter code in your config.xml file.

    In the config.xml file

    In the file .js Webworks application.

    function onInvoked (onInvokedInfo) {}
      
    If {(onInvokedInfo.uri)
    Alert ("uri =" + onInvokedInfo.uri);
    }

    }

    blackberry.event.addEventListener ("called", onInvoked);

    Add to the test HTML file.

    click on this link to test.

    Running application appears "childtrac://myparameters" in an alert box.

  • 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

  • WebWorks and persistent or storage SQL Lite

    Hello

    I'm looking for more help write webworks app for persistent storage or SQL lite storage,

    Anyone can throw some light on this.

    Thank you.

    Hi tububerry,
    You can see https://developer.blackberry.com/html5/apis/Database.html
    https://developer.BlackBerry.com/HTML5/APIs/localStorage.html

    and here's the example source code: http://blog.darkcrimson.com/samples/localdb/darkcrimson_localdb_demo.zip

    A Pham

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

  • webkitVibrate works is not on the latest Webworks and Dev Alpha OS?

    My application uses the navigator.webkitVibrate function, which worked very well on the previous OS Dev Alpha as well as on the Webworks 1.0.2.9 SDK.

    I updated to 1.0.3.8 and also updated Dev Alpha, and now my app is broken. The vibration does not work. Any thoughts? Do you have this change or are additional permissions required in the config.xml file? Thank you.

    OK, I got a response from Github...

    It has been moved:

    navigator.webkitVibrate ();

    ... today is...

    Navigator.VIBRATE ();

    Name of the function changed. I did a text replace through all of the code in my application and recompiled, it doesn't! Thank you very much!!!

  • How/where to use jquery with webworks and bbui?

    Hi, I have a small application bbui and webworks.

    now I need to add jQuery code, but I don't know where exactly he Add. I want to add for example something like this:

    $(document).ready(function () {
        $("#Div1").click(function () {
            alert("Hello world!");
        });
    });
    

    I added to my index.htm, but my code designating the Div1 element, is in a http://www.sigling.is/IMO/imofishing/home.htm which is loaded via bb.pushScreen

    its not working, I have to add the jQuery code for each "screen" where I want to use?

    I don't know where to place them in a page 'normal' jQuery, but here the bb.pushScreen is special.

    but I solved it now:

    bb.pushScreen('home.htm', 'home');
    

    can I use the following syntax:

    ondomready: function(element, id) {
            if (id == 'home') {
                $("#Div1").click(function () {
                    alert("Hello world!");
                });
            }
        }
    

    and it works

  • Confusion WebWorks and Adobe Air

    I'm quite confused and possibly this ad in the wrong place!

    I created an application for the playbook using HTML/Javascript. And compiled using Packager BlackBerry WebWorks for PlayBook. I submitted the app and I got an email from RIM saying I need to:

    Please download using the most recent 0.9.4 SDK

    Now, here's my confusion. This SDK are referring to? The SDK works Web is v1.0.0.23 Beta3 and the Adobe AIR SDK is v2.5. This is the BONE of the tablet which is v0.9.4. Am I supposed to compile against the Tablet OS? I thought it was only for AIR applications with .as and .swf files.

    The documentation is sparse, and I do not know how to proceed. How to compile my html/js files against 0.9.4 SDK?

    SDKs updated March 14, 2011 (v1.0.0.23 Beta3) is updated March 14, 2011 (v0.9.4) simulators

    They want you to compile using the latest version of the SDK... If you have already signed using the leatest... then ignore that email... anyone who has... esp... If you have made at least a version in the past which was built using the older SDK.

  • 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 external cod

    Hi all

    I am trying to add a 3rd lib in my webworks app, but there is a problem. The pots contain .classes (stub methods, I think) and cod. I followed this guide and I've successfully compiled everything. However, after activating the signtool gui, I see that RIMAPPSA2 signatures are needed. I can install the application on my device, but then I get the error "cannot call native method.

    I was already able to encode a moped with these libs. They are properly signed by the seller. Environmental jde, I only need to add them to the path of building and then, after the signing of the output files, I simply add their COD through UpdateJad.

    No clue on how to solve it in webworks?

    THX

    Hello
    I'm not registered any missing key. Just adding my pots as shown in guide, seems to force the signtool to sign. So my solution is as follows: I removed the jars, but I left the tag dependency in the library.xml as shown (not sure if it's really necessary)
    I saw that bbwp basically reconditions everything and that what he calls the CAP. In the main folder webworks, I found a file named bbwp.properties. I added my pots in the import after the net_rim_api tag, using the ';' as the delimiter.
    After compiling, I used the updateJad tool to add cod of the 3rd party or external modules in my application.
    And it worked

Maybe you are looking for

  • The international value of the APP

    Hello! I'm from the India. I have a MacBook Pro with the retina from 2015 & 12 days remaining in the APP. I want to thank the APP for the next 2 years. But I intend to go for studies in Australia. There are therefore APP valid or not?

  • My home page does not open when I click on "new tab".

    OK, I made the topic: config and it changed to google.com appears when I open a new tab. It does not work for me. When I open a new tab, it happens;-There is no link at all-An icon for Facebook, Youtube, Twitter, Amazon, Ebay, Google Maps, Google Mai

  • When I open Firefox, I get a split screen with Watchseries on the left and firefox on the left.

    I installed a month ago and could never make it work.Can not find a way to uninstall it

  • Junk address bar in the bottom screen

    If I point with the mouse on the blue as links change and changethe text as: https://support.Mozilla.com/NL/questions/new?product=betaor https://support.Mozilla.com/NL/questions/new?category=B5 & ShowForm = 1 & Product = beta & Search = unwanted + ad

  • NEITHER 9870 on the NI 9144 NI 3110-controlled

    I have the following Setup: A NI 3110 industrial controller acts as EtherCAT master. A NI 9144 slave is connected, having a single NI 9144 inserted in slot 1. Can someone tell me please how to get this system running? I tried adjusting the NI 9870 ex