我想点击我的应用程序中的按钮,在Android中打开默认的短信收件箱。我不想创建自己的活动来显示收件箱邮件。我搜索了很多链接但找不到解决方案。
答案 0 :(得分:3)
查看此问题:launch sms application with an intent。您可以尝试多种回复。
答案 1 :(得分:2)
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_LAUNCHER);
intent.setClassName("com.android.mms", "com.android.mms.ui.ConversationList");