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.

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:

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

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

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

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

  • 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

  • WebWorks and Cordova requires a specific Configuration

    Hi, after a lot of research and do not find an answer, reach out to the larger community of developers.

    BES5 applications to read the dynamic variables set with an ITPolicy through user-defined settings, IE URL allowed.

    This allowed a compiled version of an application to use across implementations of different BES5, each customizable application.

    It is my understanding BES12 reintroduced this (missing in BES10), but can't seem to find any document detailing how to achieve this.

    I'm assuming that the application itself would need for declaration confirming that he uses a customizable variable. When the application is transferred to BES12, I guess the download process will know of this customization and let this field appear in the view of the application.

    Has anyone used this feature, it is available in BES 12.5?

    Some of these features have been added in BES12 for iOS and Android applications, but BlackBerry 10 does not yet support this.  To enjoy them requires native calls, it is not any extension of Cordova, I am aware of that support it, so you will need to create a plug-in.

    The following blog post explains how this can be done on the side Android.

    Restrictions/application Configuration

Maybe you are looking for