- This topic has 3 replies, 2 voices, and was last updated 13 years, 8 months ago by support-michael.
-
AuthorPosts
-
res005ru@verizon.netMemberWayne
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
res005ru@verizon.netMemberWayne
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
support-michaelKeymaster@rick
You are correct the prev dialing examples have been simpletons that need more depth. I’ll post a snippet here shortly.
support-michaelKeymaster -
AuthorPosts