facebook

Cordova install ? CLOSED

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    pbixdesign
    Member

    Answer – support-wayne
    AppCenter Builder automatically includes the cordova.js lib into the startup html file. Thus you typically do NOT need to include cordova.js unless you plan to override what AppCenter Builder is using (not recommended unless you really know the api). If you are using additional coding tools for javascript code-assist and validation such as MyEclipse or Eclipse web-tools use a JSLibrary rather than manually start including cordova.js.

    Hi !!

    how to include the library cordoba?.

    manually copied the project folder?.

    I copy the file only cordova.js?.

    mobione cordova has not and I have to download the cordova.js?.

    That I can put cordova version? 2.2.0, 2.4.0 or 2.5.0.

    Mobione group should have a lot of information and tutorials for the installation of these libraries.

    Thank you very much.

    #337613

    nvts
    Member

    This is now part of MobiOne. It uses phonegap.

    http://www.genuitec.com/mobile/docs/highlights/current/#sec5

    But to included a .js.

    I copy it too my app folder and place it under the www/res folder.

    Then you have to add it as a js library in your .mobi first screen.

    Cheers…

    #337618

    pbixdesign
    Member

    hi nvts!!

    Thank you!!

    #337623

    Brandon
    Member

    If you add a js file using the Javascript Libraries feature you do not need to copy it, mobione will do that when it is compiled.

    #337624

    nvts
    Member

    One less step I have to do now :).

    Thanks Cincy.

    #337639

    pbixdesign
    Member

    Thank Cincy!!

    how I can know if cordova load properly on my Android phone?

    example:

    phoneui.documentReadyHandler = function() {
    document.addEventListener(“deviceready”, onDeviceReady, false);

    function onDeviceReady() {
    alert(‘ ok !! ready’);
    }
    }

    does not work, any example I work.

    thank

    #337736

    support-michael
    Keymaster

    See my answer/recommendation in the 1st post of this thread: http://www.genuitec.com/support-genuitec/viewtopic.php?p=16606#p16606

    #337854

    pbixdesign
    Member

    ok !! Thank you 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Cordova install ? CLOSED

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