i want to make app to capture SMS content and send it directly to specific gmail without any share button
i want to know how to implement this app or the function
I'm a Java/Web developer and I don't know anything about iPhone applications.
I did search on the Internet and the following steps are what I think people suggested but I want to confirm.
I would like to know if the following steps will allow me to send a content body to SMS messages when a user clicks on a link on a web page.
Build an iPhone app that takes content body and receiver phone number.
Make the visitors to my webpage download the iPhone app in #1 (using javascript to check if s/he already has it and a custom url scheme to open the iPhone version of "PlayStore")
The visitor installs the app.
Call the iPhone app in #1 using a custom URL scheme, from a link on a web page. This link contains the phone number of the receiver and a content body
The iPhone app in #1 then opens the native SMS app in iPhone, this time with a body.
Is this
1. possible ?
2. the right way to do ?
EDIT :
To make things clearer, what I need are...
It shouldn't be the web server that sends the SMS. The client who gave us the job does not want to pay for that. The client wants each visitor send their own SMS and pay for it.
I made a mistake. The phone number of the receiver should be empty. Only the content body is pre populated. So if I clicked on the "send SMS to my friends" link(on a webpage), it opens the native SMS application.(at least, this is how it works on android devices currently). And then the visitor would type in or select the phone number of the receiver from the contacts on his device.
No, you cannot open the SMS app with a message body. The only way to send it is by using MFMessageComposeViewController (iOS 5.0+) as shown in this page. If you need to support earlier versions, you are out of luck.
I'm not sure that Javascript can "check" that the device can run a url scheme either (I'm almost certain it can't check what apps are installed), but I'm not an expert at that kind of stuff.
As far as you are launching your application with some data using Custom URL Schemes this might help you calling your app with some parameters
http://www.idev101.com/code/Objective-C/custom_url_schemes.html
For step #5 its not possible
Short Answers:
No.
No. The "right" version would be to send the SMS from your webserver, using something like NowSMS.
I need to get the sms details from iPhone, that is count of sent and received messages and all messages that are stored in iPhone device. How can I implement them programmatically?
I am not sure if the current SDK supports functions to access SMS information as there is currently no API to get access to the user's SMS/MMS library.. I guess you can only do it for Jailbroken devices
What I want this App to be able to do, is to be able to allow the individual copy all the text messages on his/ her phone and then send them to their profile on the website that I am creating. Is this possible ?
If you mean the user copying from the SMS app to your app via cut and paste yes. But I think you mean can your app programmatically grab all of someone's text messages and the answer to that is no.
I know there's the app called Ping! for iPhone that allows the sending of SMS messages over your 3G connection, therefore it doesn't count as a text message and it acts pretty much the same as the regular iPhone texting software. Is there any app like this that's available for both iPhones and Blackberrries?
Google Voice allows you to send and receive messages through a web frontend. Because it is just a web page, it should work on any phone with a data plan. More info here: http://www.google.com/googlevoice/about.html