Log.i("txrjsms", "whereDoYouJumpFrom:"+getIntent().getPackage()); 结果是null

Log.i("txrjsms", "whereDoYouJumpFrom:"+getIntent().getAction()); 结果是:

07-13 16:08:10.007: I/txrjsms(7043): whereDoYouJumpFrom:action.add.recipient

在跳转到ContactListActivity中执行操作

public void onClick(View v) {
    Intent it = new Intent(mContext, ContactListActivity.class);
    it.setAction(TxrjConstant.ACTION_ADD_RECIPIENT);
    startActivityForResult(it, TxrjConstant.REQUEST_ADD_CONTACT);
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2022-12-23
  • 2021-07-24
  • 2021-06-13
  • 2021-06-06
猜你喜欢
  • 2021-12-27
  • 2021-09-20
  • 2021-06-20
  • 2022-12-23
相关资源
相似解决方案