回复短信:"compose_mode"=真与假有什么区别?

  • 本文关键字:区别 compose mode 回复 android sms
  • 更新时间 :
  • 英文 :


使用下面的代码或类似代码,标志"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

最新更新