1) scan tag that has mimeType: application/customappname, mimeType: text/plain "hi"
result: application runs, application gets into recent apps history, BUT onNfc from mimeTypeListener is not called and can't get tag info from launch
2) scan tag that has mimeType: text/customappname, mimeType: text/plain "hi"
result: application runs, I can also receive world "Hi", but app DOES NOT get into recent apps and minifying application losts needed data and app has to be re-launched.
DOES anyone have some idea why first 1) mimeTypeListener is not triggered when I am using mimeType application/*
or why with 2) mimeTypelistener my application doesn't get to recent apps list?
Hi,
I need to lauch app from NFC tag and also pass one more value from tag to app, but I can't work it out how to get them both working together.
I am using NFC phonegap plugin https://github.com/chariotsolutions/phonegap-nfc
I have two tags where I have described information:
1) mimeType: application/customappname, mimeType: text/plain "hi" 2) mimeType: text/customappname, mimeType: text/plain "hi"
Inside the AndroidManifest.xml I have described intent
And in deviceready I have mimeType listeners:
Workflows
1) scan tag that has mimeType: application/customappname, mimeType: text/plain "hi" result: application runs, application gets into recent apps history, BUT onNfc from mimeTypeListener is not called and can't get tag info from launch
2) scan tag that has mimeType: text/customappname, mimeType: text/plain "hi" result: application runs, I can also receive world "Hi", but app DOES NOT get into recent apps and minifying application losts needed data and app has to be re-launched.
DOES anyone have some idea why first 1) mimeTypeListener is not triggered when I am using mimeType application/* or why with 2) mimeTypelistener my application doesn't get to recent apps list?
Thank you for your help.