jQuery Mobile app does not work on OS5 telephone, but works in Simulator

Hello

I'm trying to run a simple jQuery Mobile (beta2) app on my phone and its does not work.

Had been a working app and it worked on the Simulator, but didn't have a screen on the phone Curve8900.

Then I created a simple jQuery Mobile app that displays a header, content (with listview) and the foot.

When I insert in the Simulator, it looks fine, but when I charge the phone it loads and displays a white screen with a small gray square at the top left of the screen... (perhaps 30 x 30 pixels or less)

(the rest of the screen is green, because I put the bottom in the config.xml file to green)

I've specified:


and also I tried using:

        addEventListener('load', doLoad, false);

        function doLoad() {
            document.body.style.height = screen.height + 'px';
            alert('initPage 3');
        }

but makes no difference.

(Before I added jQuery to app it worked fine)-very tedious debug because I need to sign the code every time I have test and restart the phone after the installation

Any help appreciated.

Maybe someone has a skeleton jQueryMobile app that works on OS5?

Hi Heiko,

According to this example JQuery 1.5.2 seems to work on 5.0. Do you need a feature of 1.6.2 otherwise maybe try this library instead.

Tags: BlackBerry Developers

Similar Questions

Maybe you are looking for

  • If I could change HDD by hybrid hard drive for HP envy

    Hi all I have HP Envy 15-k020us 15.6 inch touch notebook, I would change my normal hard drive HDD by hybrid hard drive is possible, and what hard drive Hybird advise me to buy I need 1 TB. Thank you and best regards

  • Enter key down and write a simultaneous control

    I am creating a dialogue with a field with behavior such that, once the user fills in the field and press the Enter key or return the new value is returned.  However, the problem that I am running is the key down event cancels the entry to the contro

  • WINSPOOL.dll question

    Strange problem that just started: I installed a VERY old program and every time it starts, it gives an error saying "this application has failed to start because WINSPOOL.dll is not found. Reinstalling the program may fix this problem. » Strange thi

  • Adobe Flash Player error: has stopped working.

    Original title: Adobe Flash Player. I get a message from Adobe Flash Player 11.5 r502 has stopped working. What should I do to prevent this arise?

  • Win 7 repair disk does not start

    H8 1380 t CTO, Intel i7 3820 processor. 10 GB of DDR3 Ram PC3-12800 memory. FRIEND bios (UEFI), Version 2.14.1219 (current).Pegatron Motherboard-IPIWB-PB (Pittsburg) Audio Beats. AMD, the Radeon HD 7570 1 GB graphics card. I need some advice: Can you