--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
// If sms:5551212else if (url.startsWith("sms:")) {try {Intent intent = new Intent(Intent.ACTION_VIEW);intent.setData(Uri.parse(url));intent.putExtra("address", url.substring(4));intent.setType("vnd.android-dir/mms-sms");startActivity(intent);} catch (android.content.ActivityNotFoundException e) {System.out.println("Error sending sms "+url+":"+ e.toString());}return true;}If I could just change the "intent.putExtra("address", url.substring(4));" to"intent.putExtra("sms_body", url.substring(4));"
I think that may work? You wouldn't be able to put a recipient address there but you could fill in the body.
Clearly I'm not an Android developer, so maybe this is a waste of time - but I can't figure out how to even try this.
--
Norman E. Avila G.
-------------------------------
USA +1 412 ClimaYa
+1 412 254-6292
GUA +502 2360-9950