[android-developers] Re: NFC doubts. JSR 257 - 177
Hi, The thing is what Andrew says. I am working with an sticker always connected to the mobile phone, so once the mobile detects the sticker and reads it, is not possible to read it again unless I remove it and stick it again (what obviously is not acceptable to me). What I want to do is somehow whenever I start my application is to be able to read the tag without having to remove it from the mobile phone. The sticker is similar to these ones http://cdn2.ubergizmo.com/wp-content/uploads/2010/12/iphone-nfc-japan-sticker-softbank.jpeg Thanks and regards On 23 ene, 03:55, Ben Dodson wrote: > I had trouble cut/pasting from the git source to google group as well. > The package is here: > > android.git.kernel.org/?p=platform/packages/apps/Tag.git;a=summary > > On Jan 22, 4:30 pm, davemac wrote: > > > H. Dianne's link doesn't appear to work. Any help here? > > > - dave > > > On Jan 18, 9:12 pm, Dianne Hackborn wrote: > > > > There are links at the bottom of the page to the full source. This is > > > also > > > part of the platform sample code, so it is included with all of the other > > > sample code you can download. > > > > Also of course you can always look at the actual code of the standard NFC > > > Tag app: > > > >http://android.git.kernel.org/?p=platform/packages/apps/Tag.git;a=tree > > > > On Tue, Jan 18, 2011 at 5:10 AM, mduffy215 wrote: > > > > Has anyone been able to create a demo for NFC on Android 2.3? > > > > > The support from Google is incredibly lame: > > > >http://developer.android.com/resources/samples/NFCDemo/index.html > > > > > The "demo" does not even give you the ability to download the source > > > > code!!! > > > > > The demo is very generic and is not a working application. > > > > > In order to be a full demo developers must have access to a sample NFC > > > > tag or reader. Does anyone have any recommendations for a tag/reader > > > > they have actually used in creating a demo for NFC on Android 2.3? > > > > > On Jan 18, 3:11 am, Gorka wrote: > > > > > Hi, > > > > > > I´ve been working on NFC with my Samsung 5230 mobile, and now I am > > > > > considering to move to Android. Before I do that I have some > > > > > questions. I´ve been reading the group and the developers web page, > > > > > but still have some doubts. > > > > > > - Is it possible to read MIFARE DESFire tags using the standard API. > > > > > In order to do that I have always used the JSR 257 spec. but I don´t > > > > > know if it is possible to do something similar with the current > > > > > Android version. > > > > > > - Suppose that I have a tag that is a sticker always affixed to the > > > > > mobile phone. Is it possible to read it always my application is > > > > > started?? In the mobile I used to work with it was a limitation since > > > > > once the sticker was detected the first time it could not detect it > > > > > anymore until I removed the sticker from the mobile NFC range and got > > > > > it close again. Would be possible using Android API to detect it > > > > > anytime I start the app without having to remove it?? > > > > > > - I am working on JavaCard too and I have developed an applet in order > > > > > to complete the authentication steps in a secure way. Is it possible > > > > > to access JavaCard applets in my SD card using Android API. Until that > > > > > moment I have used the JSR 177 (APDU Connection, ...) in order to do > > > > > that. The problem with others mobile is that to access the SD you have > > > > > to sign your midlet with a Verysign certificate, but I don´t want to > > > > > do this. > > > > > > Thanks a lot. > > > > > Best regards. > > > > > -- > > > > 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 > > > cr...@googlegroups.com> > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?hl=en > > > > -- > > > Dianne Hackborn > > > Android framework engineer > > > hack...@android.com > > > > Note: please don't send private questions to me, as I don't have time to > > > provide private support, and so won't reply to such e-mails. All such > > > questions should be posted on public forums, where I and others can see > > > and > > > answer them. -- 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: NFC doubts. JSR 257 - 177
I had trouble cut/pasting from the git source to google group as well. The package is here: android.git.kernel.org/?p=platform/packages/apps/Tag.git;a=summary On Jan 22, 4:30 pm, davemac wrote: > H. Dianne's link doesn't appear to work. Any help here? > > - dave > > On Jan 18, 9:12 pm, Dianne Hackborn wrote: > > > > > > > > > There are links at the bottom of the page to the full source. This is also > > part of the platform sample code, so it is included with all of the other > > sample code you can download. > > > Also of course you can always look at the actual code of the standard NFC > > Tag app: > > >http://android.git.kernel.org/?p=platform/packages/apps/Tag.git;a=tree > > > On Tue, Jan 18, 2011 at 5:10 AM, mduffy215 wrote: > > > Has anyone been able to create a demo for NFC on Android 2.3? > > > > The support from Google is incredibly lame: > > >http://developer.android.com/resources/samples/NFCDemo/index.html > > > > The "demo" does not even give you the ability to download the source > > > code!!! > > > > The demo is very generic and is not a working application. > > > > In order to be a full demo developers must have access to a sample NFC > > > tag or reader. Does anyone have any recommendations for a tag/reader > > > they have actually used in creating a demo for NFC on Android 2.3? > > > > On Jan 18, 3:11 am, Gorka wrote: > > > > Hi, > > > > > I´ve been working on NFC with my Samsung 5230 mobile, and now I am > > > > considering to move to Android. Before I do that I have some > > > > questions. I´ve been reading the group and the developers web page, > > > > but still have some doubts. > > > > > - Is it possible to read MIFARE DESFire tags using the standard API. > > > > In order to do that I have always used the JSR 257 spec. but I don´t > > > > know if it is possible to do something similar with the current > > > > Android version. > > > > > - Suppose that I have a tag that is a sticker always affixed to the > > > > mobile phone. Is it possible to read it always my application is > > > > started?? In the mobile I used to work with it was a limitation since > > > > once the sticker was detected the first time it could not detect it > > > > anymore until I removed the sticker from the mobile NFC range and got > > > > it close again. Would be possible using Android API to detect it > > > > anytime I start the app without having to remove it?? > > > > > - I am working on JavaCard too and I have developed an applet in order > > > > to complete the authentication steps in a secure way. Is it possible > > > > to access JavaCard applets in my SD card using Android API. Until that > > > > moment I have used the JSR 177 (APDU Connection, ...) in order to do > > > > that. The problem with others mobile is that to access the SD you have > > > > to sign your midlet with a Verysign certificate, but I don´t want to > > > > do this. > > > > > Thanks a lot. > > > > Best regards. > > > > -- > > > 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 > > cr...@googlegroups.com> > > > For more options, visit this group at > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > Dianne Hackborn > > Android framework engineer > > hack...@android.com > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see and > > answer them. -- 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: NFC doubts. JSR 257 - 177
H. Dianne's link doesn't appear to work. Any help here? - dave On Jan 18, 9:12 pm, Dianne Hackborn wrote: > There are links at the bottom of the page to the full source. This is also > part of the platform sample code, so it is included with all of the other > sample code you can download. > > Also of course you can always look at the actual code of the standard NFC > Tag app: > > http://android.git.kernel.org/?p=platform/packages/apps/Tag.git;a=tree > > > > On Tue, Jan 18, 2011 at 5:10 AM, mduffy215 wrote: > > Has anyone been able to create a demo for NFC on Android 2.3? > > > The support from Google is incredibly lame: > >http://developer.android.com/resources/samples/NFCDemo/index.html > > > The "demo" does not even give you the ability to download the source > > code!!! > > > The demo is very generic and is not a working application. > > > In order to be a full demo developers must have access to a sample NFC > > tag or reader. Does anyone have any recommendations for a tag/reader > > they have actually used in creating a demo for NFC on Android 2.3? > > > On Jan 18, 3:11 am, Gorka wrote: > > > Hi, > > > > I´ve been working on NFC with my Samsung 5230 mobile, and now I am > > > considering to move to Android. Before I do that I have some > > > questions. I´ve been reading the group and the developers web page, > > > but still have some doubts. > > > > - Is it possible to read MIFARE DESFire tags using the standard API. > > > In order to do that I have always used the JSR 257 spec. but I don´t > > > know if it is possible to do something similar with the current > > > Android version. > > > > - Suppose that I have a tag that is a sticker always affixed to the > > > mobile phone. Is it possible to read it always my application is > > > started?? In the mobile I used to work with it was a limitation since > > > once the sticker was detected the first time it could not detect it > > > anymore until I removed the sticker from the mobile NFC range and got > > > it close again. Would be possible using Android API to detect it > > > anytime I start the app without having to remove it?? > > > > - I am working on JavaCard too and I have developed an applet in order > > > to complete the authentication steps in a secure way. Is it possible > > > to access JavaCard applets in my SD card using Android API. Until that > > > moment I have used the JSR 177 (APDU Connection, ...) in order to do > > > that. The problem with others mobile is that to access the SD you have > > > to sign your midlet with a Verysign certificate, but I don´t want to > > > do this. > > > > Thanks a lot. > > > Best regards. > > > -- > > 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 > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. -- 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: NFC doubts. JSR 257 - 177
There are links at the bottom of the page to the full source. This is also part of the platform sample code, so it is included with all of the other sample code you can download. Also of course you can always look at the actual code of the standard NFC Tag app: http://android.git.kernel.org/?p=platform/packages/apps/Tag.git;a=tree On Tue, Jan 18, 2011 at 5:10 AM, mduffy215 wrote: > Has anyone been able to create a demo for NFC on Android 2.3? > > The support from Google is incredibly lame: > http://developer.android.com/resources/samples/NFCDemo/index.html > > The "demo" does not even give you the ability to download the source > code!!! > > The demo is very generic and is not a working application. > > In order to be a full demo developers must have access to a sample NFC > tag or reader. Does anyone have any recommendations for a tag/reader > they have actually used in creating a demo for NFC on Android 2.3? > > On Jan 18, 3:11 am, Gorka wrote: > > Hi, > > > > I´ve been working on NFC with my Samsung 5230 mobile, and now I am > > considering to move to Android. Before I do that I have some > > questions. I´ve been reading the group and the developers web page, > > but still have some doubts. > > > > - Is it possible to read MIFARE DESFire tags using the standard API. > > In order to do that I have always used the JSR 257 spec. but I don´t > > know if it is possible to do something similar with the current > > Android version. > > > > - Suppose that I have a tag that is a sticker always affixed to the > > mobile phone. Is it possible to read it always my application is > > started?? In the mobile I used to work with it was a limitation since > > once the sticker was detected the first time it could not detect it > > anymore until I removed the sticker from the mobile NFC range and got > > it close again. Would be possible using Android API to detect it > > anytime I start the app without having to remove it?? > > > > - I am working on JavaCard too and I have developed an applet in order > > to complete the authentication steps in a secure way. Is it possible > > to access JavaCard applets in my SD card using Android API. Until that > > moment I have used the JSR 177 (APDU Connection, ...) in order to do > > that. The problem with others mobile is that to access the SD you have > > to sign your midlet with a Verysign certificate, but I don´t want to > > do this. > > > > Thanks a lot. > > Best regards. > > -- > 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 > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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: NFC doubts. JSR 257 - 177
Has anyone been able to create a demo for NFC on Android 2.3? The support from Google is incredibly lame: http://developer.android.com/resources/samples/NFCDemo/index.html The "demo" does not even give you the ability to download the source code!!! The demo is very generic and is not a working application. In order to be a full demo developers must have access to a sample NFC tag or reader. Does anyone have any recommendations for a tag/reader they have actually used in creating a demo for NFC on Android 2.3? On Jan 18, 3:11 am, Gorka wrote: > Hi, > > I´ve been working on NFC with my Samsung 5230 mobile, and now I am > considering to move to Android. Before I do that I have some > questions. I´ve been reading the group and the developers web page, > but still have some doubts. > > - Is it possible to read MIFARE DESFire tags using the standard API. > In order to do that I have always used the JSR 257 spec. but I don´t > know if it is possible to do something similar with the current > Android version. > > - Suppose that I have a tag that is a sticker always affixed to the > mobile phone. Is it possible to read it always my application is > started?? In the mobile I used to work with it was a limitation since > once the sticker was detected the first time it could not detect it > anymore until I removed the sticker from the mobile NFC range and got > it close again. Would be possible using Android API to detect it > anytime I start the app without having to remove it?? > > - I am working on JavaCard too and I have developed an applet in order > to complete the authentication steps in a secure way. Is it possible > to access JavaCard applets in my SD card using Android API. Until that > moment I have used the JSR 177 (APDU Connection, ...) in order to do > that. The problem with others mobile is that to access the SD you have > to sign your midlet with a Verysign certificate, but I don´t want to > do this. > > Thanks a lot. > Best regards. -- 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: NFC doubts. JSR 257 - 177
I think question #2 refers to a problem with NFC PushRegistry and Tag reading on the current J2ME NFC Phones like the Samsung. In those devices, an application can be automatically started by the phone on a tag (PushRegistry), and that event arrives to the Midlet via the Contactless API BUT in that event, there is no tag data and it's UID and contents cannot be read. I've battled with that in J2ME and there seems to be no way around it. To read the UID/Contents of the tag that started the app (with the App now started) you need to remove the tag and bring it close again, creating a second tag event that arrives to the Midlet . this time it arrives with UID and NDEF messages and they can be read... So, I think question #2 is: Can I have my app automatically started AND get the tag UID/contents with only one touch of the tag...? On question #3, I have seen other posts here about Android from "experts" who have uncommented functionality in the Android source code to enable Card Emulation and other functionality not supported as standard, but that's still way out of my league but if you really need it and are fearless...search around and you should find others who have/are doing that -- 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: NFC doubts. JSR 257 - 177
Try to answer your questions: 1) According to the spec of PN544 it can read MIFARE tags. 2) Just tested it on my device, and it seems that the tag is also detected only once. This way, double-detection are prevented. 3) Access to a SE is not possible with the current Android APIs (but PN544 will support it). Dominik -- 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