Tuesday, July 31, 2012

Re: [android-developers] Meesage From android

that's right.

As others have noted you might not have a device with a number, and
you should catch the intent in the case that it fails..

kris

On Tue, Jul 31, 2012 at 6:09 AM, Rahul Kaushik <rahulkaushik85@gmail.com> wrote:
> Intent smsIntent = new Intent(Intent.ACTION_VIEW);
> smsIntent.setType("vnd.android-dir/mms-sms");
> smsIntent.putExtra("address", "12125551212");
> smsIntent.putExtra("sms_body","Body of Message");
> startActivity(smsIntent);
>
>
> That is am looking for
>
> Thanks
> RK
>
> On Tue, Jul 31, 2012 at 3:34 PM, Raghav Sood <raghavsood@gmail.com> wrote:
>>>
>>> From where we send our/compose our message in our android mobile
>>
>>
>> There is no default SMS app in Android.
>>
>>>
>>> Mobile no to whom the message is to be send
>>
>>
>> The ability to do this varies from app to app.
>>
>> Thanks
>>
>> --
>> Raghav Sood
>> Please do not email private questions to me as I do not have time to
>> answer them. Instead, post them to public forums where others and I can
>> answer and benefit from them.
>> http://www.appaholics.in/ - Founder
>> http://www.apress.com/9781430239451 - Author
>> +91 81 303 77248
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment