Could I create "Call" button in HTML 5 IPhone application using PhoneGap? - iphone

Could I create "Call" button in HTML 5 IPhone application using PhoneGap? Pushing this button should invoke call to certain number on IPhone device.

If you can specify a URL for the button, use the URL format tel:phonenumber.

Best format is no punctuation in the number, so:
Call Apple Customer Support at 1-800-275-2273

Use this "tel:phonenumber"
it will NOT work on emulator, but it works on real device.

Related

How to use iPhone MFMailComposer using phonegap?

How to use iPhone MFMailComposer using phonegap?
I am using phonegap framework to develop my application. But i dont want to use "mailto", as while tapping on that it launches iphone default mail application.
My requirement is to send mail same like MFMailComposer does in default iOS sdk.
Let me know if there are any ways available.
You can refer below two link for your reference. this will help you to open MailComposer view in Phone gap.
https://github.com/purplecabbage/phonegap-plugins
https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/EmailComposer

how to make phone call in Adobe Flash Builder

i am developing an application for andriod and iphone in the Adobe Flash Builder,how can i make a button that when is pressed the phone(doesnt matter which phone) forwards the number to the phones dialer or makes it VOIP call, thanks in advance :)
I think you're looking for something like the tel link: Inserting a pause into a tel:// link
I've not tried it, but putting this into the htmlText of a TextField and clicking on it should work
Android has a similar functionality I think:
http://androidforums.com/android-applications/31225-possible-make-link-telephone-number.html
Android WebView "tel:" links show web page not found

How to initiate/send SMS from a HTML5 webpage using devices native functions?

I am wondering how can I open the send SMS application by using a web control of a HTML5 page on Android and iPhone. I want to use the device native SMS sending app, with a prepopulated value from the web.
Further to other answers I can confirm that smsto:555:bodytext does not work on an iPhone running iOS5.
What does work (and I've tested it) on Android is the format:
sms:444?body=hello
Example:
Tap to say hello!
On iPhone the ?body=hello will prevent it working at all, and you should use just sms:555 instead.
sms:555
Example
Tap to text us!
I have tested the below and it works:
Using HTML Anchor tag:
Subscribe
Using JavaScript:
window.open('sms:111?body=SUBSCRIBE', '_self');
With Android 3.0 SDK Google has started exposing API in HTML5 for device access. An example is listed here. It may not be enough for what you seek to do.
I dont know enough about iphone to advise either way.

start an iphone app from within another iphone app?

Is it possible to write a function in an iphone app A that when you click on a button within that app A it will close app A and automaticall open up App B
Take a look at Custom URL schemes.
Nice tutorial here http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html

iPhone application to make voice call

I'm trying to make an iPhone application. In it, I want to add a module to make voice call using this application (msisdn is our input). Is this possible? If so, what is the result in iPod Touch?
Any body know how to notify push registry in iPhone? I can see in some site it is available in iPhone.
Generate a call, sms, etc from iphone
You should take a look at the Siphon project:
http://code.google.com/p/siphon/
Are you trying to replace the dialer application, or simply invoke it? On official phones, the dialer cannot be replaced or have another application provide that functionality.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:#"tel:1234---"]];