سؤال

I wish to know if the user has pressed back in card.io scan to react accordingly in my activity. Can I do that ? Does card.io send an intent?

هل كانت مفيدة؟

المحلول

The calling activity's onActivityResult(int requestCode, int resultCode, Intent data) method, resultCode will have a value of Activity.RESULT_CANCELED.

The 'Sample Code' section of the README has more detail. Also, check out the sample app.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top