使用下面的代码或类似代码,标志"compose_mode"在回复SMS消息时会做什么?
示例代码:
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);
从未尝试过,但发现:
// Exit the app once the SMS is sent
intent.putExtra("compose_mode", true);
http://code.google.com/p/zxing/source/browse/trunk/android/src/com/google/zxing/client/android/result/ResultHandler.java?r=635