Android 程序启动另一个程序
2016-07-09 11:27
399 查看
intent = new Intent( );
ComponentName comp = new ComponentName("com.android.mms", "com.android.mms.ui.ConversationList");
intent.setComponent(comp);
intent.setAction("android.intent.action.VIEW");
startActivity(intent);// ---启动另一个软件,
Intent it = new Intent(Intent.ACTION_VIEW);
it.putExtra("sms_body", "The SMS text");
it.setType("vnd.android-dir/mms-sms");
startActivity(it); //--启动
ComponentName comp = new ComponentName("com.android.mms", "com.android.mms.ui.ConversationList");
intent.setComponent(comp);
intent.setAction("android.intent.action.VIEW");
startActivity(intent);// ---启动另一个软件,
Intent it = new Intent(Intent.ACTION_VIEW);
it.putExtra("sms_body", "The SMS text");
it.setType("vnd.android-dir/mms-sms");
startActivity(it); //--启动
相关文章推荐
- AndroidStudio创建带有toolbar的模板
- Android的事件分发与消费机制
- Android Service
- android开发之R文件报错
- Android弹出式菜单-一种简单的实现方式
- android ViewPager在拖拽到左边和右边的时候,禁止显示黄色或者蓝色的渐变图片的解决方法
- Handler消息传递机制
- android之timer和timertask是否运行在主线程中解答
- EventBus(二)------从register这条线分析EventBus
- Android中的画廊(Gallery)
- Android开发相关的Blog推荐
- Android Volley框架使用(三)
- Android学习笔记
- android之postDelayed是否运行在主线程中解答
- Android Volley框架使用(二)
- Android环境变量的设置
- android 之MTV
- Android Animations动画使用详解
- Android Volley框架使用(一)
- Android学习第3天,test、sqlite、listview、dialog