facebook

Mobione build

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

    Wayne

    When I build my app, which has about 8 web pages so far, I find that the main start page has all of the
    html code in one file. This is causing me a problem, I have one page, my dialling page, which has a text field
    as telephone and a call button. After selecting the call button, it should return to the previous web page.
    Currently it returns to my splash screen/ start page.

    What is the procedure to send my pages to the iphone from my machine?

    Rick

    #315368 Reply

    Wayne

    I have found something that I would like to mention. In my dialing page,I
    use a custom button. There is no onclick property, I have reviewed your
    work on dialing, it is good for what it does, however it is useless in any real
    application. There needs to be a onclick and href set to “href=tel: “. Then
    using jquery and onclick calls a function to read the data from the input type tel
    value field.

    <!– ***** HandTalkPhone ***** –>
    <div id=”m1-HandTalkPhone” class=”m1-root”>
    <div id=”m1-HandTalkPhone-text1″ class=”m1-text”>Hand Talk Phone Dialer</div>
    <div id=”m1-HandTalkPhone-MaketheCall” class=”m1-clickable m1-hyperlink m1-button”
    name=”MaketheCall” href=”” onclick=”DialNumber()”>Call</div>
    <input id=”m1-HandTalkPhone-Telephone” class=”m1-textfield m1-textfield-custom” value=””
    type=”tel” name=”Telephone” placeholder=”Enter Phone Number Here!”/>
    </div>

    function DialNumber()
    {
    var PhoneNumber = $(“input”).val();

    $(“#m1-HandTalkPhone-MaketheCall”).attr(“href”,”tel: ” + $(“input”).val());
    }

    Obviously this is added by hand, when I do test center I do not compile the html.
    This seems to work very nicely. When I send to my iphone, I get a mobione screen
    telling me the app is no longer available to me. On the Iphone I do get the virtual
    keyboard and when I do the onclick, the Call button, up comes the screen again.
    Am I doing something wrong?

    I am happy to zip up the files and send them to you, then can even be added to
    the Howto page if they meet your stanadards.

    Thanks

    Rick

    #315378 Reply

    support-michael
    Keymaster

    @rick
    You are correct the prev dialing examples have been simpletons that need more depth. I’ll post a snippet here shortly.

    #315382 Reply

    support-michael
    Keymaster

    @rick
    Using your ideas I created a similar app but with a slightly different approach to dialing. In the Dial button’s link property I have the button call my custom javascript function dialIt().
    See attachment dialit-screenshots.png

    Attachments:
    You must be logged in to view attached files.
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Mobione build

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