NFC sample Application for Nexus S Emulator - android

I'm new to Android development. I am trying to Integrate NFC application on my Nexus S emulator which is installed in my windows machine. I am struggling a lot to develop the application for NFC demo. Can anyone give me the idea on how to crate the sample NFC demo application. My intention is that I need to get some output during the smart card swiped over my Nexus s mobile and I should read the Unique id from that smart card I swipe. Can anyone please help me in developing the application for this. Can you send me the application for this if you have.
Thanks in advance,
Dilip.

According to this
the Android emulator does not support NFC emulation
Also: There is some NFC example code here.

Related

How to develop an Android APP to transfer pictures with a USB device?

I want to develop an Android APP to transfer pictures with USB device. And I have finished the development of Android User Interface, the connection with USB device by Android USB API according official guide (https://developer.android.com/guide/topics/connectivity/usb/host).
But when I try to transfer data with the device, the guide just provides only one function : bulkTransfer(). So I don't know how to do next because I just only have Android developing experience.
Then I search in the github and find a lib-libaums is awesome. But I don't know the theory under this project.
Is there some tutorial to help me to develop the remain part of my APP? Or is there some theoretical guide to help me to develop a simple version of libaums? #Magnus

Is it possible to test NFC feature in Android emulator?

I am trying to test NFC demo application. but I don't have NFC-enabled devices. So I want to try it on an emulator. I have done some google but I have not got any solution.
I tried following Open NFC Android emulator but this question is very old. the link provided in this question about open android emulator is not accessible.

Has anyone been able to communicate between BlackBerry and Android phones via NFC?

I have been trying to do some basic communications between a BlackBerry and a Android NFC enabled phone. The BlackBerry is a Bold 9930 with 7.1 on it, and the Android is a Nexus S with 2.3.6 on it. I have the BlackBerry set up to emulate a tag and am trying to get the Android phone to recognize it. I have a NXP test board set up and it can read the BB emulated tag's ID, but the Android won't recognize it. Has anyone been able to do this successfully?
Yes, I just used the Smart Tags app on a BlackBerry 9360 with OS7.0 to create a Smart Poster tag and place it in tag emulation mode. Then held it to the back of a Nexus S running NXPs tag writer app, and it recognised and read the BB emulated tag. Likewise the tag was read on the Nexus S by the NFC TagInfo app by Michael Roland at NFC Research Lab.
You have a good example at blackberry doc. You can share a NDEF message to the Android phone. Is a simple example but the communication is possible.

How to get a nokia phone (C7) to talk with a android phone (Nexus S) using NFC protocoles

I've been developping a small game on symbian and android that sends messages using NFC.
I tried using many protocoles but still haven't been able to send even a small string (either via p2p or via tag detection) from the C7 to the nexus.
Can anyone tell me which protocole i should be using ?
Where could i find an example if such an example exists ?
Is it even possible to make the two interact ?
Thanks in advance and sorry if my english is a bit rusty.
You probably should first take a look at existing NFC examples from Android and Nokia.
For example, Android has Beam Demo application - http://developer.android.com/resources/samples/AndroidBeamDemo/index.html and Nokia has NFC Tag - http://library.developer.nokia.com/topic/GUID-E35887BB-7E58-438C-AA27-97B2CDE7E069/GUID-DB3F8F61-CF5F-436F-9678-B5EADBB13999.html and NFC Share - http://library.developer.nokia.com/topic/GUID-E35887BB-7E58-438C-AA27-97B2CDE7E069/GUID-5294D18E-E2BF-4723-BEFA-55C282F1F3DB.html example applications.
Try them first to check if they even can see and talk to each other.

Android Honeycomb and USB Devices

According to Android Honeycomb it supports USB peripherals. I am interested in connecting a credit card reader with usb and another device. My questions are the following:
Will the Android device support a USB Hub?
How can I program to the credit card device? What would i need to ask for the development of lets say a Magtek Credit Card Reader?
If anyone can help me I would greatly appreciate it.
Thanks!
MagTek provides an Android development kit for SCRA card readers on their support site. It includes guidance, sample code and their custom library. You should use this as a starting point. You will need a usb capable Android device to test the sample code. However, to begin with, you may want to use the Android emulator for running the software until you get your build working. If you try to use the sample code with the emulator, you will have to remove calls to the library or you will see application errors. If you need help using the emulator, I have a post on my blog which explains it here: http://www.veriserver.net/cgi/tech/?p=39
The following is what the MagTek demo program will look like on the Android 4.0 emulator if you get that far:
Once you get this far, you will be ready to load the sample program on an Android device and try it with a MagTek card reader.
Android 3.0 + supports Android USB Host and Accessory APIs.
Question is too generic to answer in this post.
Please refer to the documentation here

Categories

Resources