WebWorks app does not work on the device (openDatabase appeal fails)

This has caused me a lot of grief, and I'm hoping to sum it up it here and find an answer.

The app works well using Chrome and ripple. This application uses jQuery and jQuery Mobile and need to use a SQLite database. I read on the HTML5toGearsAPI is necessary if you want to support BBOS 5.0, which is included as well.

When I insert the app on my torch (my physical device) it shows the splash screen and then some time screen. By adding some alert statements to each line in my document.ready function, I can say that the command open database is a failure.  I can't understand why. I feel I made some sort of mistake noobie stoopid.

So here's the components of my html file and the command open on the javascript script.

hea
       titlMyAp/titl
       link rel="stylesheet" href="css/jquery.mobile-1.0b1.min.css"
    script type="text/javascript" src="js/html5_init.js" id="html5_init/scrip
       script type="text/javascript" src="js/jquery-1.6.2.min.js/scrip
       script type="text/javascript" src="js/jquery.mobile-1.0b1.min.js/scrip
    script type="text/javascript" src="js/myapp.js/scrip
   /hea
// JScript File
var _db;

$(document).ready(function() {

    alert("Ready");
    _db = openDatabase("myDB", "1.0", "test", 1024 * 1024 * 2, null);

    alert("after open");
}

You're not supposed to include things HTML5toGears when running on non - 5.0 devices? Is there a sort of call onError that I can use to get more details? It's really a problem, and I can't even to go beyond GO.

Hi billfoust,

I think that the reason is the recall of null. Remove it and I think it will solve your problems.

Tags: BlackBerry Developers

Similar Questions

  • 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

  • BlackBerry Webworks App does not work on the Simulator after conditioning

    Hi everyone, I ' ve developed a webworks app and everything works fine on the emulator ripple, but when I load it on the Blackberry (9860 and 9930) Simulator... it loads successfully (I can see the icon, etc.), but when I open it, appears only a WHITE SCREEN...!

    I thought it was the Blackberry Simulator, so I changed it (does not work)

    I thought it was my application, so I leave my fair "index.html" with a BLACK background (does not work)

    the Validation of my config.xml file is fine, and I have not any idea on how to solve this problem!

    Help please, thank you

    http://mundourbanohn.com/Simulator1.jpg

    Hello, thanks for people, but I already solved this problem, I had a div with POSITION: FIXED; and apparently WebWorks does not support this CSS property, so I removed it and everything works fine. Thanks in any case. Concerning

  • Cannot install Minewsweeper - this app does not work on your device

    Recently I updated the day of Windows 7 Professional x 64 for Windows 8 Pro x 64, so I tried to install the Minesweeper in Windows Marketplace 8, I received the error "Sorry, this app does not work on your device."

    While I install other pretty good games, including Mahjong MS and MS Solitaire, I wonder what the problem is with the windows due to the problem... Thank you.
    PC configuration: 4 GB of RAM, Intel Core 2 Duo E6420, 640GO HDD with 166 GB free on drive C.
    Thank you.

    Hi Alexander,.

    It seems that you have a hard time with the installation of Windows game. We need more information to help you in a better way.

    1. you are using a third-party antivirus?

    2. you did it of any hardware or software changes?

    3. is the question confined to the Minesweeper?

    Here are a few methods, we can try to solve the problem with the installation of apps...

    Method 1: Download and run the troubleshooter modern UI App and check.

    http://download.Microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab

     

    Method 2: Please follow the troubleshooting steps in the link below.

    http://Windows.Microsoft.com/en-in/Windows-8/why-find-install-app-Windows-store

     

    Method 3: check if the region is correct. Follow the steps mentioned.

    a. type 'region' on the start screen. Click on 'settings', and then press ENTER.

    b. on the "Format" tab, select "English (United Kingdom).

    c. click 'Preferences of languages' > 'add language' and add 'your language'.

    d. Once added, select it and click "move up" to make it the first language. Close the window of the language.

    e. in the 'region' window, click on "other settings" and check if the values are the same.

    f. click the "location" tab and change the location of the home to "your country" and then click OK.

    Method 4: temporarily disable the antivirus and check if that helps.

    a. press Windows + X, click on Control Panel.

    b. click on programs and features.

    c. right-click on the Antivirus system.

    d. click disable.

    Important note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    I hope this helps. Please get back to us if you have any other questions. We are here to help you.

  • App does not work on the physical device

    Hi, I just got word that my first submitted application does not work on any device - but gave the following error message:

    "An error occurred when starting (AppName). The application has ended."

    I tested my application and it worked perfectly for me on several simulators. I read a few similar posts on this forum, and I wonder if the problem is with code signing. So my question is this: do I have to sign my application again before each release, or that I only don't sign only once when, at the beginning?  Or the problem is maybe something else altogether?

    Thomas.

    Agree with RexDoug.

    Your messge gives however to think that you do some long processingon the thread of events, for example, connect to a server as part of the start of the process and block the user interface until you get an answer.  This kind of thing is not in the Simulator, perhaps because it works in LAN connection speeds, so that blockages are still small.

  • Podcasts App does not work in the new mini iPad 2

    The Podcasts app does not work on my new iPad mini 2.  All other applications work OK. Typed on the results of the icon in an almost empty screen, with just a few shaded options along the bottom that do nothing.  There is a sign more in the upper left corner, tapping brings up the URL of the podcast application.

    I wonder if I should delete and reinstall the App (how?)

    Robin

    Well, the old farm and restart thing seems to have fixed.  Should try it before I posted.

    Robin

  • My web app does not work with the new version of firefox 31. It uses the heatmap.js for leaflet.js plugin to generate the plan of the temperature.

    There is heatmap.js site: http://www.patrick-wied.at/static/heatmapjs/example-heatmap-leaflet.html
    There example of layer of flyer.
    I could see after upgrading firefox to version 31 temperature map in the browser for this example. But with a previous version of firefox I could see it.

    My web app users leaflet.js and heatmap.js plugin. It users the same code as on the example page.
    After update firefox version saying "your script take too long to run. Continue? "again and again and not contains a temperature card.

    I use the folder plugin - 0.7.2.js and heatmap - 1.0.js for brochure.

    Seems to work here.

    You can try the following steps in case of problems with web pages:

    You can reload webpages and ignore the cache to refresh potentially stale or corrupt.

    • Hold down the SHIFT key and click the Reload button
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (Mac)

    Clear the cache and cookies only from Web sites that are causing problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Metro apps does not work after the withdrawal of the UAC GPO

    We use a GPO to disable UAC for the domain.  We then block this GPO to the OU where we put Windows 8 test machines and work apps UAC and metro very well. However, during testing, we found that if the GPO is applied (by putting the Win 8 box in a different OU), and then deleted (by putting the box 8 win in the test ORGANIZATIONAL unit), metro apps still don't work. they open and then close immediately, but the UAC seems to work as it should.  Then, we created an another GPO and applied to the test OR, which reverses more precisely the elements that we have changed for the GPO original, thinking that the original GPO changed something that was left in this state after the removal of the box to win 8 back into the test ORGANIZATIONAL unit.  Metro apps still don't work.  We have tried all the suggested methods found in other posts, but none works.  The app fix find some security issues and the "fixed", but which did not help either.  The keys that we change specifically in the GPO are:

    User account control: behavior of the guest of elevation for administrators in Admin Approval Mode, increase the value without asking confirmation

    User account control: detect application installations and ask the elevation, disabled

    User account control: only elevate UIAccess applications that are installed in safe places, select disabled

    User account control: turn the Admin Approval Mode, select disabled

    Any help for Metro applications to work again would be appreciated.

    Thanks, but I finally understood my problem.  It's a registry setting of GPO, not associated with UAC settings themselves.

  • Music app does not work when the screen is closed!

    Android6.0.1

    Compact Z5.

    When I listen to the music in the music of sony and closed the screen app, music will play a minute and stop, even when I turn the offshore endurance and add it to the white list, but it doesn't work.

    Other applications that can play music also encounter this problem. Some applications of music need wifi, they cannot work when the screen is too closed.

    What can I do about it?

    I think also ultra endurance disables many apps, so my guess is that you have a 3rd party app that close somehow your applications when the phone goes to sleep.

  • Suddenly, my sound card does not work - try the devices and add/install the old hardware on the Assistant Manager, he finds ADSInstant HTV PC1, but sending the message... Impossible to install correctly the code 10

    tried the Device Manager and add/install the old hardware on the wizard... he finds ADSInstant HTV PC1, but sending the message... Impossible to install correctly the code 10

    Restore the system to then it was working properly.

  • Video recording of blackBerry Smartphones does not work (on the device itself)

    When you try to save a videa, I get the message "to save a videa, insert a memory card.  I have indeed NO card inserted, but in my previous blackberry, I might save it on the device itself.  I already tried to solve via disable the card Support (via options > device > storage > Media Card Support) but to no avail.   Can someone help me?

    Thank you

    Hi @PatDenis! Welcome to the community of BlackBerry Support Forums!

    Unfortunately, you have need of more memory to perform this task, you need a memory card to be able to start recording a video.  Moreover, the 9720 isn't a "BOLD" (according to your profile), it is fair to BlackBerry 9720. See you soon!

    Record a video

  • Focused on the development of Navigation does not work on the device

    I used the code from official BlackBerry web site at the following address:

    https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_developing/using_the_navigation_mode_1866...

    
    
    
       Color Input Type
       
    
    
    
       

    Test input type - text/password/email/search/tel/number

    with the following config.xml file:

    
    http://www.w3.org/ns/widgets" version="0.1" >
      Focus Example 2
      
      
      
    

    This seems to work in Wellington and the simulator of 9300, but on the real of 9300, device nothing is highlighted that I move the trackpad.

    -SDK WebWorks 2.3.0.9

    -Waving 0.9.0.16

    -Simulator 6.0.0.668 (9300)

    -Windows 7 64 bit

    JavaScript is disabled at the enterprise level.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/can-WebWorks-JavaScript-be-DISAB...

  • GPS location works Simulator, but does not work in the device

    Hi all,

    I have problem with GPS location.

    I have the button through which I can get the latitude and longitude in Simulator via LocationProvider class.

    His work very well in the Simulator, but giving is not the result in the unit.

    I use Storm 9530 devices and curve 8830.

    Thank you

    Valter

    Thanks for your support,

    Finally, I found my location.

    The steps are:

    As a first step BBDeveloper mentioned

    Options of-> advanced-> GPS Options

    Now,.

    Start the application maps

    Select Menu-> start the GPS Navigation

    or

    Find the location-> where I am

    It will activate the GPS.

    Thank you and best regards,

    Valter

  • Why my music app does not work after the last update yesterday?

    WWhen by clicking on the app, it crashes just forever

    Well, I found a solution short term up to what Apple solves it on the next update of the firmware.

    1. double-click on the button of your home that opens your "tasks for applications Manager.

    2. close the music app.

    3. turn on "airplane Mode".

    4. click on in your music App

    5 turn off "airplane Mode".

    Do not close your music App (in the Manager of tasks for the apps) that he'll recover music App and you will have to start the entire process.

  • Acorn TV does not work on the new Apple TV

    So disappointed that the Acorn TV app does not work with the new Apple TV we just bought. We have subscribed on iTunes and nothing happens when you try to activate the software. We can look good on the MacBook, iPad and iPhone. Verified the purchase on iTunes account and that's fine. Contact Acorn and say it is a matter of Apple.

    Strange that I have to use Chrome to even write this question. Safari and hers do not work with the Support pages. I'll send in the comments.

    I'm resetting Apple TV now. We have been with the Apple TV since version 1. I hope that we can make this work!

    How would work appletv mount 1 app on the job?

    each app to live their own lives the appletv core do not even know what applications do they just

    Use the ios network to get their content

Maybe you are looking for

  • The share e-mail on Safari button is faulty

    Hello I can't use the share on Safari with the messaging features. He launches a blank tab in Chrome, which is strange, because it's just another browser.

  • The addon Dowload batch no longer allows me to batch upload a bunch of photos, it gives an error message.

    Since the last update, I cannot download more we batch. When I try to upload all the pictures, I get this error message: "An error occurred when downloading files. Maybe the name of the file has forbidden characters, or download folder does not exist

  • DVD_Rom recovery for Satellite P100 (PSPA3)

    Hello I have a Satellite P100 (PSPA3) laptop, who originally XP MCE.Unforunately I accidentally lost my Recovery DVD-ROM. I always the serial number under the laptop. If you think that Toshiba could provide me the version XP MCE? Is there anywhere I

  • "A required CD/DVD drive device driver is missing."

    The product name is HP G6 1331sa / A8M93EA #ABU OS - Windows 7 Edition Home Premium x 64 Error message If you do not see the image, the link is http://prntscr.com/18s2dm What I try to do is to install a new copy of Windows 7 Professional x 64 Microso

  • Search box is trolling

    my field of research is lagging extremly. It starts from 1 hour and I do not know why. Here is a picture: Why? Please help me? My browser: Safari! love, Liri