Closing an application via webworks

Hello!

A few months ago, I asked the same question here, unfortunately, for lack of time, I just answered that my problem has been resolved.

Now, I need again, but the problem is not resolved.

That's the question: how to close an app via webworks?

The bellows of code do not work.

Thank you.











You must use blackberry.app for function, not blackberry.app.event (in the config.xml file)

Here is my code that works

CONFIG. XML


http://www.w3.org/ns/widgets"
        xmlns:rim="http://www.blackberry.com/ns/widgets"
        version="1.0.0"
        id="sample">
    Localytics Sample
    
    http://www.blackberry.com/"
            email = "@chadtatro">Chad Tetreault
    
    http://www.apache.org/licenses/LICENSE-2.0">
    
    
    

THE INDEX. HTML



    
        
        
        
        
    
    
        
    

Tags: BlackBerry Developers

Similar Questions

  • How to get started developing applications with Webworks

    Hi all!

    So I have an idea to build an HTML5 app for use by the Office on BES10. Basically it digitizes a 2 page paper form to be used on a device (PlayBook or Android) taking advantage of the function of swipping and scrolling of screen minimizing

    Here are the details:

    (1) the office worker: take Excel data and partially fills a form (or multiple shapes - similar to mail merge) to a specific area coordinator.

    (2) the office worker: push forms pre-filled as a coordinator on a PlayBook application or another html5 client connected to BES10 (private App)

    (3) Coordinator: logs in-App to 'their space '.

    (4) Coordinator: filling out form and supports (or partially fill in form to submit later).

    (5) time stamp is applied to participate "forms" submitted.

    (6) field coordinator: can view their history of completed forms (read-only)

    (7) the office worker: can view, print, save, or extract data from forms.

    How I started with this project? I have to go back and take a class HTML5 then a webworks courses?

    Thanks for your comments.

    Hello

    When you think Webworks is a framework that relies on HTML5, CSS and JavaScript for its applications.

    So if you are looking to develop an application, with a background in HTML5, JavaScript and CSS is certainly recommended and would be the best starting point that I can recommend.

    In your case, it seems that it would also be a bit of work on the backbone (to store data on a server) for which I highly recommend looking in Node.js + Express.js (for the web server) and MySQL for any back-end storage.

    WebWorks which gives you on top of that is a subset of the JavaScript APIs specific BlackBerry that allows you to take advantage of the native features (Toast messages, Push Services, etc.)
    https://developer.BlackBerry.com/HTML5/APIs/v2_1/

    However the structure underlying and functionality is always HTML5, JavaScript and CSS.

    Once your application is HTML5 writes, and you have chosen to use / not use WebWorks APIs, you can then use WebWorks to 'package' for your project of HTML5 in a file that runs on BlackBerry 10 devices.

    The app itself is so standard web technology, with the ability to use native APIs via WebWorks. And WebWorks place it in a container that can be run on a physical device.

    For PlayBook, it's the best starting point:
    https://developer.BlackBerry.com/PlayBook/HTML5/

  • Close the last tab without closing the application firefox

    Greetings!

    1.i would like to close the last tab without closing the application. The behavior I expect is the application to open a new empty tab when I close the last tab currently I can't close the last tab which already has some open site in it.

    2. when I open a new tab, I have to enter a Web site address. I expect the app to just open a new empty tab and let him to enter an address or not for me.

    Thank you for your support. I love firefox for Android.

    It is being developed and will be changed to allow the closure of the last tab in Firefox 18 or 19.

  • I just bought an Iphone 6s and not yet am possession of en from the Sim Card. Ook, do you know if I can use the phone including applications via Wifi and put the chip later? Thank you. Renault JL

    I just bought an Iphone 6s and not yet am possession of en from the Sim Card. Ook, do you know if I can use the phone including applications via Wifi and put the chip later? Thank you. Renault JL

    No, because if you bought a new iPhone, then you need a SIM card to activate it before you can use the wifi applications.

    This is a phone after all, you don't need a sim card any to be able to activate it.

  • Error when you try to play hearts: the system is out of memory. Try closing some applications and try again.

    Critical error: hearts

    When I play the game hearts, I now get a critical error. This only happens with this game. The error is: "the system has run out of memory." Try closing some applications and try again. "I have no other applications open. "Anyone encountered this? My curren operating system is Vista.

    Hello

    Step 1:

    You can change the size of virtual memory and check if the problem persists following the steps from the link
    http://Windows.Microsoft.com/en-us/Windows-Vista/change-the-size-of-virtual-memory

    Step 2:

    Also refer to Dave_D suggestion from this link: http://social.answers.microsoft.com/Forums/en-US/vistaperformance/thread/28b875ff-b51a-40ec-a416-888f0595ec42

    Step 3:

    I also suggest you clear the game on the computer, restart the computer, then turn on the game and check its operation. Follow the link for more information:

    Turn on or off Windows features
    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-Windows-features-on-or-off

    Hope that information was useful

  • JDK6 only agreed to develop html5 applications using webworks BB SDK 2.3.1.5?

    JDK6 only agreed to develop html5 applications using webworks BB SDK 2.3.1.5?

    That is right. In addition to this it must be 32-bit and, further, I had a few problems with JDK6 update 45 recently. See this thread for more details:

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/BlackBerry-WebWorks-SDK-2-3-1-5-...

  • Invoke the application via a custom protocol URL browser

    With the new breed of OAuth2 API such as Pocket there is now more and more need for apps complement the OAuth2 flow in default browser OS outside the Application. It also means that once the Auth process is complete, there must be a way to invoke app or pass data to browser application via redirect URL.

    Currently it seems achievable on platforms like android by registering a custom for an application URL protocol handler. This way browser can use redirection what custom URL with a Protocol and application would be invoked via redirects and the address bar of the browser.

    I see that current invocation framework supports the URI patterns but I can't make it work, can someone point me to any example of code that allows the invocation of application via browser?

    This sample project should show you what files are used for oauth2 https://github.com/kylefowler/foursquare

  • There is an error when I try to download an application via the cloud

    When I try to download an application via the cloud, there are 34 error:

    Exit code: 34

    Please see specific errors below for troubleshooting. For example, the ERROR:

    -------------------------------------- Summary --------------------------------------

    -fatal error 1, 0 error (s)

    FATAL: Payload "Package Microsoft redistributable Visual C++ 2010 (x 64) 9.0.0.64 {9D2A060F-AC6B-11E0-8C00-00215AEA26C9}' information not found in Media_db."

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

    Because of this fatal error, I'm not to download software cc,

    I already see for this error but not found

    I'm on PC

    Hello

    Please refer to get fatal exit Code 34 when installing an application

    Concerning

  • Cannot add applications via printer or ePrintCenter

    Hi I have a Photosmart 6510 but are unable to add applications via the printer or the ePrintCenter interfaces, because no Apps are listed?

    Hello

    I had the same problem! What I forgot to do, was to enter the correct language and location (uk) in the settings to the printer. I then deleted the eprint centre reset printer settings added web printing again in the center of eprint. (enter the code that you print and choose a different email address for the printer) then I could only see all the applications available! Brilliant.

    This will fix your problem, no problem let me know and I'll give you a step by step guide.

    Mike.

  • Creation of Application Simple Webworks - remote URL for loading problem

    Hi, I'm looking for this example:

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/creating-your-first-application-...

    But I'm not able to load the remote URL.

    I am able to load the local file perfectly, but whenever I try to load a remote URL, I got:

    Local Connection Timed Out after ~ 120000

    I tried different ways to load a remote URL (via a simple link HTML, javascript, and Ajax)

    With the help of my config file:

    I also tried various configurations of subdomains and uri.

    I use the Simulator for 9800 6.0.0.534

    I really don't know what could be the problem. Could be my installation of the SDK Webworks? It is a kind of permission?

    BR

    If you are running on Simulator, then you must also run the MDS Simulator. Without it, our web browser in the Simulator won't work either.

    You can configure your debug configuration in Eclipse to automatically start the MDS Simulator when you launch the debugger.

  • Hybrid application with webworks

    Hello

    Is it possible to create an application webworks who use a site internet Web and native of mix using bbui.js user interface?

    (without using any iframe, which does not work for all sites)

    Hello, yes it is!

    BUT you would not use bbUI for the user interface, you would use stunts. I really have an example in our GitHub repo, and another I'm open sourcing in the next day or so.

    Here is the link to the current example: https://github.com/blackberry/Cascades-Samples/tree/master/HyperLocal-App-Template

  • Web Application vs Webworks for performance

    I plan to move from a Java based OS5 native application by using browserfield2 to a mobile Web site that runs in the native browser.

    I have several examples of mobile websites which have much higher speeds than I was able to achieve using the Java application.

    If I want to have the speed of the mobile site AND still have access to some system resources (possible examples might be local graphics resources, or a cache local or even integration of BBM), WebWorks is a viable solution?

    Q2.  If I adjust to the speed of the only native browser (assuming that the answer to my previous question is not), so in this case, WebWorks is just as good as the native browser when rendering web content.

    Yes, WebWorks was designed precisely for this purpose. It gives you the power of HTML5 mixed with native platform API. There is one thing to consider though. WebWorks APIs are always released later than the native APIs and sometimes they are never published by RIM (but you can connect to the existing native APIs if you can write an extension).

    Regarding the speed of rendering, it is usually as good, but there's an important limitation, you have a limited amount of memory available for your application.

  • Application of webworks continues to run in the background

    To the best of my understanding from what I've read, it seems that a Blackberry Webworks application stops running in the background. If this is true, is there a way to make a request of webworks continue to operate even in the background?

    Thank you very much for your time.

    Hi bigjavajoe,

    BlackBerry WebWorks appc continues to run in the background (for smartphone, for playbook depends on parameters of the device).

  • How browserfield opportunity to invoke phonegap script on java application, not webwork?

    Hi guys,.

    I'm confused with phonegap integration to blackberry java application, I know phonegap only support blackberry webwork, so my question is java application may not support javascript on browserField2 phonegap, is it possible to apply or widget support only on webwork request right?

    Thank you guys.

    I had resolved.

  • Help me to spread my application via OTA BB

    Hai friends

    I'm new to application development. I have fisnished my application development. Now I want to distribute the

    request made by a web site. I want to download the application using the blackberry browser. Can someone help me to do so. What are the procedures to achieve this. If possible can anyone give me some examples.

    Thanks in advance

    Joe

    I hope that it is so easy for you. If your application is large, you will have a few extra steps. Post back if you app is bigger than 150 KB and I can post the instructions to know how to get the installation works via OTA.

