ondeviceready not shooting in application phonegap bb10

Hello

I am developing a HTML5, JQuery basic application with corodova (phonegap), but several times, I found that app video plays (which is my fist in html5 section) and then app does not pass to the next article, I guess it's perhaps because of ondeviceready not firing I see newspapers on my debugger like this.

ondeviceready not fired for more than 5secs.

Please let me know, how it can be solved.this happens at least 4/10 times.

Hi all
This problem is now resolved.
It is because in our application, I was first playing a video via the html5 video tag then go index.html, which stops because of error 'onstalled', which is common, so I solved by successcallback that i do the same thing for "onended" video event.
Here there is no question of Cordoba at all, it was sometimes true, but sound as rare as 1 in 50 times.

Tags: BlackBerry Developers

Similar Questions

  • Script of not shooting

    Hi all

    I'm new to the application development and still in the learning phase, I began with the construction of the example Hello World for OS 7 and made a few tweaks for coding by adding additional features and by invoking the native maps app. When I upgraded to a Q10 I then carried on the application successfully to OS10 and decided to give him the native look and feel by using BBUI.js, but in doing so, it seems that one of the javascripts is not shooting.

    I tried all kinds of variations to rewrite the code but still no joy. I even used web Inspector, but it does not report them to the top of all the problems.

    If someone is able to help my coding how would you like to see.

    What about Dave

    Hello

    I solved my problem by setting a preference of background color in my config file

    Its a steep learning curve.

    Thank you

  • Do not open the application on bb 9300?

    I created an application that use PhoneGap and jquery-mobile but when compiled on a device 9300 does not open the application (OS 6) and 9860 (OS 7) Yes. Someone knows how to solve? Thank you very much.

    Hey!.

    Thanks for the help

    The solution for me running OS - 6, was that my camera would put blackberry alx file and it wasn't. I put the file cod that has packed the key and if it worked. Thanks anyway.

    Sorry for the response time.

  • itemEditEnd not shooting in DataGrid

    In a specific DataGrid is not shooting - all others in my work as an app very well. I got another Flex developer to look at my code just in case I go crazy or something and he thinks that it is a bug in the Flex framework somewhere I use Flex Builder 2.0.1 FWIW


    The following isolated code has the same behavior (breakpoint in onEdit event listener func does not trigger). A large part of it may seem superfluous, but in a real application, it is necessary in the real application (I just tried to isolate the cause!).

    Any ideas?

    Quote:

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml '
    creationComplete = "onInit (); »
    >
    < mx:Canvas
    ' xmlns:MX =' http://www.adobe.com/2006/mxml '
    xmlns:WOCCU = "" org.WOCCU.Components. * ""
    Width = "100%" height = "100%" id = "ccc".
    paddingTop = paddingLeft = "0" "0" paddingRight = "0".
    >
    < mx:Script >
    <! [CDATA]
    Import mx.events.DataGridEvent;
    Import mx.events.DataGridEventReason;
    Import mx.collections.ArrayCollection;

    DataProvider
    private var _dp:ArrayCollection;

    This will contain a table (hash) accessible by bottombar or somesync
    [Bindable]
    public var bottomBar:Array;

    public function onInit (): void
    {
    _dp = new collection ArrayCollection ([{PK: 'Mast', label: "XXX" col1: 'Matthews', col2: 'XEXE', level: 1}]);
    entrygrid.dataProvider = _dp;
    trace ('init');

    }


    public void refresh (): void
    {
    TODO: check if the ID of the entity and other accessories are not empty!
    Refresh the content or somesync
    }

    Callback function - when the data arrives
    protected function onData(result:Array):void
    {
    Built our dataprovider or somesync
    var tmpDPRow:Array;
    var _bottomBar:Array = new Array();
    _dp = new ArrayCollection();

    for (var j: String in result) {}
    First of all, check level. If 0 this bottombar line belongs.
    If (result [j] ['level'] == '0') {}
    pk: String var = result [j] ['PK'];
    PK = PK. Replace("-","_"); n ' is not valid in the ID of the object, to replace us with _
    _bottomBar [pk] = new Object();
    _bottomBar [pk] ['label'] is result [j] ['label'];.
    _bottomBar [pk] ['value'] is [j] result ['col2'];.
    } else {}
    Go on the fields
    tmpDPRow = new Array();
    tmpDPRow ["PK"] = result [j] ['PK'];
    tmpDPRow ['label'] = result [j] ['label'];
    tmpDPRow ["col1"] = result [j] ["col1"];
    tmpDPRow ['col2'] = result [j] ['col2'];
    _dp. AddItem (tmpDPRow);
    }
    }

    Apply the lower bar
    this.bottomBar = _bottomBar;
    Apply to all the data to the datagrid control
    this.entrygrid.dataProvider = _dp;

    }

    public void onEdit(event:DataGridEvent):void {}

    trace ("fire on the whole!");
    If (event.reason == DataGridEventReason.CANCELLED) {}
    return;
    }

    SHOULD any EMERGENCY UPDATE frickin database!
    This.Refresh (); Subtotals have changed - need to update
    }


    []] >
    < / mx:Script >
    <!--
    Note the hack below: column widths are ridiculously large values
    The idea is that Flex will resize down and maintain proportions
    ->
    "" < mx:DataGrid xmlns:mx = ' http://www.adobe.com/2006/mxml '
    Width = "100%" height = "100%" showHeaders = 'false' itemEditEnd = "onEdit (event)" id = "entrygrid" > "
    < mx:columns >
    < mx:DataGridColumn = "0" visible width is 'false' dataField is 'PK' >
    < / mx:DataGridColumn >
    < mx:DataGridColumn width = "70000" itemRenderer = "mx.controls.TextInput" editable = "false" dataField = "label" > "
    < / mx:DataGridColumn >
    < mx:DataGridColumn width = "15000" itemRenderer = "mx.controls.TextInput" editable = "false" dataField = "col1" > "
    < / mx:DataGridColumn >

    < mx:DataGridColumn width = "15000" itemRenderer = "mx.controls.TextInput" rendererIsEditor = "true" editable = "true" dataField = "col2" > "
    < / mx:DataGridColumn >
    < / mx:columns >
    < / mx:DataGrid >
    < / mx:Canvas >
    < / mx:Application >
  • Why WhatsApp is not a standard application on iOS iPad 3 9.2?

    Why WhatsApp is not a standard application on iOS iPad 3 9.2? Or indeed any iPad! WhatsApp is the most used social network App in the world! And why clients unable to use their SIM cards for calling and messaging?

    Because the app is not written by Apple.

    It is a third-party application.

  • Double click on the Home button does not show open applications?

    Why not double click on the Home button shows my open apps? I have an iphone 6Plus, and I want to close some applications that do not work properly.

    Try a forced reboot. Hold down the Home and Sleep/Wake buttons at the same time for about 15 seconds, until the Apple logo appears. You won't lose anything. And then try to click double fast to access the app selector window. Note that these applications are not open. May be best to remove the apps and reinstall, but try the above first.

    On multitasking on your iPhone, iPad and iPod touch - Apple Support

  • Audio plays more when Firefox is not the 'active' application on the desktop

    Just updated to the latest version (10.0.1). Audio plays now is more if Firefox is not the 'active' application on the desktop. In the past, I was able to open the Firefox browser, go to a site to listen to the audio, then go to another application on my computer and the audio would play again through my speakers from the firefox website. Now if I do that I lose audio, unless firefox is the 'active' application, which means that if the bar blue top on the browser is blue and not dimmed. I tried the Add on "Always on top" and this does not solve the problem I have. I looked through the various settings and did not see a solution. Can someone tell me if it's change-able or if it will be is no longer possible through browsers firefox?

    DOH! Feel like a jerk! Understand my problem! Sorry! Uh, I (or probably any other) had put the audio for the other app I was using (Avid editing software) on mute, causing the audio does not sink when the firefox browser was not "active".
    Someone else has a similar problem should check to see if the other application you use has the sound 'on '.

  • Recently, whenever I try to open Firefox, I get a dialog box: Exc in ev handl: TypeError: brw is not defined (JavaScript Application). Firefox is certainly my default browser

    Question
    Recently, whenever I try to open Firefox, I get a dialog box: Exc in ev handl: TypeError: brw is not defined (JavaScript Application). Certainly, Firefox is my default browser.
    After clicking on OK Firefox opens.

    You can probably get rid of it by disabling McAfee Site Advisor ending Firefox and then restarting Firefox and the reactivation of McAfee Site Advisor, ending at Firefox and restart Firefox. But it would probably be best to uninstall Site Advisor and reinstall (as opposed to the update)...

    Please see the solution in http://kb.mozillazine.org/Problematic_extensions
    "McAfee Site Advisor.

    (Windows): for best results, you need to uninstall McAfee Site Advisor from Control Panel > add/edit programs (programs and features). Restart the system. Then http://www.siteadvisor.com/ reinstalling and reboot the system. Installation of other waste (crapware) suggested applications.

    Please mark "resolved" a response that will better help others with a similar problem - hope it was her.

  • Cannot open links in Safari, Messages, messages, Notes and other applications.

    Problem on the iPhone 6 and iPad pro since version 9.3 I can't open links in Safari, Messages, messages, Notes and other applications. Rather than visit the target website, the application crashes, freezes or crashes.

    How to fix bug of broken links ios 9.3 safari/mail:

    (1) find and uninstall the application of booking.com, if you

    (2) wait at least 1 hour, the bug disappeared. Perhaps you need to reboot once

    to reproduce the bug again: install the app booking.com

  • How can I get my menu bar on my macbook pro? The dock also disappeared. I know I have to take my pointer upwards (or downwards), but it's a waste of time and that bothers me. Its only happens on Safari, and not on other applications.

    How can I get my menu bar on my macbook pro? The dock also disappeared. I know I have to take my pointer upwards (or downwards), but it's a waste of time and that bothers me. Its only happens on Safari, and not on other applications.

    You could try starting in safe mode:

    • Try safe mode if your Mac does not end commissioning - Apple Support

    Which can allow additional troubleshooting.

    Also, sometimes there may be a hardware problem which may help a SMC reset with

    Depending on the cause:

    • Reset the management system (SCM) controller on your Mac - Apple Support

    You can try the test equipment to see what appears in the results:

    • With the help of Apple Hardware Test - Apple Support

    Other options include an appointment with a genius of Apple Store or a

    service provider authorized Apple for the device inspected, diagnostic tests, etc.

    There may be system software or hardware problems, in order to solve the problems with the aim

    to see what the cause, can take time. If you have a backup in Time Machine &

    end by using OS X Recovery to see OS X Utilities usage, disk utility or

    other functions, be aware that this can make the more advanced features; It may not need.

    Because this question appears as a symptom in Safari, which makes it more curious.

    • Stop the pop-up ads and advertising on Safari - Apple Support

    http://etrecheck.com/ http://www.adwaremedic.com/index.php   

    There may be a weird extension in Safari that may relate to some adware or other

    elements, so this is another issue to consider. a report of Etrecheck may tell you if

    some candidates are there; but maybe not. I do not primarily use Safari

    so, my other two browsers work slightly differently.

    Good luck & happy computing!

  • DVD player showing an error of not finding the application

    When you try to play a DVD, the YEAR error message as not finding the application. Please respond to the problem.

    Hi Nibrasnajeeb,

    ·         What is the default Media Application that you use on the computer?

    ·         What happens when you try to open the disks in Windows Media Player?

    Run the troubleshooting below links and check if it helps:

    1:

    http://Windows.Microsoft.com/en-us/Windows7/open-the-playing-and-burning-CDs-DVDs-and-BluRay-discs-Troubleshooter

    2:

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-DVD-Troubleshooter

  • My game says that it is not "a win32 application.

    I have a couple of SNES games that I downloaded for play.  Both give me the "not a win32 application" when I try to open them.  I have 3 different emulators responsible, none of them will simply open the game.  I have to go through programs, find the game, find the rom and open it.  This means that I can't save any of them, because he made me start a new game each time taking this road.  How can I change the soft 'win32 '?  What is "win32"?

    Hi venlost,

    you're poorly understand the concept of emulation. It works like a virtual machine: imitate you (virtualization) a disk, you do not have (in this case: a SNES / Super Famicom console) and a virtual disc (in this case: a virtual SNES cartridge) in this player. There is nothing to 'open' your operating system. You put your *.smc (= Roma SNES) files in the folder of the emulator (preferably), start the emulator and load the ROM in the memory. The emulator behaves like a real console, acknowledges the inserted cartridge (= the ROM loaded) and the game starts. -Btw: If your ROMs are files '.exe' (which could give the "Win32" error), there is something wrong.

    "192GO should be enough for everyone." (of the miniseries "Next generation jokes")

  • Pavilion DV7-3060us: BIOS restore file "not a win32 application invalid" (Pavilion DV7)

    I have an intermittent (about 19 times out of 20) on a Pavilion DV7-3060us BIOS failure.  After that you press power, the fan and the light turns on, the screen remains black and lock/num lock flashing twice, pause, flash twice, etc..  Sometimes, the computer will boot normally to Win7.   Near as I can understand, I need to reflash the BIOS.  I downloaded the image file winflash/BIOS (SP47531.exe) the drivers and software page, but when I try to run it, I get a "...". not a Win32 valid request"message.

    Any advice on how to get this file to run it, or another method to solve the failure of startup issue, would be very much appreciated.

    So much worse... apparently the problem is I downloaded the file through Chrome.  Downloaded with IE on another machine, recorded on a USB key, it connected the USB on the machine of problem without difficulty.  Does not seem to have solved my problem starting, but the 'valid not a Win32 application' error has been resolved.

  • Not a win32 application invalid during the Windows 7 upgrade download

    I am trying to download windows 7 upgrade advisor, and it is not a valid win32 application. I am currently running xp, 32 bit. Help, I want to get windows 7.

    original title: not a win32 application valid?

    Hi Rainsdancer,

    Follow the suggestions below for a possible solution:

    Method 1: You can follow the steps in the article and check if it helps.

    How to perform disk error checking in Windows XP

    http://support.Microsoft.com/kb/315265

     

    Method 2: I suggest to download the different location and run the Advisor of 7upgrade windows and check the results. Here is a link to download the Upgrade Advisor.

    Upgrade Windows XP to Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/help/upgrading-from-Windows-XP-to-Windows-7?T1=tab02

    32-bit and 64-bit Windows: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/32-bit-and-64-bit-Windows-frequently-asked-questions

    Installing Windows: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/installing-Windows-frequently-asked-questions

    In addition, you can consult the links mentioned below a similar question.

    http://social.answers.Microsoft.com/forums/en-us/w7install/thread/589c0300-95f5-48e3-98AB-4342a30cc1e1

     

    http://social.technet.Microsoft.com/forums/en/w7itproinstall/thread/e0ee8143-2e54-4fc7-80EA-00b91f6cb57d

    Hope this information helps.

  • I am running Xp. When I try to open a. PDF file, I get "not a Win32 application valid?

    I run Windows XP.  When I try to open a. PDF file, I get "not a Win32 application valid?  The file type is SA4 SOF.  I try Adobe 10 but no luck.  Help would be appreciated.

    If you use Adobe Reader, you can try Adobe Support at http://www.adobe.com/support/.

    Good luck...

