nfc

Initialize a NDEF tag on Windows 10 Desktop

我与影子孤独终老i 提交于 2019-12-14 02:23:59
问题 I'm trying to initialize a new Mifare Classic Tag to the DNEF format, readable by the Proximity API. According to Microsoft, the proximity API is capable to initialize a mifare classic tag to a NDEF format if needed (as described here and here). But, using this line of code to publish the message: proximityDevice.PublishBinaryMessage("NDEF:WriteTag", ndef.ToByteArray().AsBuffer(), MessageTransmittedHandler); don't initialize the TAG and write anything, just works on a pre-formatted NDEF tag

NFC Tag as authentication tool

我的未来我决定 提交于 2019-12-14 00:39:27
问题 Can I use NFC tag as authentication tool, for example when the tag is tapped, it opens a url, connects to a remote database and checks if that is the original Tag and returns true or false. The information and the url will be public so anyone can tap the tag, but if someone copy its content to another tag, then it connects to the database it will return false. So actually that would be a public tag but with an unique identificator that can't be copied. Hope it makes sense, im new to the NFC

windows phone ndef record for skype

痞子三分冷 提交于 2019-12-13 20:13:04
问题 I want to create i NFC tag for r skype call by my phone doesn't recognise it (nokia lumia 920). This is how my ndef record looks like when is read by phone. Is there something wrong with it? Sp sub-record No.1 MB:1; ME:0; CF:0; SR:1; IL:0; Type: wkt:U Uri: skype:dd?call Sp sub-record No.2 MB:0; ME:0; CF:0; SR:1; IL:0; Type: wkt:T Language: en Encoding: UTF-8 Text: dd Sp sub-record No.3 MB:0; ME:1; CF:0; SR:1; IL:0; Type: wkt:act Payload: P.S. if it is read by android device for example is it

onTagDiscovered() not called any more when nfc tag already there after updating from 4.4.4 to 5.1.1 Samsung

╄→гoц情女王★ 提交于 2019-12-13 19:35:28
问题 I had a code able to detect an already present NFC tag when I start my NFCadapter. Which is very nice since it means you don't need to move the tag to detect and read it :) Since I update a Samsung phone to 5.1.1 form 4.4.4, this is not working any more. Moving the tag to close contact does fire onTagDiscovered() but it used to be fire instantly. AFAIK, Google changes around NFC should not have impacted my workflow : http://developer.android.com/sdk/api_diff/21/changes.html displays only

How to stop overwrite to an NFC tag using Android

青春壹個敷衍的年華 提交于 2019-12-13 18:28:52
问题 I'm using PN512 in card emulation mode as a NFC tag and am developing an Android application to read and write into the tag. The problem is, as long as the tag is in the NFC field, the program will keep reading and writing to the tag, but I want stop the program from overwriting the same tag once successfully writen. Are there any solutions for that? (I know there is no way to programmatically disable NFC based on Android SDK) @Override public void onCreate(Bundle savedInstanceState) { super

NFC Android App acting differently on different phones

心已入冬 提交于 2019-12-13 17:44:46
问题 I have currently been testing some examples being found on the internet on sending NDEF messages through the NFC on my android phone. I have three phones that I tested the phone with: Samsung Galaxy Nexus (Android 4.4.4), S3 (Android 4.4.2) and S4 (Android 4.4.4). The app works perfect the way I wanted it to on the GN (it sends the message), however on the S3 and the S4 it sends the package name of the app instead of the message. Can anybody help me with this? Does anyone know why or how to

onNewIntent not called after tapping to another NFC enabled device

给你一囗甜甜゛ 提交于 2019-12-13 17:26:18
问题 I'm coding in c# with Xamarin. I tried to share data over NFC from one device to another. Open browser -> Options -> Share -> App4 to MainActivity Both of my devices are running the same app and I'm tapping my device to the other device, but nothing happens. I think it can't reach to onNewIntent() . Did I miss something? I have been confused and keep searching for a week. Here is my code: using System; using Android.App; using Android.Content; using Android.Runtime; using Android.Views; using

Android library/API for NFC reader/writers

醉酒当歌 提交于 2019-12-13 14:11:31
问题 Are there any existing libraries that will allow an Android tablet (4.0.4) without a NFC chip to interface with an external USB NFC reader/writer? 回答1: Yes, the ACR 122 U can be connected via an USB OTG Cable. ACR has an Android test app on their driver page. You will in addition need something like NFC Tools for Java to interact with the reader (sending commands etc). 回答2: Maybe default packages will help you. Otherwise you can look for any third-party libs http://developer.android.com

Mifare Ultralight: lock specific pages

时光怂恿深爱的人放手 提交于 2019-12-13 11:48:39
问题 I got reference from this link (Mifare Ultralight C Lock) to make all pages on a Mifare Ultralight tag read-only. I can write a message on a Mifare Ultralight tag successfully on Android. Now I want to lock pages 4 to 7 (or any specific page). The above link only shows how to lock all pages. How I can lock specific pages? This code locks all pages: mifare.transceive(new byte[] { (byte)0xA2, /* CMD = WRITE */ (byte)0x02, /* PAGE = 2 */ (byte)0x00, (byte)0x00, (byte)0xFF, (byte)0xFF /* DATA =

Get fixed ID of NFC chip in Android

眉间皱痕 提交于 2019-12-13 10:57:46
问题 As my title, I have a SS Note. When it communicate with a NFC Reader, it generate a fixed ID How can I get it in Android? 回答1: Short answer: You can't. Android does not provide an API to retrieve the anti-collision identifier. However, it really depends on what component generates the fixed ID: NFC controller (unlikely if the ID is fixed): In that case, it's likely that there is no option to retrieve the ID from software. Android NFC stack on the application processor (though a very unlikely