nfc

NFC Temperature Logger Commands

為{幸葍}努か 提交于 2019-12-08 09:36:37
问题 I am coding an Android aplication. I have a SL13A Temperature Data Logger and I am trying to read temperature from the logger, but I don't really know how. Here is the datasheet: http://www.mouser.com/ds/2/588/AMS_SL13A_Datasheet_EN_v4-371531.pdf I am using the Get Temperature Command (command code 0xAD). My code is like that: NfcV nfcvTag = NfcV.get(tag); try { nfcvTag.connect(); } catch (IOException e) { Toast.makeText(getApplicationContext(), "Could not open connection!", Toast.LENGTH

Launching app from NFC tag reading

て烟熏妆下的殇ゞ 提交于 2019-12-08 09:31:38
问题 I've read and read, but I can't understand what do I need to do exactly to make the application launch when I touch a NFC tag (a list pops with TagWriter and on{X}) I've added this to my applications Main Activity (in Manifest) <intent-filter> <action android:name="android.nfc.action.NDEF_DISCOVERED"/> <category android:name="android.intent.category.DEFAULT"/> <data android:mimeType="text/plain" /> </intent-filter> <intent-filter> <action android:name="android.nfc.action.TECH_DISCOVERED"/> <

What mobile phones with NFC have full support of Mifare Classic (1K & 4K) cards? [closed]

牧云@^-^@ 提交于 2019-12-08 08:12:51
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Google has stopped supporting such tags in the latest Nexus 4, but what phones still have possibility of reading\writing Mifare Classic cards? Especially interested in hi-end models with powerful processors. Also could anyone provide some inforamtion on emulating such nfc tags with your phone? Thanks in advance

Detect when application is started via NFC in ICS

爱⌒轻易说出口 提交于 2019-12-08 08:03:26
问题 ICS introduces the possibility to share an application via Android Beam using NFC, and as far as I understood if an app is opened on deviceA it will automatically be started on deviceB (if it's already installed on it, otherwise the Market app will open) when the devices are close enough and a user "touches to beam" it. Is there a way, inside the launcher Activity, to detect if it has been started because of a NFC message or because of a user interaction? 回答1: Only NFC Intents are started

Android NFC start app (using AAR) and read text

南楼画角 提交于 2019-12-08 07:49:04
问题 I have NFC tag with plain text and AAR. When I tap an NFC to the phone, my app will start. But It just call onCreate() method and don't read the plain text. I have to tap again and then app will read the text. Can I somehow start app when I tap an NFC and at the sametime read the text? I use this manual for implement NFC function. 回答1: To make sure that you also receive the NDEF message, make sure that you have added an Intent filter for the type of message that is on the tag. 来源: https:/

Reading NFC Tag in Unity3D

泄露秘密 提交于 2019-12-08 06:54:49
问题 I would like to get the text string saved on an NFC tag in Unity. I'm not experienced with developing for Android, it seems there was already success doing this but it seems to involve extensive use of the Android SDK and Eclipse, neither I'm familiar with. I found also this thread though the source code is incomplete and I'm not sure how to declare the variables used in this if statement: http://forum.unity3d.com/threads/162834-AndroidJavaObject-as-array-for-NFC-access?p=1115826&posted=1

How to give condition to Android application to run only on NFC enabled device?

一个人想着一个人 提交于 2019-12-08 06:36:24
I developing a application which read the NFC Tag details.. In that application i want to give the condition to run only in NFC available devices.. Thanks in Advance... If you include this in your manifest your app will only be able to run on devices that have NFC: <uses-feature android:name="android.hardware.nfc" android:required="true" /> NfcAdapter.getDefaultAdapter(this) can also return null on a device which has NFC, but the NFC functionality is unavailable for some reason in that case. If you're uploading it to the Play Store, then you can choose which devices can download the app, so

Change NFC tag to be read only

雨燕双飞 提交于 2019-12-08 05:43:44
问题 Currently I am using the following app to write data into a NFC tag, https://play.google.com/store/apps/details?id=com.antares.nfc&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5hbnRhcmVzLm5mYyJd ,as it allows me to specify the AAR of the tag. However, when I am writing the tag, I have found out an security issue, the data in the tag can be changed easily, therefore I would like to ask if it is possible to specific only some people can re-write the tag? Or in a simple way, lock the tag, so

How to solve tgInitAsTarget response problem with ACR122U-A9?

穿精又带淫゛_ 提交于 2019-12-08 05:09:55
问题 I am working over emulating ndef tags with acr122U device(PN532 chip). My start point was the question at How to card emulate with ACR122U-A9. I can manage device (I can change led or buzzer states) with direct commands. But could not get a response from device when I pass tgInitAsTarget command. There is no an error, I am getting empty response when I pass tgInitAsTarget. I am working over an windows 10 machine with Java, the acr122u firmware is ACR122U215 version. Here is my commands and

How to define an APDU for STORE DATA for Host Card Emulation?

梦想与她 提交于 2019-12-08 04:52:40
问题 I have been looking in the Global Platform Spec on how to define an APDU for my app which will use Host Card Emulation (HCE). My app is supposed to have one phone behaving like an NFC tag through HCE and another phone acting as the NFC reader. The arbitrary data that i am trying to transfer between the phones is just a simple string containing an ID number, but I'm not really sure how to apply it in the code. I have looked at what the different byte commands mean but I'm really not sure how