使用下面的代码或类似代码,“compose_mode”标志在回复短信方面做了什么?
示例代码:
Intent intent = new Intent(Intent.ACTION_SENDTO);
intent.setData(Uri.parse("smsto:" + sendTo));
intent.putExtra("compose_mode", true); //What does this line do? What if it was "false"?
startActivity(intent);
答案 0 :(得分:0)
从未尝试过,但发现:
// Exit the app once the SMS is sent
intent.putExtra("compose_mode", true);