nfc

How to lock write permissions on NFC tags? Any tools out there?

雨燕双飞 提交于 2019-12-12 16:25:41
问题 I just finished building my android app that reads NFC tags. I've been writing the tags using the Nfc-Eclipse-Plugin. The plugin works great, but there is no way to lock the tag once the tag is written. Are they any tools out there that let me customize the records I want on the tag, and then lock the tag when I've written it? Thanks! 回答1: I have updated the NFC Developer app of the NFC Eclipes plugin to include a 'burn mode' - it can be enabled from the options menu once an NDEF payload has

Do NFC tags have to be NDEF formated?

泪湿孤枕 提交于 2019-12-12 13:39:48
问题 This question was migrated from Software Engineering Stack Exchange because it can be answered on Stack Overflow. Migrated 7 years ago . Do NFC tags have to be NDEF formated to read/write using a standard android app or a PC app? 回答1: No, the tags don't need to contain data in NDEF format. You can use any format that you want. The NFC API even provides several methods to read and write to tags in the native format. Here for example is the list of functions for Mifare Ultralight tags: http:/

NFC Mifare Ultralight tags writing [closed]

别来无恙 提交于 2019-12-12 11:17:31
问题 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 5 years ago . Any tutorial for how to write on Mifare Ultralight tags ? I have been searching for a while 回答1: MifareUltraLight tags it contains 16 page and each page contains 4 bytes. Its first 4 page contains manufacturer info , OTP and locking bytes. After getting The Tag you can get MifareUltralight class using this:

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

自闭症网瘾萝莉.ら 提交于 2019-12-12 10:16: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... 回答1: 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

How can I read the NFC ID of another Android device?

巧了我就是萌 提交于 2019-12-12 09:19:00
问题 I want to exchange (or only read) the NFC tag ID from one Android device to another but I don't know if I should use peer-to-peer mode or emulate an NFC tag with HCE. If I use HCE, is the emulated tag ID unique? What is the better option or is there a simpler one? 回答1: Neither P2P nor HCE will provide you a unique ID, least not on any phone I'm aware of. With P2P it's required that the ID exchanged in ATR is random. With HCE the emulated tag ID is usually set to 08h plus a random number.

NfcV Transceive command throws tag lost exception with TI HF-I plus tag(ISO15693) in android

浪子不回头ぞ 提交于 2019-12-12 09:04:29
问题 I am trying to talk to a ISO15693 Tag. Tag type is TI HF-I Plus. When I issue a Get System Info command, the command executes normally and a proper response is received. For most other commands sent to the tag, the framework does not seem to handle the response properly. TAG LOST exception is thrown for most other commands. Has anyone successfully implemented ISO15693 commands in Android ? Source code: @Override protected byte[] doInBackground(byte[]... params) { NfcV mNfcVObject = NfcV.get

Android: How to make a NFC Tag Ready only for users and writable for me?

浪子不回头ぞ 提交于 2019-12-12 08:13:29
问题 I have an app that design personalized tags that, when it is detected by an android phone, launches another app with some content. It all works fine and I know how to make a read only nfc Tag. The problem is, I would like to make a NFC Tag only readable by users of the other app. But I also want , if necessary, modify these tags in order to be rewritten. But I want to prevent from users to do themselves. that's why a ndef.makeReadOnly() is not appropriate for me.. does anyone can help me ???

Reading NFC tags only from a particuar activity

旧巷老猫 提交于 2019-12-12 07:21:26
问题 Ill first tell you what I am doing. I have three activities in the sequence, Activity1>>Activity2>>Activity3. Now I want to read NFC tags only from the Activity2 when I tap on the tag. My app should not be able to read the tags when I am in the Activity1 or Activity3. How am I supposed to this, Is there any enabling/disabling option? any property to set for the same? I dont want to prompt the user to enable/disable NFC from the Settings for this purpose. 回答1: As a foreground application, your

Can i write an app which sends file (can be an image file) to another device using NFC Android Beam that does't has the same app installed?

六月ゝ 毕业季﹏ 提交于 2019-12-12 06:19:20
问题 I can send file using below API via NFC Android Beam mNfcAdapter.setBeamPushUrisCallback() Do the other device should also have the same app to receive the file? If Yes then sending this file would not support for other platform like Blackberry even though they are NFC capable device. Please advice. 回答1: The file transfer implementation does not require the receiving device to have your application. If you send something like a picture, a mime-type will be broadcast when the user clicks the

How to read NFC Tag through my Application if I wrote NFC Tag through my Application

橙三吉。 提交于 2019-12-12 05:59:28
问题 I am trying to operate the function of flash light which can be on/off through NFC tag. After writing tag, I tried to set up if a certain information would be read on broadcastReceiver, Flash light should be on/off. However, the receiver never responded. I don't know Why.. So, what I really want to know is following below as "My application can read the information first where is written in the tag through My application. " as you saw below codes, I tried to operate the function. This code