[android-developers] Re: MiFare Classic detection
I was able to read the tags... and I hope this blog would be usefull for newbies stumbling on the similar http://mifareclassicdetectiononandroid.blogspot.com/ cheers Domnic -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MiFare Classic detection
Hello Michael, I tried this with the intend filter. I am not getting my app triggered. somehow it is still landing on the Tags app. and I am not able to de.install the tags app. do you have a working source which can just detect a tag and show up the ID of the tag.. a Mifare classic one perhaps..? thanks Domnic -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MiFare Classic detection
Hi Michael, Just another question, I would like to start scanning for a tag inside an activity on press of a button say - Start Scanning. In which case, the scanning of the tag must be triggered after that button press. Once a tag is scanned, then it must get the ID of the tag back to the activity that started the scanning. can you help me with a short description.. how I can reach this perhaps..? many thanks to you Domnic -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: MiFare Classic detection
I have created an RFID Message on my phone how can i read it on my PC am using acr122 On Wed, Apr 13, 2011 at 1:37 PM, androidom saviodom...@yahoo.com wrote: Hi Michael, Just another question, I would like to start scanning for a tag inside an activity on press of a button say - Start Scanning. In which case, the scanning of the tag must be triggered after that button press. Once a tag is scanned, then it must get the ID of the tag back to the activity that started the scanning. can you help me with a short description.. how I can reach this perhaps..? many thanks to you Domnic -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Best Regards Zaid Siryani -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: MiFare Classic detection
Hallo Domnic, could you show the complete AndroidManifest? And are you sure that your tag is MIFARE Classic? br Michael On 13.04.2011 12:29 androidom wrote: Hello Michael, I tried this with the intend filter. I am not getting my app triggered. somehow it is still landing on the Tags app. and I am not able to de.install the tags app. do you have a working source which can just detect a tag and show up the ID of the tag.. a Mifare classic one perhaps..? thanks Domnic -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: MiFare Classic detection
Hallo, Just another question, I would like to start scanning for a tag inside an activity on press of a button say - Start Scanning. In which case, the scanning of the tag must be triggered after that button press. Once a tag is scanned, then it must get the ID of the tag back to the activity that started the scanning. You should take a look at the foreground activity dispatch: http://developer.android.com/reference/android/nfc/Tag.html br Michael -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MiFare Classic detection
Hi Zaid, You would have to use the RFID reader and get the data over to your pc over the serial or usb port. you can use java for that. either Global or Open platform. Java Card could be a good starting point.. look for examples using Nokia NFC 6212 classic. This form is about reading using Android.. or I missed your message..=? thanks Domnic On Apr 13, 1:48 pm, Zaid Siryani zaid...@gmail.com wrote: I have created an RFID Message on my phone how can i read it on my PC am using acr122 On Wed, Apr 13, 2011 at 1:37 PM, androidom saviodom...@yahoo.com wrote: Hi Michael, Just another question, I would like to start scanning for a tag inside an activity on press of a button say - Start Scanning. In which case, the scanning of the tag must be triggered after that button press. Once a tag is scanned, then it must get the ID of the tag back to the activity that started the scanning. can you help me with a short description.. how I can reach this perhaps..? many thanks to you Domnic -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Best Regards Zaid Siryani -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MiFare Classic detection
Dear Michael, My Manifest is like this ?xml version=1.0 encoding=UTF-8? manifest android:versionCode=1 android:versionName=1.0 package=com.benya.storm.android.ticketing xmlns:android=http:// schemas.android.com/apk/res/android uses-sdk android:minSdkVersion=9 / application android:icon=@drawable/icon android:label=@string/ app_name android:debuggable=true activity android:label=@string/app_name android:name=.MainActivity intent-filter action android:name=android.intent.action.MAIN/ category android:name=android.intent.category.LAUNCHER/ /intent-filter /activity activity android:name=verifytagscanact android:permission=android.permission.NFC android:label=@string/event_verify intent-filter action android:name=android.nfc.action.TECH_DISCOVERED / /intent-filter meta-data android:name=android.nfc.action.TECH_DISCOVERED android:resource=@xml/filter_nfc / /activity activity android:name=verifyconfirmact android:permission=android.permission.INTERNET android:label=@string/event_verify/activity /application uses-permission android:name=android.permission.INTERNET/ uses-permission android:name=android.permission.NFC/ /manifest -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: MiFare Classic detection
Hallo Domnic, Strange, the manifest looks good to me. uses-sdk android:minSdkVersion=9 / Your phone is Android 2.3.3 (i.e. API version 10, right?). Otherwise, the TECH_DETECTED intent is not available. activity android:name=verifytagscanact android:permission=android.permission.NFC ^^^ I'm not sure why you request the calling app to have the NFC permission. You might want to try to remove this requirement, eventhough I would expect the NFC Service to have this permission. br, Michael -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MiFare Classic detection
Looks like this would work only on 2.3.3 and above.. and not 2.3.1 ..! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MiFare Classic detection
Nope the phone is 2.3.1 level 9.. I am afraid as you said it would work.. I need to flash ver 3 I think.. can we do the upgrade using windows platform..? any suggestions..perhaps..? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MiFare Classic detection
Nope the phone is 2.3.1 level 9.. I am afraid as you said it would work.. I need to flash ver 3 I think.. can we do the upgrade using windows platform..? any suggestions..perhaps..? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MiFare Classic detection
Dear Michael, Many thanks for your reply. I tried it, Of course every MIFARE tag uses the RF technology NfcA, so a filter like this will also work: resources xmlns:xliff=urn:oasis:names:tc:xliff:document:1.2 tech-list techandroid.nfc.tech.NfcA/tech techandroid.nfc.tech.MifareClassic/tech /tech-list /resources But when I started my app and then brought the tag close.. I dont think my app is getting called. some default app gets triggerd.. atleast it doest not land in my code when I set the debug point. The screen comes up with the title New Tag collected- unknown tag type . any suggestions on which app to de install or how to set priority to my app ? thanks Domnic -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: MiFare Classic detection
Hallo Domnic, I've just re-read through the code you posted before and found another problem: Did you place the action inside an intent-filter? Like this: intent-filter action android:name=android.nfc.action.TECH_DISCOVERED / /intent-filter meta-data android:name=android.nfc.action.TECH_DISCOVERED android:resource=@xml/filter_nfc / br Michael -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: MiFare Classic detection
Hallo Domnic, My resource file looks like resources xmlns:xliff=urn:oasis:names:tc:xliff:document:1.2 tech-list techandroid.nfc.tech.NfcA/tech techandroid.nfc.tech.NfcB/tech techandroid.nfc.tech.NfcF/tech techandroid.nfc.tech.NfcV/tech techandroid.nfc.tech.Ndef/tech techandroid.nfc.tech.NdefFormatable/tech techandroid.nfc.tech.MifareClassic/tech /tech-list /resources Right, this tech-list won't trigger on any tag. Take a look at the documentation at [url]http://developer.android.com/reference/android/ nfc/NfcAdapter.html#ACTION_TECH_DISCOVERED[/url]. It says that tech- list combines its tech entries with AND. So you are trying to listen for a tag that is NfcA AND NfcB AND NfcF AND NfcV at the same time. However a tag will only be detected as one RF technology. To listen for multiple tag technologies you would need multiple tech- list entries (they are then combined with logical OR.) If you want to detect only MIFARE Classic, a filter like this would suffice: resources xmlns:xliff=urn:oasis:names:tc:xliff:document:1.2 tech-list techandroid.nfc.tech.MifareClassic/tech /tech-list /resources Of course every MIFARE tag uses the RF technology NfcA, so a filter like this will also work: resources xmlns:xliff=urn:oasis:names:tc:xliff:document:1.2 tech-list techandroid.nfc.tech.NfcA/tech techandroid.nfc.tech.MifareClassic/tech /tech-list /resources br, Michael -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en