How to use iPhone MFMailComposer using phonegap? - iphone

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

Related

iPhone app in Flash Builder

I've created an android app that uses WebView, through Eclipse, to display a website and navigate through it. However, now I've been assigned with creating the same app for the iPhone/iPad.
Is there any way to implement something as simple as a WebView for the iPhone while programming it through Flash Builder? (First time developing for Apple products...)
Any help will be much appreciated!
Thanks
With Adobe Air 3 you can publish apps for iOS. Making a UIWebView in objective-c (cocoa) and then load an external flash app (or site) won't work, since iOS devices don't allow flash embedded objects
Create app with NewDigitalTimes Free Apps Creator based on Adobe Air technology. This immediately gives all the functionality for push-notifications, analytics and advertising. Else you can use animation in app. Customize the showing Web site in the native iOS application with specifying the link.

Launch IPad App from another app like email/web browser

How can I launch my IPad app from another native IPad app such as email or web browser. I am pretty new to objective C. Thanks.
What you're looking for is what's called a Custom URL Scheme for your App. You can find more information and a great write up on how to accomplish this here:
http://mobiledevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html

custom iphone message screen To field

I have a requirement to develop same functionality in my iphone app same as in message app, To: field.
where user can type recipients and recipients are get added into search field .
any idea which control is it. or some tutorial related to it.
thanks,
Starting with iOS 4.0, you can send SMS messages from within the app. You can do it using the MFMessageComposeViewController class.
Here's one of the many tutorials available on the internet on how to do it.

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.

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

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.