Questions tagged [android-beam]

Android Beam is a feature introduced in Ice Cream Sandwich that allows a device to push an NDEF message or larger files onto another device by physically tapping the devices together. NFC peer-to-peer mode and the Simple NDEF Exchange Protocol are used to initiate the communication.

The Android Beam™ feature allows a device to push an NDEF message or even larger files onto another device by physically tapping the devices together.

NFC peer-to-peer mode and the NFC Forum Simple NDEF Exchange Protocol (SNEP) are used to initiate the communication. This provides an easier way to establish the communication channel for data exchange than other wireless technologies like Bluetooth, that require manual device discovery or pairing. The connection is automatically started when two devices come into range. Android Beam is available through a set of NFC APIs, so any application can transmit information between devices. For example, the Contacts, Browser, and YouTube applications use Android Beam to share contacts, web pages, and videos with other devices.

See the Android NFC API Guide for further information.

143 questions
18
votes
2 answers

What's the difference between enableReaderMode and enableForegroundDispatch?

I found two approaches to let an Android app detect and process NFC tags: NfcAdapter.enableReaderMode(activity, callback, flags, extras) and then receive the tag info in the callback. NfcAdapter.enableForegroundDispatch(activity, intent, filters,…
Héctor
  • 24,444
  • 35
  • 132
  • 243
12
votes
1 answer

NFC tag detection is not calling onNewIntent and it's Launching From Main Activity

I am new to NFC. I tried to connect to NFC and share the text data from a device to another device. I install my application on both devices and in one device I open my application and start tapping the device to the another device in order to…
android_dev
  • 1,477
  • 12
  • 18
10
votes
3 answers

Is it possible to use Android Beam between an android device and another NFC device?

I'd like to implement a NFC communication between my Android app and a NFC-enabled kiosk. I've read the documentation and I understand pushing data can be done in 2 ways: Via foreground NDEF pushing for API level 10 to 13 Via Android Beam from API…
Romain Piel
  • 11,017
  • 15
  • 71
  • 106
9
votes
1 answer

Android Beam: launch application with MIME type record

I am working on a project, where I am using an Android smartphone and a PN532 USB chip (elechouse) which has peer to peer mode as one of its features. I tried to send NDEF messages from PN532 module to smartphone and conversely and it works…
Uroš Podkrižnik
  • 8,607
  • 5
  • 21
  • 31
9
votes
1 answer

How can my app find out which NFC mode is enabled?

I've found that Android devices support three NFC modes: reader/writer, P2P, and card emulation. Is it possible for my app to check which mode is currently enabled?
hoonj
  • 273
  • 3
  • 9
9
votes
1 answer

Host card emulation on Android (4.4 / KitKat and above) with Nexus 5

I'm trying to emulate an NFC tag with my Nexus 5 according to this document, but my service is never invoke. Should I turn off Android beam? I'd like to emulate a simple tag containing a url. The reader is a Nexus 7 (2012) and I've figured out the…
8
votes
2 answers

Sending URL from Android to Windows Phone via NFC gives Play Store link

I am trying to use NFC to send a URL from an Android app to a WP8 phone. When beaming to an Android device, the URL is sent correctly. However, when beaming to WP8, IE loads a link to the Play Store instead of the one I want to send (e.g.…
J Yang
  • 81
  • 3
7
votes
1 answer

Android Beam LLCP Protocol

I am attempting to communicate with my Galaxy S III and a micro-controller that features a PN532 NFC chip. As this is a micro-controller there is no default LLCP library that I can use so I must understand the Android protocol myself. Could anyone…
user975941
  • 81
  • 2
  • 4
6
votes
1 answer

How to receive file using NFC (Android Beam) in Android

I was able to send a file using NFC, based on tutorials on the Android developer site. However I'm unable to handle the receiver part. I follow http://developer.android.com/training/beam-files/receive-files.html for the receiving side and I get the…
user3847939
  • 101
  • 4
6
votes
1 answer

How to beam a contact from you app (using NFC) and save it in contact list on receiving device?

How would you beam a contact using your own app (and using Android Beam) to another device and have it saved in their contact list (i.e. the default contacts app). The contact on the sending device will be provided by the ContactsContract…
Dennis
  • 56,821
  • 26
  • 143
  • 139
5
votes
1 answer

Touch to Beam, the only way to send NFC (ICS)?

I know you answered a similar question on ICS here: https://stackoverflow.com/a/8320504 But there is something i still would like to know, because I'm working on my master thesis and therefore I would need this feature: Is it still true, that there…
user1236001
  • 73
  • 1
  • 6
5
votes
4 answers

Bi-Directional Android Beam

Here's what I'm trying to do with 2 Galaxy Nexuses running Android 4.0 with NFC capabilities: Device A and B are in close enough to initiate an Android Beam UI. Device A sends a beam to Device B Device B received beam, does some processing, and…
dougzor
  • 463
  • 1
  • 5
  • 8
5
votes
1 answer

How can I send a text string to another device via NFC?

I want to create a mini app just to read an NFC tag and later send to another device on Android. That part is done already and I can read the tag and I can print the string on a EditText. But I also want to send the text that I have read from that…
5
votes
1 answer

Bluetooth OOB Handover via NFC without User Confirmation (or: how does Android Beam work)

I'm trying to realize an Android-Beam-like behaviour between an Android Smartphone and a Linux Host. The Android Smartphone (Galaxy Note 3, Android 4.4.2) touches an NFC Dongle connected to the Linux Host and exchanges Bluetooth carrier data via NFC…
andreas
  • 955
  • 7
  • 15
5
votes
2 answers

Is it possible to with one touch two Android devices exchange data via NFC?

I want to create an application to exchange information between 2 devices via NFC. I know how to make one mobile send information to the other using Android Beam. What I don't know is how two phones could send data to each other with just one…
diego.goncalves
  • 189
  • 3
  • 8
1
2 3
9 10