facebook

phoneui api?

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

    stacey843
    Member

    Is there documentation on the phoneui api? I see there is an alert(), gotoURL(), etc… but I have looked and looked for almost two hours and can’t find anywhere this is documented. Thanks for the help and sanity check!

    #345586

    Code_A
    Member

    Here is a link to built-in Javascript functions (see category links in the left pane). Note, these are standard functions native to Javascript and should not require any additional setup or implementation to use in MobiOne.

    Here is a link to the PhoneGap/Cordova guide and its API references (scroll down in the left pane). Note, it is my understanding, that this is a wrapper and requires additional setup to use these references in MobiOne (see MobiOne PhoneGap/Cordova Forum for more help).

    #345595

    stacey843
    Member

    Thanks for the reply. But shouldn’t there be some documentation specific to the phoneui api?

    phoneui.preprocessDOM(xx) – A function that when called… takes a parameter of typeof xx… yada yada

    phoneui.alert() – A function call similar to javascript’s alert, however, differs in respect to…. yada yada

    There appears to be a bunch of useful functions attached to phoneui, however, sifting thru forums to find what functions exist and how to use them is not very time efficient.

    Thanks again for your reply!

    #345608

    Hi Stacey843,

    If you look in the generated www\res directory, you’ll see a phoneui.js file.
    Open this in an editor and search for “phoneui.” (without the quotes).
    This should give you a list of all the functions implemented in that file, and call conventions.
    Granted it is NOT a documentation, however at least you get the function calls and some of them are very self explanatory.
    Some others require a bit of digging to figure out, but not bad.

    Hope this helps partially…

    TG

    #345711

    Code_A
    Member

    Sorry, I misunderstood your question.

    I would also like to see the same documentation that you are requesting. I have not come across anything like that yet. Sure would be helpful though!

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: phoneui api?

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