csh_34 2013-05-06 06:42 采纳率: 0%
浏览 1990
已采纳

打开文本信息放入放置一个随机数组

当我点击一个数组时,程序会随机生成一个字符串。我想知道有什么方法(如果用户选择它)
打开文本信息并把创建的字符串放到里面。因此现在就是要把这个字符串发送给他们选择的对象?

  • 写回答

1条回答 默认 最新

  • LiDaming_and 2013-05-06 09:31
    关注

    使用代码:

     Intent sendIntent = new Intent(Intent.ACTION_VIEW);
                        sendIntent.putExtra("sms_body", "Content of the SMS goes here..."); 
                        sendIntent.setType("vnd.android-dir/mms-sms");
                        startActivity(sendIntent);
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?