我的计划是通过其线程ID打开SMS-Conversation线程。我的代码是:Android通过其线程ID打开特定SMS-Thread
long threadId = Long.parseLong(THREAD_ID);
Intent defineIntent = new Intent(Intent.ACTION_VIEW);
defineIntent.setData(Uri.parse("content://mms-sms/conversations/"+threadId));
context.startActivity(defineIntent);
,但我得到以下错误:
09-27 16:01:07.696: ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=content://mms-sms/conversations/3 }
谁能帮我这个?提前致谢。
J Doe;)
http://stackoverflow.com/questions/39678042/how-to-open-sms-intent-to-read-not-send-message –