1

我使用以下代码发送彩信,

String message = Fname + Mobileno + Homeno + Workno
                                + Workmail + Homemail + Gtalk + Skype
                                + Address + Company + Title + Website;
                    Intent i = new Intent(Intent.ACTION_SEND);
                        i.putExtra("address",orgphonenumber);
                        Uri uri = Uri.parse("file://"+Environment.getExternalStorageDirectory()+"/Talk&Share/Images/profpic.png");
                        i.putExtra(Intent.EXTRA_STREAM,uri);
                        i.putExtra("sms_body","Hello");


                        i.setType("image/png");
                        i.putExtra("exit_on_sent", true);
                        startActivityForResult(i, ONLINE);

上面的代码在所有设备上运行并显示图像和正文文本。但在摩托罗拉 Atrix 2 上,它在正文中显示空白文本。任何帮助将不胜感激。

4

0 回答 0