Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道用户是否在 card.io 扫描中按下回以在我的活动中做出相应的反应。我可以这样做吗?card.io 是否发送意图?
调用活动的onActivityResult(int requestCode, int resultCode, Intent data)方法,resultCode将有一个值Activity.RESULT_CANCELED。
onActivityResult(int requestCode, int resultCode, Intent data)
resultCode
Activity.RESULT_CANCELED
自述文件的“示例代码”部分有更多详细信息。此外,请查看示例应用程序。