facebook

Phonegap on android: CLOSED

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #330380 Reply

    dabbelju
    Member

    Hi all,

    did someone use phonegap functions like resume or deviceready?

    I used ist in my native iOS App and it Works great. Under android i can Not geht in working.

    I did try it on several android versions.

    Thanks and best
    Dabbelju

    #330449 Reply

    Hi Dabbelju,

    Could you please give us some more information on what platforms you are experiencing problems on? I am attaching a _custom.js file that I tested with, it shows how to register document ready listeners with both PhoneGap and the MobiOne phoneui library, as well as how to register listeners for the resume event. These functions all worked with the latest version of MobiOne on the Android platforms I tested with.

    Thank you,
    Lonnie
    Genuitec Support Team

    Attachments:
    You must be logged in to view attached files.
    #330493 Reply

    dabbelju
    Member

    Hi lonnie,

    thanks for your help.

    Obviously my problem was that I did the document.addEventListener(“deviceready”, onPhoneGapDeviceReady, false); in the phoneui.documentReadyHandler = function(). When I do it “outside” as you do, than it works on Android, too.

    Thanks a lot and best regards
    Dabbelju

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Phonegap on android: CLOSED

You must be logged in to post in the forum log in