nfc

android read back the tag infomation after write, without second touch of tag

余生长醉 提交于 2019-12-24 06:44:22
问题 I want to develop an android program that write to the payload of an nfc tag,then read back the tag information after writing command to verify the writing. However, It seems like it need to remove and re-enter the tag to the NFC field to refresh the intent in order to read back writing information. Is that possible to implement that within one touch? Or anyone knows the detail process in background that explain why I need second touch to read back? As far as I know, android devices are

Read data received to android phone from a PC

百般思念 提交于 2019-12-24 00:59:16
问题 I have a requirement to implement a solution to read data from an android device , connected to PC via a USB cable. i.e. the phone connected to the PC will receive data through another android device via NFC where the PC - C# program must read the received data from the plugged in android phone as show below. [PC]<----(2. read data) usb cable----[android phone]<-----NFC (1. transmit string)-----[android phone] I have implemented data transmission via NFC utlizing the link here - http:/

How to disable default Android NFC app when NFC is used in my app [duplicate]

时光怂恿深爱的人放手 提交于 2019-12-24 00:44:02
问题 This question already has answers here : Android app enable NFC only for one Activity (2 answers) Closed 5 months ago . In my app I am using NFC to read tags. I click on the button to enable NFC. A progress dialog is opened to read the NFC tag, and when done, NFC is disabled. That's all working fine. But when NFC is not enabled in the app and I put a NFC tag to the phone, the default Android app reads the NFC tag and puts my app to the background. How can I disable the Android app? My code

how Install the Open NFC Add-on in my Android SDK environment

半腔热情 提交于 2019-12-23 23:05:23
问题 I want to Install the Open NFC Add-on in my Android SDK environment. but I do not know how to do! In real, Using the new target provided in this Add-On, I can create a new Android Virtual Device (AVD) embedding Open NFC and running the Android Emulator on this AVD, I can use NFC features in the emulator. The emulator actually connects to the Connection Center tool. I can use either the NFC Simulator or the MicroRead development kit driven by the Connection Center in this environment. 回答1: You

NFC tag with user authentication

北战南征 提交于 2019-12-23 15:16:29
问题 The goal is to have an NFC tag that will give a certain information, remain unlocked, and would only allow an authenticated user(login/pass) to change that data? Is that possible? Thanks 回答1: Yes, that is possible. Your question is, strictly speaking, perhaps not programming related. But NFC-related questions seem to tend to blur the line between software and hardware, so I still think this is the right place to pose the question. NFC tags can contain different chips with different

NFC and MIME TYPE case sensitive

爷,独闯天下 提交于 2019-12-23 13:26:18
问题 I'm attempting just the basic version of NFC, but then I discovered that MIME TYPE is case sensitive. The package name for my app has one capital letter. Package name: com.example.Main_Activity <intent-filter> <action android:name="android.nfc.action.NDEF_DISCOVERED"/> <category android:name="android.intent.category.DEFAULT"/> <data android:mimeType="application/com.example.Main_Activity"/> </intent-filter> Does anyone know a way around it? Thanks 回答1: MIME types are case-insensitive as per

NFC service dead - attempting to recover

孤街浪徒 提交于 2019-12-23 11:46:25
问题 I have an application which reads & writes the data into the NFC tag(Type 2). Some times while reading the tag i am getting the below error in LogCat. 03-13 12:26:12.946: E/NFC(18889): NFC service dead - attempting to recover 03-13 12:26:12.946: E/NFC(18889): android.os.DeadObjectException 03-13 12:26:12.946: E/NFC(18889): at android.os.BinderProxy.transact(Native Method) 03-13 12:26:12.946: E/NFC(18889): at android.nfc.INfcAdapter$Stub$Proxy.setForegroundDispatch(INfcAdapter.java:350) 03-13

Access to Google Nexus 4 Secure Element (SE)

China☆狼群 提交于 2019-12-23 04:52:13
问题 I’m working on technical part of a project for big bank and looking for information about using Secure Element (SE) that is embedded into Google Nexus 4. What is a process to get access to SE? I mean how to initiate a process with Google. 回答1: You may try to contact them directly, but Google will not give you access to (embedded) SE: they don't want competitors on their wallet application (specially on Android systems). 回答2: You can do this, current android version(4.0.4) has enabled access

Nfc Toggle in Android 4.x+?

感情迁移 提交于 2019-12-23 04:37:13
问题 I know it is programmatically possible to disable NFC in Gingerbread, but has anyone managed to create a work around to accomplish the same for ICS and above? I'm ok if it involves changing the source code of the OS also if someone has ventured into that :) 回答1: Starting from Gingerbread 2.3.5 an app needs the special permission "android.permission.WRITE_SECURE_SETTINGS" to change the state of NFC. Normally, only apps signed by Google can have this permission, but I assume that if you root

Nfc Toggle in Android 4.x+?

我怕爱的太早我们不能终老 提交于 2019-12-23 04:37:04
问题 I know it is programmatically possible to disable NFC in Gingerbread, but has anyone managed to create a work around to accomplish the same for ICS and above? I'm ok if it involves changing the source code of the OS also if someone has ventured into that :) 回答1: Starting from Gingerbread 2.3.5 an app needs the special permission "android.permission.WRITE_SECURE_SETTINGS" to change the state of NFC. Normally, only apps signed by Google can have this permission, but I assume that if you root