[android-developers] Re: Detect a NFC tag removal

2017-02-22 Thread Rajesh Rajee
Did any body found solution ..how to know whether the tag is removed or not On Thursday, June 2, 2011 at 9:17:18 AM UTC+5:30, Dean Brotzel wrote: > > Is it possible to receive a message/intent from Android for when a tag is > removed from the smart phone's influence (much like when a tag is

[android-developers] Re: Detect a NFC tag removal

2012-07-31 Thread Winnie Zhang
*Hi Nick,* * * *Your code only work for tag. What about the phone detection? Is there a way to detect the NFC phone in or lost the field?* 在 2011年8月3日星期三UTC+8上午12时46分33秒,android user写道: Hello David, Here is some code try { tag.connect();

Re: [android-developers] Re: Detect a NFC tag removal

2011-08-03 Thread suneel kumar
Dear all, I required ADB drivers for Samsung Google Nexus S mobile. Please provide the link or send the attachment. thanks suneel On Tue, Aug 2, 2011 at 11:01 PM, JIG ji.gonzalezv...@gmail.com wrote: Thanks Android user i used that code and it was work! On Aug 2, 11:46 am, android

[android-developers] Re: Detect a NFC tag removal

2011-08-02 Thread David P
Hey Nick, Could you please provide a code example of how to signal an event when a tag is lost? Thanks in advance. Best Regards, David On Jun 9, 10:18 am, Nick Pelly npe...@google.com wrote: As per other responses, you currently need to poll isConnected() on a connected technology object.

[android-developers] Re: Detect a NFC tag removal

2011-08-02 Thread android user
Hello David, Here is some code try { tag.connect(); if(tag.isConnected() tag.isWritable()){ tag.writeNdefMessage(message); tag.close(); } } catch

[android-developers] Re: Detect a NFC tag removal

2011-08-02 Thread David P
Hey John, Thanks for that code but what I really need is an example of polling for tag removal detection. On Aug 2, 9:46 am, android user android.fa...@googlemail.com wrote: Hello David, Here is some code try {                 tag.connect();                         if(tag.isConnected()

[android-developers] Re: Detect a NFC tag removal

2011-08-02 Thread JIG
Thanks Android user i used that code and it was work! On Aug 2, 11:46 am, android user android.fa...@googlemail.com wrote: Hello David, Here is some code try {                 tag.connect();                         if(tag.isConnected() tag.isWritable()){                                

[android-developers] Re: Detect a NFC tag removal

2011-06-03 Thread Dean Brotzel
I'm building a custom tag which will use NFC for communications. It will support a large command set, and in the app there will be different buttons, one for each command. I would like to be able to disable the buttons when the tag is removed from the phone and re-enable when the tag is brought