I would like to have a submit button send the content of a related form directly to a phone number via SMS. However, the phone number should be private. Can the number be encoded?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your submit button’s onClick handler needs to do something like this:
Use android.telephony.SmsManager to send SMS messages. Be aware that your app needs special permissions to do this.
Here is a tutorial that shows how to do all of this: http://mobiforge.com/developing/story/sms-messaging-android.