3

I am not able to compose a messge in Motorola XT925 device.

My code is as follows:

 Intent smsIntent = new Intent(Intent.ACTION_VIEW);
        smsIntent.putExtra("sms_body", "My message");
        smsIntent.setType("vnd.android-dir/mms-sms");
        startActivity(smsIntent);

The above code runs on all devices and shows the output "My messgae".But on Motorola XT925,it shows blank text.Any help will be appreciated.

Thanks.

leppie
  • 115,091
  • 17
  • 196
  • 297
Siddharth_Vyas
  • 9,972
  • 10
  • 39
  • 69

1 Answers1

2

Same problem on Motorola Droid RAZR, Android 4.0.4. Maybe Motorola devices have custom sms client. Seems reasonable ask someone from their developer team.

Updated: Finally I found solution for myself here: https://stackoverflow.com/a/5522616/1170154.

Community
  • 1
  • 1
Yuriy
  • 1,466
  • 2
  • 14
  • 30