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.
我尝试使用这种 IntentIntegrator 方法,但是在我的 onActivityResult() 中,我得到了resultcode = 49374 requestCode = 49374,我不明白我错过了什么,仅供参考,我只在我的项目中包含了 IntentIntegrator.java 和 IntentResult.java 。
我想你可能打印了requestCode两次。49374 (0xC0DE) 是正确的requestCode。该应用程序仅将Activity.RESULT_OK或设置Activity.RESULT_CANCELED为resultCode. 您可以在android/.
requestCode
Activity.RESULT_OK
Activity.RESULT_CANCELED
resultCode
android/