facebook

Mobione html files integrated into PhoneGap Project (Xcode)

💡
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 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #333404 Reply

    IT`s EGD
    Member

    Hello,

    we want to add the generated files to a PhoneGap of Mobione project. This works well so far, up to the bottom of the screen is a white stripe.

    We think this is because Mobione thinks that the page was invoked using the normal browser and not in full-screen.

    We hope you can help us

    Greetings from Germany,

    Benjamin Ledel

    #333443

    support-michael
    Keymaster

    Discussing with the dev team if there is addition init logic that must be invoked or something like that. Will share details as soon as Octavio or I know more.

    #333491

    support-michael
    Keymaster

    Here are some details for using the mobione generated html5 code and phoneui.js apis…

    Note: The HTML generated by the MobiOne Test Center does not include the phonegap/cordova js library; that happens automatically on the App Center Builder during the build process.

    Todo:

    1) include the phonegap. js library before the phoneui.js

    <script type="text/javascript" src="res/phonegap.js"></script>
    <script type="text/javascript" src="res/phoneui.js"></script>

    2) you may need to configure cordova to load your html file (I recall index.html was the expected default but it can be configured to load any other html file)…

    3) App Center Builder includes the following plugins:
    childbrowser: iOS
    emailcomposer: iOS
    downloader: android – used for pdf display
    viewer: android – used for pdf display

    #333516

    IT`s EGD
    Member

    Hi,

    thanks for the comments! Is there a way to integrate the camera? What version of PhoneGap and of the plugins is currently being used?

    Greetings from Germany,

    Benjamin Ledel

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Mobione html files integrated into PhoneGap Project (Xcode)

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