Maybe you are looking for

  • Is my global phone us on the latest version?

    My motorcycle G 2nd Gen, Global GSM, version of the XT1063 software is retus 21.11.17titan_retuglb.retuglb.en.US. Why it doesn't have an update to a new version. He always uses the "Launcher3" as users of approx. House need to use the Google marker n

  • Bluetooth tethering with disabilities 4.4 Android VZW?

    Hello. I have Nexus 7 (2013; 4.4.2 Android) Tablet and I have been able to use Bluetooth tethering to my Droid 3 (Android 2.3.4) for Internet access. 4.4 Android, you can select under the Bluetooth device paired to select "Internet access, use for In

  • Can't download email, get "server has ended the connection.

    Original title: impossible to download email When I try to download my e-mail messages in Windows Mail, I get the message that the server has terminated the connection.  Trying to get 70 messages and it always locks upward when you message 5. Just ca

  • Is there a place where I can download the file .iso for reinstalling vista?

    I have a laptop under Windows Vista Home Premium X 86 with an OEM key. However, the hard drive in the laptop is dead, and I bought a new hard drive to install vista inside. But since its a Vista OEM, I was not provided with a vista CD, only a recover

  • Responding media format is not writable.

    CD/dvd writing problem... could not solve the problem with microsoft fixit and get this message: the media format is not writable. I inserted a blank cd again.