Maybe you are looking for

  • Nb505 - where to get the product specifications

    It is very difficult, if not impossible to find the specifications (sometimes called 'Key features') for Toshiba products. For example, I try for more than 5 hours through all the websites of Toshiba to know the main characteristics of a mini NB505 l

  • Scanning from printer to PC

    Why do I get error message "Scan failed"?  I have the OfficeJet 6700 Premium e-all-in-one printer, Windows 7. it was working well until I accidentally installed the functionality of Fax, which has now been deleted... But the scanner does not work...

  • TestStand do not call a Labview DLL copied to a new location.

    TestStand v4.2 & v8.6.1 LabVIEW: I have a problem with TestStand calling a Labview project DLL. It will call the DLL successfully if it points its record source (the directory where the DLL was built. However if the DLL is copied to the clients worki

  • I just bought a canon 6 d and I can not get my remote EXILE 430 flash. Anyone know why?

    I just bought a canon 6 d and I can not get my remote EXILE 430 flash. Anyone know why? Apparently my camera 'new' picture does not "see" the flash, must now the transmitter? Is there a Flash that work wirelessly with my canon 6 d?

  • DOES MAKE A DIFFERENCE WHAT ROUTER I BUY IF I PLAN ON WIRED NETWORK

    First OFF... Please excuse my lack of computer savvy.  I know just enough to get me in trouble. I have two computers in the House that I intend to run the my modem cat6 cable cable on a new router (type advice pending) then on my two computers. I am