I have two Activities in my Android app that deal with NFC. One has a declared IntentFilter in the AndroidManifest.xml, while the other just accepts NFC actions while it is active using a PendingIntent and onNewIntent();. However, sometimes when in the latter activity I actually want to pass the NFC action on the the former. How do I “release” the Intent to a different activity without losing any of the NFC information within?
I have two Activities in my Android app that deal with NFC. One has
Share
Use
startActivity(Intent intent)but instead of theIntentbeing created using the specificMyActivity.classform (an explicit Intent), add the action/category that the firstActivityis set to react to in its manifest<intent-filter>section (an implicit Intent).