Hallo Kev,
However, when I return from the home screen I get the
android.intent.action.MAIN action, which I think makes sense.
When you launch your app through the launcher screen you should receive
the intent action android.intent.action.MAIN with category
android.intent.category.LAUNCHER.
Hallo Kev,
I wouldn't call that odd behavior but rather an exact match what you
have written in your code.
NfcAdapter.ACTION_NDEF_DISCOVERED.equals(getIntent().getAction()) will
not return true if the intent received from getIntent() does not
contain that action.
So if your app is started for
Thank you for the explanation :)
I removed the setIntent(new Intent()) code and from your explanation I
was expecting to see the NDEF action on the intent,
since I was no longer setting an empty one.
However, when I return from the home screen I get the
android.intent.action.MAIN action, which I
3 matches
Mail list logo