解决方案 »
- TextView
- 关于googlemap apikey 的问题
- android获得Activity为Theme.Dialog Activity的值
- 请教大家一个问题,大家的UI不会都是系统默认的吧?是不是自己定义的selector?
- couldn't save which view has focus because the focused view
- play and record video at same time
- android打开虚拟设备出launcher关闭错误,求教
- 58同城中的,下拉查看上一条信息,上滑查看下一条信息怎么做
- 手机短信如何加入像网页段的超链接
- android 用模拟器 启动4.4.2的系统 起不来
- 急!求例子!!!
- 怎么让eclipse自动用ndk-build编译jni文件呀
Intent intent = new Intent(Intent.ACTION_SEND);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intent.putExtra(Intent.EXTRA_STREAM, uri);//uri为你的附件的uri
intent.putExtra("subject", subString);
//intent.putExtra("sms_body", "sdfsdf");
intent.putExtra(Intent.EXTRA_TEXT, "sdfsdf");
intent.setType("image/*");//彩信附件类型
intent.setClassName("com.android.mms", "com.android.mms.ui.ComposeMessageActivity");
startActivity(intent);接受彩信:
接受彩信只能提供一个思路。通过BroadcastReceiver来拦截彩信接收信息,需要添加权限<uses-permission android:name="android.permission.RECEIVE_MMS"></uses-permission>