Open mail app on firmware 3.1 - iphone

I would like to make an app to open the native app mail on my iPhone. The problem is that I'm able to do it but the mail app opens on compose a new blank Message, and not on the Main view.

There is no way to open other apps from an iPhone application.
You can only open the Mail app via a mailto URL, and that -as you said- will give you the compose view.

Related

Using mailto in a mobile web application running on iPhone

I am developing a web application to run in standalone/full screen mode on an iPhone and I am using mailto to open the default iPhone e-mail client to be able to send an e-mail from the web application. This works, but the problem I am facing is that after the e-mail is sent, there is no way to automatically get back to the web application that caused the e-mail client to be opened in the first place. The user has to manually click the web application icon on the home screen to go back to the web application, which is not what I want to happen. Is there a way to automatically return to the web application once the e-mail has either be sent or cancelled?
If not, it appears to me that this destroys the usefulness of even using mailto in a mobile web application. What would be the point if you cannot even get back to your web application (where you left off) after sending the e-mail?
I am using iOS 7.0.3 btw.
Is there a way to automatically return to the web application once
the e-mail has either be sent or cancelled?
No, unless you develop yourself the mail app (like GMail app does with Chrome, for example)

How to send an email from UIWebView in iPhone?

I have a mailto: link in UIWebView, but when I tap it nothing happens,
How can I open email editor?
thanks
I've tried in this moment with mobile safari on my iPhone and when I tap on a mailto: link it open email composer.
Are you trying to do this in iPhone simulator?
If not, have you configured an email account on you iPhone?

How will you invoke other apps from the native iPhone app?

How can I invoke an app from a native app? I want to invoke my app on clicking a mail from the native mail app. For example native mail app list staza app and good writer app when you want to view a pdf file, that is in your inbox.
So what we should do if we want to display our app also in that list?
You can try inter-process communication. Here is some guide

how to invoke a iphone native application from webview

i have a application which has 2 parts one is a webview and other is a native iphone application.
I want to invoke a native iphone application from a website inside
a webview.
If by webview you mean a webpage that you open in Mobile Safari you can link to your native iPhone app by registering a custom URL scheme for your app.
http://www.idev101.com/code/Objective-C/custom_url_schemes.html has a fairly clear description on how it's done.
If you mean opening something like Mail or SMS from within your app, then you can use a URL like sms:// or mailto:

IPhone push notfication for a webapp?

Is it possible to implement IPhone's push notification service for a
Webapp that has an icon on the "desktop"? If so how?
That depends on exactly what you mean by Webapp that has an icon on the "desktop"?
No, if you're referring to a webapp where you have saved a link with Add to Home screen as per this Apple instruction.
Yes, if your webapp is a thin CocoaTouch shell using webkit.
i have an alternative solution for this:
1) create a gmail account and get gpush app on your iphone (setup the gmail in the app).
2) instate of sending direct notification to iphone, you can send an email from your webapp to the gmail account.
3) within 5 sec. you will receive the push notification.
hope this help.
You can always delegate the messaging to 3rd party notification apps.
One great example is Boxcar (http://boxcar.io/).
You can have your web app send notifications via their API and have them delivered to the app. Lastly, you can the use deeplinks in your message to open your webapp to point the user to the content item you wanted to bring their attention to.
No, it's not possible. It's only for cocoa touch (AppStore) apps. If you want more info, take a look on the documentation.
another alternative: use an sms service like http://www.smstrade.de/ to send an sms to the user's phone. That's the way I do it.
Another provider for sending sms as notification is https://bulktrade.de
There works world wide
You can use HTML5 to introduce your own push messages. From wikipedia
"For the client side, WebSocket was to be implemented in Firefox 4,
Google Chrome 4, Opera 11, and Safari 5, as well as the mobile version
of Safari in iOS 4.2.1 Also the BlackBerry Browser in OS7 supports
WebSockets."
To do this, you need your own provider server to push the messages to the clients. If you want to use APN (Apple Push Notification), you must have a native application which must be downloaded through the App Store.
From iOS 6.0 I noticed that a WebApp icon placed on homescreen automaticly refreshes after each webkit open of webapp. Of course if you change this icon on the webserver. So theoretically you can display any informative content in this icon(numbers, status etc) BUT it will not refreshes instantly - only after opening and closing a webkit webapp.