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
0
votes
1 answer

How to read NFC Beam and tags?

I've been struggling with this for a couple of days now and I need help. I want to read HCE and beams with my app, independently they work fine, but when I want to put them together the onTagDiscovered is the one always getting called and never gets…
Dyan
  • 1,703
  • 4
  • 19
  • 26
0
votes
0 answers

Android emulate NFC with Smartphone as reader

I'm looking for a way to use my phone instead of a nfc card. To do that I would create an Android App. I live in Switzerland and the national rail company uses a nfc card called "Swisspass" to load annual tickets, ... on it for conductors to read it…
lela2011
  • 45
  • 5
0
votes
1 answer

Data transfer between devices using NFC avoiding Android Beam UI

In the app data transfer (String format) takes place via NFC. In this case a device acts as sender and another one as receiver. Whenever I tap the device to another one, "Touch to beam" option comes. Can I avoid that screen? Is it possible to send…
0
votes
1 answer

How can I build programme based on nfc technology?

I'm trying to write a programme, that is going to use nfc technology to transfer data between phones. The problem is, that I don't really know how to start it, what language or libraries should I choose? Or maybe there are any other technologies,…
MateoMateo
  • 31
  • 2
0
votes
0 answers

Wrong path from intent when receiving a file using Android Beam, only on certain phones

I'm implementing file transfer through Android Beam in my app. I have 2 phone I can use for testing: a Samsung Galaxy A6 and my Nexus 5x. On the Galaxy there is no problem on the receiving side. The file is download in the "Download" folder and I…
Syrinxos
  • 137
  • 1
  • 2
  • 8
0
votes
0 answers

receive message from android beam in xamarin forms

I'm develop cross-platform mobile application that use NFC. I already check the xamarin android beam sample here. Now i'm trying implement the same sample using xamarin forms so i'm using dependency service to call the function from android…
shaft95
  • 3
  • 2
0
votes
0 answers

Receiving NFC file from another android device not working

I keep getting a fatal error saying nullpointer exception on String action = intent.getAction(); How do I get it to work ? I want to transfer a text file to another device using Android Beam. The beam detects it and launches the 'tap to beam' on…
Hazed 2.0
  • 133
  • 2
  • 14
0
votes
2 answers

React-Native NFC Peer to Peer Write

I've been trying to send text messages in a React-Native app using mainly this this NFC Manager. But instead of the displaying the message text the reading device tries to open the to open the writing app or search for it in the Play Store. The NDEF…
0
votes
1 answer

Android nfc send message to to and from HCE?

I want to implement p2p between two android apps using NFC. I have tried the cardemulator (https://github.com/googlesamples/android-CardEmulation) and cardreader (https://github.com/googlesamples/android-CardReader) Apps. they work fine. But in this…
Han
  • 11
  • 1
0
votes
0 answers

Can I use PCSC(APDU) for communication between an android phone and a nfc card reader(Identive 4700f) via android beam?

I am completely new to the NFC scene and pardon me if this question is quite obvious. I have an Identive Cloud 4700f card reader and I want to use my android phone to beam data to this card reader via android beam.I do not intend to use HCE since I…
Kaarthik
  • 627
  • 2
  • 12
  • 32
0
votes
1 answer

Why is my BroadcastReceiver not detecting incoming files sent over android beam

Here is my manifest code for the BroadcastReceiver:
Mr. Negi
  • 154
  • 1
  • 15
0
votes
1 answer

Can NFC using android beam send and receive in the same beam?

I want to be able to send and receive information in a single touch. I followed this tutorial to on using NFC to send info: http://android-er.blogspot.com/2014/04/communication-between-android-using-nfc.html It works great but I am only able to send…
java
  • 1,319
  • 6
  • 15
  • 30
0
votes
0 answers

Android Beam only in a dialog

The app I am working on has just one activity with 5 tabs in a ViewPager. I want to call a dialog on two devices. Only when this dialog is open the app should be allowed to accept Android Beam messages. I don't want the user to use Android Beam…
Benjamin Wolf
  • 93
  • 1
  • 9
0
votes
2 answers

Host-based Card Emulation - Trigger a reader app when HCE is read on reader device

NFC tags can trigger an NFC reader app available on the phone, but HCE does not trigger any reader app. However, if I first open the reader app, then it works normally and, hence, can read the HCE emulated tag. I need a solution where HCE can open…
0
votes
1 answer

getPackageManager().hasSystemFeature(NFC_SERVICE) Not Working in Samsung S5

For some reason getPackageManager().hasSystemFeature(NFC_SERVICE) is returning null in SamSung S5 even though I have NFC enabled as in the screen shot below. And here is the code that I am using to test if NFC Service is available and it is failing…
Val Okafor
  • 3,371
  • 13
  • 47
  • 72