ios - iPhone url scheme with content body to SMS -


i'm java/web developer , don't know iphone applications.

did search on internet , following steps think people suggested want confirm.

know if following steps allow me send content body sms messages when user clicks on link on web page.

  1. build iphone app takes content body , receiver phone number.
  2. make visitors webpage download iphone app in #1 (using javascript check if s/he has , custom url scheme open iphone version of "playstore")
  3. the visitor installs app.
  4. call iphone app in #1 using custom url scheme, link on web page. link contains phone number of receiver , content body
  5. the iphone app in #1 opens native sms app in iphone, time body.



1. possible ?
2. right way ?
edit :

make things clearer, need are...

  1. it shouldn't web server sends sms. client gave job not want pay that. client wants each visitor send own sms , pay it.
  2. i made mistake. phone number of receiver should empty. content body pre populated. if clicked on "send sms friends" link(on webpage), opens native sms application.(at least, how works on android devices currently). , visitor type in or select phone number of receiver contacts on device.

no, cannot open sms app message body. way send using mfmessagecomposeviewcontroller (ios 5.0+) shown in this page. if need support earlier versions, out of luck.

i'm not sure javascript can "check" device can run url scheme either (i'm can't check apps installed), i'm not expert @ kind of stuff.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -