Hi all,

I hope I am missing something simple.

I have a trivial NFC application, it starts using the tech discovered
action.
When the app is running I have a pendingIntent which works fine.
I also have an intent filter set up in the same way in my manifest,
which appears to be working correctly as my app starts when I tap a
tag (kind of).

When I pause the app (return to home screen) then scan an nfc tag the
app starts back up again - but the action passed back is
android.intent.action.MAIN despite DDMS showing the tech_discovered
intent started,

INFO/ActivityManager(115): Starting: Intent
{ act=android.nfc.action.TECH_DISCOVERED flg=0x10000000
cmp=com.feeb/.activities.ListTags (has extras) } from pid 12394
INFO/com.moominland.activities.ListTags(12664):
android.intent.action.MAIN

This means I can't get a handle to the tag via the intent in the
onresume method :/

Hopefully I am missing something simple :)

Thanks,

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to