WebWorks App to add to the global goal of part?

Hi, is it possible that I can my WebWorks App added to the overall goal of sharing such as BBM, email, BOX, DROPBOX...?

CU UserNeo

Try to list the URIS to which you want to be called with. This will help invoke framework add this to your filter definition:

There is also the caveat that this type of 'Screen share' requires a card composer so you must register yourself as a 'card.composer' using card.composer , since you say invoke you can manage to compose a share.

Who give an it worked for me.

Tags: BlackBerry Developers

Similar Questions

  • WebWorks app not to recognize the plugin for Blackberry app

    Hello! I'm portage a webapp Android to WebWorks. My Android application using Phonegap, so when I discovered the new WebWorks used to, it was a great relief. But the problem came when I tried to use the BlackBerry push service, because demand for some strange reason does not recognize the plugins I have installed through the console, just like the documentation says http://developer.blackberry.com/html5/apis/beta/blackberry.app.html.

    Since then I have removed everything that belonged to the push service and I installed the com.blackberry.app plugin to test the ways that they are supposed to work. It debugged in the Web Inspector and I have this message.

    ReferenceError: Can't find variable: blackberry

    This error came from this line in my code:

    Console.log ("the State of the screen is:" + blackberry.app.windowState);

    In my config.xml file, I have the line:

    I am new to this platform and I don't know if the plugins should be called somewhere in the html file or the js to make it work. Or is there something else wrong on how I use the plugins?

    BTW: my application uses the last cordova because I developed since the SDK WebWorks 2.0.0.54, but my app Android used Cordova 2.0.0 and this library is called in the html code. So, when I tried to change the cordova for the last file, the application didn't work, so I left there where he was.

    In the standard application of Cordova, the application calls app.initialize as follows (additional code left to show the implementation of the call and the scripts required):

            ...
            
            
            
        
    
    

    Which is defined in index.js as follows:

        initialize: function() {
            this.bindEvents();
        },
    

    Which subsequently called bindEvents

        bindEvents: function() {
            document.addEventListener('deviceready', this.onDeviceReady, false);
        },
    

    And records the event deviceready on the document listener. It is an event of Cordova and fires after that cordova.js has loaded and initialized.

    When occur, index.js continues to manage the event here:

        onDeviceReady: function() {
            app.receivedEvent('deviceready');
        },
    

    And we can see that receivedEvent can be used as a central event handler, if we so desire.

        receivedEvent: function(id) {
            var parentElement = document.getElementById(id);
            var listeningElement = parentElement.querySelector('.listening');
            var receivedElement = parentElement.querySelector('.received');
    
            listeningElement.setAttribute('style', 'display:none;');
            receivedElement.setAttribute('style', 'display:block;');
    
            console.log('Received Event: ' + id);
        }
    

    Note that the code inside receivedEvent is specific to the sample application by default.

    If you customize the code, it is important not to break the chain. More precisely until when you add the deviceready listener. Of course, there are other ways to get to this point, but if we find issues, it is better to return to the example of the most basic.

    If Cordova is indicating that he did not shoot within 5 seconds, there is not a lot of continuous loading on or Cordova has not properly load to the point where he can pull of the event.

    If you connect Web Inspector and then press ctrl + r in the Web Inspector to reload the application, the Console shows additional failures? (This will allow the newspaper display all outings since the start of the run.)

    Maybe in the network Panel, are there resources that could not load?

  • 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

  • Add WebWorks App to share the map

    Dear community,

    How can I add my Webworks App for the ShareCard?

    I want exaclty:
    I want to 'share' link from the browser native of my application, but I can't find a solution how to add my application to share the maps.

    Someone knows how to do this?

    I believe that this sample application shows how to do this.

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

    Above all, you will be interested the app "Remained" in this repo.

  • 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

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

  • 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

  • Contacts API - add to the action item "App."

    I am currently working on an application that is based on a list of customers, like opening the app. The application works perfectly, but I was wondering if it is possible to use the contacts API to invoke my application?

    I mean, when you open an email (within the hub of BlackBerry) you are given an element of action 'Add contact', so I wondered if it would be possible to have an element of action added to the emails in the hub of BlackBerry where the user could "add to the customer" so that he would take the name and e-mail address of the sender of email > invoke my app > fill in the fields with the data from the email

    I don't think that what you describe is possible.  You can add a menu item to share e-mail messages from the hub.  Who can partially make you what you are looking for.  This post is an example of it.

    http://supportforums.BlackBerry.com/T5/native-development/invocation-target-for-PIN-message-share-fr...

  • can I submit a webworks App (blackberry 10) for approval, but only tested in the emulator in the vm player?

    can I submit a webworks App (blackberry 10) for approval, but only tested in emulator in the drive of the VM, since I don't have any blackberry Device?

    where to find the differences between the web of BB and phonegap works,... preparation & submission?

    Or otherwise if I have a html5/css3/js/jQmobile approx... How loan submit? Android App Phonegap already submitted in the game of Google... but as I see there are differences between the BB web works and phonegap.

    We understand that not all developers have access to a physical device, which is the Simulator comes in. The Simulator you usually gives a good idea of how your application will run on a physical device, and you can absolutely submit this application for review of the BlackBerry World. If problems arise, the BlackBerry World team will let you know of those that need to be corrected before the application can be approved for sale.

    This is true for WebWorks, Android, etc. The BlackBerry World team reviews your application and provide feedback if there are all the important issues which seem to be broken. If you have tested the application elsewhere however, generally you should not be from.

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

  • To access the URL in webworks app

    Hi all

    What is the best practice to access a web page from a webworks app

    The argument of browser

    for example:

    var args = new blackberry.invoke.BrowserArguments ('http://www.google.com');
    BlackBerry.Invoke.Invoke (blackberry.invoke.APP_BROWSER, args);

    Also set your config file. XML

    -------------------------------------------------------------------------------------------------------------------------------------------------------------

    Don't forget to press the button I like accept as solution to help others so this post can help

  • WebWorks app does not work on the device

    I am currently working on the webworks app and then I compiled the app on Mac environtment. My application get not problem with the compilation of the process, but it does not start on a real device.

    My smart phone BlackBerry say: cannot display the file

    Thanks for the help

    @andriansandi

    Solved now

  • Make the text selectable in WebWorks App

    I created a PlayBook application using WebWorks, HTML and CSS and the app offers a great HTML textarea. For some reason, the user cannot select text to copy or paste text in.

    Is there something special that needs to be done to enable text selection? I checked my code and see nothing that prohibits text selection.

    Thanks for any advice.

    I tracked the solution (thanks to geniuses behind the app preview PlayBook). Check it out here: http://www.willw.net/enabling-copy-and-paste-in-a-webworks-app-for-the-blackberry-playbook/

    This simple solution that I was kicking myself for not understanding earlier!

  • Application of the WebWorks App launch

    Hi all

    I'm still new to the development of BlackBerry, but I'll try to find a way that if I have a WebWorks app (application) and a native app B, I would like to launch Application B with data of Application. Once the Application B is done, it must then be able to transmit some data more back to Application A.

    I started to look around and read through the api blackberry.launch

    https://origin-bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_webrefs/blackberry_launch_971534_1...

    but from there I see that you are able to launch specific applications.

    All advice is appreciated.

    Kind regards

    Michael

    Hi Michael,

    You can do this today on BlackBerry OS 5.0 - BlackBerry 7 (J2ME platform) using the blackberry.invoke.JavaArguments API:

    https://bdsc.webapps.BlackBerry.com/HTML5/APIs/BlackBerry.Invoke.JavaArguments.html

    You can also leverage plans.  In the J2ME platform, you can create a hyperlink with this beginning: or email: or by sms: to invoke the corresponding application when clicked.  Here's an example page:

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

    Thus, some MIME types are supported.  For example, if you had a link to a file external doc of your WebWorks App (for Tablet OS), so your users have to click on it then it would launch the corresponding application (DocsToGo).

    See you soon,.

  • Webworks app - same keys as signature by signing the java application?

    Hi people.

    I develop java applications and I joined them successfully.

    Now, I tried to use webworks so I installed the sdk and the ripple. Application works well in the Simulator, but I want to deploy to the device, so I need sign app. My question is: is webwork using the same keys for the signature of the app which are used in a java application? Or I need new keys for webwork?

    If it is the same. How to sign app if key for java applications has been installed before webworks?

    Thanks for the replies

    Thank you

    Acctually what I registered with same. New did not work properly. He has not signed any files

Maybe you are looking for