How to start an activity from other activity but with specific intent - from OnNewIntent

StackOverflow https://stackoverflow.com/questions/8957576

سؤال

Ok... so i guess the title is a bit confusing. so i will explain: I have an NFC app which i handle a NDEF_DISCOVERED succesfuly in activity A. then a new activity is launched (B). In this new activity (B) i want to be able to catch another tag and let activity A handle it as before, so i use OnNewIntent to get this intent of the tag and want to start activity A. But if i call startActivity(myIntent) with the traditional myIntent = new Intent(this, A.class) then activity A launced with this myIntent and i want the activity A to handle the tag intent that was 'caught' on activity B..

how can i do that?

Thanks.

لا يوجد حل صحيح

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