Recent from talks
Contribute something
Nothing was collected or created yet.
Android Beam
View on Wikipedia| Android Beam | |
|---|---|
A screenshot of Android Beam running on Android Oreo. | |
| Developer | |
| Initial release | 2011 |
| Operating system | Android OS |
| Successor | Nearby Share |
| Service name | File sharing |
| Type | Utility software |
| License | Apache License 2.0 |
Android Beam is a discontinued feature of the Android mobile operating system that allowed data to be transferred via near field communication (NFC).[1] It allowed the rapid short-range exchange of web bookmarks, contact info, directions, YouTube videos, and other data. Android Beam was introduced in 2011 with Android Ice Cream Sandwich.[2] This was improved after Google acquired Bump. By 2017, ComputerWorld included Android Beam in a list of "once-trumpeted features that quietly faded away", observing that "despite the admirable marketing effort, Beam never quite worked particularly well, and numerous other systems for sharing stuff proved to be simpler and more reliable."[2]
Android Beam was deprecated starting with Android 10 in January 2019,[3][4][5] and was removed completely in Android 14.[6] Google replaced Android Beam with the introduction of Nearby Share, which is an AirDrop competitor by Google.[7]
Description
[edit]Usage
[edit]Android Beam is activated by placing devices back to back with the content to be shared displayed on the screen. If the content is able to be sent, the screen will shrink down and display "Tap to Beam" at the top. Tapping the screen sends the content from one device to the other. A sound will play when devices are near and able to beam. When the data has been sent, a confirmation tone will play or a negative tone will play if failed and the content will shrink off the screen indicating beaming is complete. Sharing is one direction and the device sending content will not get content from the receiving device.
Requirements
[edit]To activate Android Beam, both devices must support NFC (Near field communication) and have it enabled in addition to passing the lock-screen or logging in.
4.1 Jelly Bean update
[edit]As of Android 4.1 Jelly Bean, devices can use Android Beam to send photos and videos over Bluetooth. Android Beam uses NFC to enable Bluetooth on both devices, instantly pair them, and disable Bluetooth once complete automatically on both devices. This only works between Android devices version 4.1 and above.
Application support
[edit]For beaming of specific content, an app is allowed to control the content being sent when adding Android Beam support. If the app does not specify data, beaming the app will open it on the receiving device. If the receiving device does not have the app, it will open the application page in the Play Store.
S Beam
[edit]S Beam refers to an extension of Android Beam by Samsung, first used on their Galaxy S III phones. It uses the near-field communication to establish a Wi-Fi Direct connection between two devices for the data transfer, instead of a Bluetooth connection.[8] This results in faster transfer speeds between devices which feature S Beam. S Beam is limited to select Samsung devices with S Beam support, such as the Samsung Galaxy S III and Samsung Galaxy S4.[9][10]
See also
[edit]References
[edit]- ^ "Google announces NFC-based Android Beam for sharing between phones (video)" Engadget. Oct 18, 2011. https://www.engadget.com/2011/10/18/google-announces-nfc-based-android-beam-for-sharing-between-phon/ Accessed Jan 13, 2013.
- ^ a b Raphael, JR (2017-12-05). "Android nostalgia: 13 once-trumpeted features that quietly faded away". Computerworld. Archived from the original on 2024-01-14. Retrieved 2017-12-06.
- ^ Swider, Matt (2019-05-08). "Android Q won't have Android Beam". TechRadar (News article). New York, NY: Future US. Archived from the original on 2020-04-14. Retrieved 2020-05-06.
Android Beam...is nowhere to be found in the ongoing Android Q beta...we found out that it's not coming back, either, according to the reps we talked to who are working on Android updates.
- ^ Rahman, Mishaal (2019-01-05). "[Update 2: Not Coming Back] Google is deprecating the Android Beam API used to share files with NFC". XDA Developers (News brief). Havertown, PA: KC Online Media. Archived from the original on 2020-05-06. Retrieved 2020-05-06.
The commits deprecating the Android Beam APIs have been merged.
- ^ "Android Beam deprecation". developer.android.com. developer.android.com. Archived from the original on 2020-08-30. Retrieved 2020-08-25.
In Android 10 we're officially deprecating Android Beam, an older feature for initiating data sharing across devices through Near Field Communication (NFC).
- ^ Cantisano, Timi (2022-09-02). "Android Beam will be removed permanently with the release of Android 14". XDA. Retrieved 2025-03-22.
- ^ "Instantly share files with people around you with Nearby Share". Google. 2020-08-04. Retrieved 2020-08-28.
- ^ "Samsung's S Beam teaches Android a new trick." CNet. June 20, 2012. http://reviews.cnet.com/8301-19736_7-57455744-251/samsungs-s-beam-teaches-android-a-new-trick/ Accessed Jan 13, 2013
- ^ "What is S Beam in Samsung Smartphones? | Samsung Support India". Samsung India. Retrieved 2024-02-23.
- ^ "Transferring files using S Beam - Device Guides: Samsung Galaxy S4". OPTUS. Retrieved 2024-02-22.
Android Beam
View on GrokipediaIntroduction
Definition and Purpose
Android Beam is a feature of the Android operating system that leverages near-field communication (NFC) technology to allow the transfer of data between two NFC-enabled Android devices by simply holding them back-to-back.[1] This functionality enables users to initiate sharing with a touch, bypassing traditional wireless setup processes.[1] The primary purpose of Android Beam is to streamline the exchange of data items, such as contacts, web URLs, photos, videos, music files, and content from apps like Google Play links, without requiring Bluetooth pairing, additional applications, or complex menus.[1][2] By facilitating instant sharing in peer-to-peer mode, it promotes seamless device interactions during social gatherings, collaborative work, or casual encounters, making content transfer as intuitive as a physical handover.[1] Introduced in 2011 as part of Android's broader initiative to incorporate NFC for accessible consumer features—alongside tools like Google Wallet—Android Beam marked an early effort to enhance mobile connectivity through proximity-based technology.[1] A key benefit of this approach is its ability to reduce the friction of data sharing compared to conventional alternatives like emailing attachments or relying on cloud synchronization services, which often involve multiple steps and delays.[1]Basic Functionality
Android Beam relies on Near Field Communication (NFC) in peer-to-peer mode to establish a connection between two compatible devices when they are positioned back-to-back within approximately 4 cm of each other. This close proximity enables the devices to detect one another through an NFC handshake, initiating the data exchange process without requiring manual pairing or additional setup. The handshake leverages the NFC radio frequency field to confirm mutual presence and readiness for transfer.[1][3][6] The core transfer protocol uses NFC Data Exchange Format (NDEF) messages to encapsulate the data, which can include text, URIs, or MIME-typed payloads structured as records with type, identifier, and payload fields. These NDEF messages are exchanged via the Simple NDEF Exchange Protocol (SNEP), operating over the Logical Link Control Protocol (LLCP) to manage peer-to-peer sessions with ordered, error-checked transmission. On the sending device, the selected content is formatted into an NDEF message upon NFC detection; the receiving device then receives the message and prompts the user to accept it, subsequently opening the content in the relevant application if approved.[3][7] In the data flow, the sender activates NFC and selects content from an open app or screen, triggering the transfer automatically once the handshake succeeds. For small payloads like contacts or links, the exchange completes directly over NFC; starting in Android 4.1 Jelly Bean, larger files prompt Android Beam to initiate a Bluetooth connection for the actual transfer, maintaining the NFC-initiated seamlessness. Devices provide haptic feedback through vibration to indicate connection establishment and transfer completion. If the NFC handshake fails—due to excessive distance, misalignment, or interference—no transfer occurs, and there is no automatic retry mechanism.[1][2][8]History
Launch in Android 4.0
Android Beam was unveiled on October 19, 2011, during Google's announcement of Android 4.0 Ice Cream Sandwich at a press event in Hong Kong, where it was demonstrated on the then-upcoming Samsung Galaxy Nexus smartphone. The feature was designed to leverage near-field communication (NFC) for quick device-to-device sharing, marking a significant expansion of Android's connectivity options. Android 4.0 officially launched with the Galaxy Nexus in November 2011, starting with availability in markets like the United Kingdom on November 17 and the United States shortly thereafter, making Android Beam accessible on the first NFC-equipped device running the new OS version.[1][9] At launch, Android Beam supported the sharing of predefined content types, including contacts, web URLs, map locations, and YouTube video links, by simply touching two NFC-enabled Android 4.0 devices back-to-back after enabling the feature manually in the device's settings menu. This peer-to-peer functionality built upon the NFC support first introduced in Android 2.3 Gingerbread, which primarily enabled reading and writing NFC tags, but Android 4.0 extended it to direct data exchange between devices without requiring additional pairing steps. Developers could integrate app-specific interactions, such as sharing Google Play Store links for apps, though customization was limited to basic intents at this stage.[1] Initial adoption was confined to NFC-capable hardware, with the Galaxy Nexus serving as the flagship device to showcase the feature, as NFC chips were not yet widespread in the Android ecosystem. Google positioned Android Beam as a convenient alternative to traditional sharing methods like Bluetooth, aiming to streamline interactions in social and collaborative scenarios, though its rollout was tempered by the limited availability of compatible devices beyond early flagships. Early users praised its simplicity for quick transfers, but hardware constraints meant broader uptake depended on future NFC integration in mid-range phones.[10][1][11] Among its early limitations, Android Beam was restricted to small data payloads—typically under 1 MB—due to NFC's low bandwidth, making it unsuitable for larger files like high-resolution photos or videos at launch. Sharing required both devices to have NFC enabled and screens unlocked, with no automatic fallback to other protocols, which could interrupt ongoing tasks during the brief touch interaction. These constraints highlighted NFC's role as an initiator rather than a full transfer medium, setting the stage for subsequent refinements.[9][11]Enhancements in Android 4.1 Jelly Bean
Android 4.1 Jelly Bean was announced on June 27, 2012, during the Google I/O developer conference, marking an incremental update to the Android operating system with a focus on performance and user experience refinements.[12] Over-the-air (OTA) updates began rolling out in July 2012, initially for Nexus devices such as the Galaxy Nexus and Nexus S, and the feature shipped pre-installed on the newly launched Nexus 7 tablet.[13] This release built upon the NFC-based sharing introduced in Android 4.0 Ice Cream Sandwich by addressing limitations in transfer speed and payload size. A primary enhancement to Android Beam in Android 4.1 involved integrating Bluetooth as the primary transport mechanism for data after an initial NFC handshake, enabling the sharing of larger files such as photos and videos that exceeded NFC's bandwidth constraints.[2] Previously restricted to small data like contacts or URLs, Android Beam now supported broader content types by automatically switching to Bluetooth for the actual transfer, with NFC used only for device discovery and confirmation.[14] This upgrade made the feature more practical for everyday use, similar to Samsung's S Beam on competing devices. Separately, Android 4.1 introduced NFC-based tap-to-pair functionality for compatible Bluetooth accessories, such as speakers.[15] On the development side, Android 4.1 introduced new API methods in the NfcAdapter class, including setBeamPushUris() and setBeamPushUrisCallback(), allowing apps to register and push uniform resource identifiers (URIs) for custom content sharing over Android Beam.[14] These enhancements enabled developers to integrate Beam directly into their applications, permitting the transmission of app-specific data beyond system defaults, such as URIs to media files or actions that launch the receiving app with predefined content.[16] These changes significantly increased Android Beam's versatility, facilitating seamless sharing from within apps—for instance, beaming a YouTube video URI to open directly in the recipient's YouTube app or sharing a Google Maps location for navigation.[17] The broader rollout to devices like the Nexus 7 further popularized the feature among users, emphasizing its role in quick, intuitive peer-to-peer content exchange without relying solely on cloud services.[18]Deprecation and Removal
Google deprecated the Android Beam API in Android 10 (API level 29), which was released in September 2019, due to its low usage over time and the availability of superior alternatives for device-to-device content sharing.[4] Despite the deprecation, the feature continued to function on devices running Android 10 through Android 13, allowing apps targeting API level 28 or lower to access it via legacy NFC peer-to-peer APIs, though it was no longer actively developed or supported by Google.[4] Android Beam was permanently removed in Android 14 (API level 34), released in October 2023, eliminating all remnants from the Android SDK and NFC framework, including Beam-specific NFC intents, with no provision for backward compatibility.[5] This removal addressed longstanding limitations of NFC-based peer-to-peer sharing, such as its inability to efficiently handle large files—often relying on subsequent Bluetooth or Wi-Fi transfers—and potential security risks in direct device interactions, amid a broader industry shift toward cloud-based and wireless sharing methods like Nearby Share.[4] Usage of Android Beam had steadily declined as Wi-Fi and Bluetooth technologies became more ubiquitous and reliable for peer-to-peer transfers.[19] For developers, the deprecation required migrating apps that depended on Android Beam to alternative sharing mechanisms, with Google recommending Nearby Share for initiating transfers between nearby devices.[4] In 2019, Google updated its developer documentation to guide this transition, emphasizing the use of modern APIs for secure and efficient data exchange, ensuring apps could continue supporting content sharing without the deprecated NFC initiation.[4]Technical Specifications
Hardware Requirements
Android Beam requires devices equipped with Near Field Communication (NFC) hardware that supports peer-to-peer (P2P) mode, as defined by the ISO/IEC 18092 standard for NFC interface and protocol. This capability enables direct data exchange between two active NFC-enabled devices without relying on intermediary tags. The NFC chip must also comply with proximity card standards such as ISO/IEC 14443 Type A and B for compatible communication protocols. Such hardware became available in mid-range Android smartphones starting around 2011, marking the introduction of P2P functionality beyond basic tag reading. The NFC antenna is typically integrated into the rear panel of the device to facilitate back-to-back contact between phones, with an operational proximity limited to approximately 4 cm to ensure secure and intentional data transfer. No specialized CPU or GPU is required beyond the dedicated NFC controller integrated into the chipset. However, the device's screen must be powered on and unlocked for Android Beam to activate, as the feature relies on user interaction to initiate sharing. Compatible devices include the Galaxy Nexus, the first Android phone to support Android Beam upon its launch in 2011, followed by subsequent models in the Nexus and Pixel series, as well as many Samsung Galaxy flagships up to those running Android 10. Non-NFC devices cannot utilize Android Beam at all. For backward compatibility, older NFC chips predating 2011, such as those in early devices like the Nexus S, generally lack full P2P support and are restricted to reader/writer modes for interacting with passive tags only.Software Requirements
Android Beam requires a minimum operating system version of Android 4.0 Ice Cream Sandwich, corresponding to API level 14, where the feature was initially introduced to enable NFC-based sharing of content such as apps, contacts, and media between compatible devices.[1] Full enhancements, including the use of Bluetooth for transferring larger files like photos and videos after NFC initiation, became available starting with Android 4.1 Jelly Bean (API level 16).[2] The feature remained functional through subsequent Android versions up to Android 13 (API level 33), providing backward compatibility for devices running these OS releases, though it was officially deprecated in Android 10 (API level 29) and no longer under active development, with availability limited to optional support by device manufacturers.[4] Android Beam was completely removed in Android 14 (API level 34), eliminating the feature from the NFC framework in the Android SDK.[5] From a development perspective, Android Beam relies on key NFC APIs introduced in API level 14, primarily theNfcAdapter class to initiate beam transfers and manage NFC operations, such as enabling or disabling the adapter via getDefaultAdapter().[3] Data packaging for transfer uses the createNdefMessage() method to construct NDEF (NFC Data Exchange Format) messages containing URIs, MIME types, or other payloads, with additional methods like createUri() and createExternal() added in API level 14 and expanded in API level 16 for more flexible record creation.[3] Applications integrating Android Beam must declare the android.permission.NFC permission in their AndroidManifest.xml file to access these APIs, and optionally the android.hardware.nfc feature to indicate hardware dependency.[3]
User activation of Android Beam occurs through the device's settings menu, typically navigated to Settings > More > Android Beam in pre-Android 10 interfaces, where users can toggle the feature on or off after enabling NFC.[20] Officially, Android Beam support is tied to stock Android implementations across compatible OS versions, though custom ROMs on older hardware may retain or emulate the functionality through modified NFC stacks, provided the underlying APIs remain intact.[4]
Usage Instructions
Enabling and Activating
To enable Android Beam on compatible Android devices, users must first ensure that Near Field Communication (NFC) is activated, as Android Beam relies on this hardware feature for operation. The primary navigation path in stock Android versions from 4.0 (Ice Cream Sandwich) through 6.0 (Marshmallow) involves opening the Settings app, selecting "Wireless & networks," tapping "More," and then toggling NFC to the "On" position; within the same NFC submenu, users tap "Android Beam" and select "Turn on" to activate the feature.[21][22] In later versions such as Android 7.0 (Nougat) to 9.0 (Pie), the path shifts slightly to Settings > "Connected devices" > "Connection preferences" > "NFC," where enabling NFC automatically makes Android Beam available as a sub-option to toggle on, though some manufacturer skins like Samsung's One UI place it under Settings > "Connections" > "NFC and payment" > "Android Beam."[23][24][25] Before activation, devices must meet basic prerequisites: NFC hardware support (standard on most smartphones since 2011), an operating system version between Android 4.0 and 9.0, and both screens unlocked with NFC enabled; the devices should also be held within 4 centimeters of each other during use, though this proximity check occurs post-enablement.[1][26] Upon first enabling NFC or Android Beam, the system may display a prompt requiring users to confirm permissions for NFC access, but no Google account login or additional authentication is necessary beyond standard device setup.[27][25] If Android Beam does not appear in settings or fails to toggle, troubleshooting involves verifying the OS version (must be pre-Android 10, as it was deprecated thereafter) and hardware compatibility via device specifications; users can resolve visibility issues by disabling and re-enabling NFC, restarting the device, or checking for system updates that might affect NFC functionality.[4][28]Sharing Process
To initiate a sharing session using Android Beam, the sender first opens the desired content or application on their device, such as a contact in the phone app or a webpage in the browser.[20] The sender then positions their device back-to-back with the receiver's device, ensuring both screens are facing outward and the NFC areas are aligned closely, typically within a few centimeters.[29] Upon successful NFC detection, both devices vibrate, and the sender's screen displays a "Touch to beam" prompt.[30] The sender taps the screen to confirm and start the transfer, after which the content is sent via NFC, potentially augmented by Bluetooth for larger files.[20] On the receiver's side, the device automatically detects the incoming NFC signal during the back-to-back positioning and vibrates to indicate connection.[29] A notification or preview of the incoming content appears on the receiver's screen, often prompting the user to tap to accept the transfer.[20] If accepted, the data is received and automatically opens in the default associated application or saves to a designated location, such as the Downloads folder for files or an app-specific directory for items like contacts.[30] The receiver does not need to perform additional actions beyond acceptance, though the device may prompt for app installation if the content requires a specific handler.[20] The transfer completes with a confirmation vibration or sound on both devices, signaling successful delivery.[29] If the devices move out of NFC range or the receiver declines the prompt, an error sound or notification indicates failure, and the process must be restarted.[20] Android Beam supports only pairwise transfers between two devices at a time, with no provision for group sharing.[29] Common use cases include beaming a contact card from the phonebook application or a URL directly from a browser, where the receiver can immediately view or save the shared item upon completion.[20]Supported Content
Types of Data
Android Beam primarily facilitated the sharing of small data payloads formatted as NFC Data Exchange Format (NDEF) messages between compatible devices. Core supported types included contacts in vCard format, which allowed users to exchange contact information such as names, phone numbers, and email addresses directly from the Contacts app. URLs and web pages were shared as hyperlinks, enabling quick access to websites or specific online content on the receiving device. Photos and videos could be shared from gallery apps, initially limited to very small files (typically a few kilobytes) via direct NFC transmission, with the system handling them via MIME types like image/jpeg or video/mp4 within NDEF records. Maps and directions were shared as URI links to applications like Google Maps, providing location data or routes. YouTube videos were typically beamed as embedded links rather than full files, directing the recipient to the video playback page. The feature was restricted to small payloads transmitted directly over NFC, which had inherent bandwidth limitations typically capping effective transfers at a few kilobytes without additional protocols. For larger files, such as bigger photos or videos, Android Beam prompted a fallback to Bluetooth in supported implementations, allowing completion of the transfer after NFC initiation. This handover mechanism expanded usability but still required user confirmation and compatible hardware. System-level content like calendar events could be shared in formats compatible with NDEF, such as vCalendar equivalents, from the Calendar app. Music tracks were often shared via links to media players or online sources rather than full audio files. App shortcuts, including links to install or open applications from the Google Play Store, were also supported, promoting app discovery between users. In its initial release with Android 4.0, sharing was limited to predefined system types like contacts, app links, and basic media, relying solely on NFC for transmission. Following enhancements in Android 4.1 Jelly Bean, the feature supported any NDEF-compatible data, broadening to include custom payloads from third-party apps while integrating Bluetooth for larger transfers. Certain content was not supported, including large videos or files exceeding fallback capabilities without manual intervention, as well as executables or sensitive system data to prevent unauthorized access or security risks.Application Integration
Developers integrated Android Beam support into third-party applications primarily through the Android NFC APIs, enabling seamless peer-to-peer data sharing via NDEF messages when devices were tapped together.[3] The core method for pushing content from a foreground activity wasNfcAdapter.enableForegroundNdefPush(Activity, NdefMessage), which allowed apps to register and transmit NDEF payloads, including custom MIME types for app-specific data, without requiring the user to navigate away from the current screen.[31] This API, introduced in API level 10 and enhanced in later versions, handled the creation and transmission of NDEF records, such as text, URIs, or application-specific payloads, facilitating quick transfers like URLs or images.[3]
To receive beamed content, applications declared intent filters in the AndroidManifest.xml file for actions like android.nfc.action.NDEF_DISCOVERED or android.nfc.action.BEAM, along with the <uses-permission android:name="android.permission.NFC" /> declaration and a minimum SDK target of API level 14 for full P2P support.[32] Apps targeting API level 16 (Android 4.1 Jelly Bean) or higher could opt into enhanced Beam functionality automatically if they supported standard sharing intents (e.g., ACTION_SEND), allowing the system to prompt users for NFC taps during share operations without additional code.[2] Google provided sample implementations in the Android SDK, such as the NFC Beam demo, to illustrate NDEF message creation and handling for developers.[3]
Representative examples of integration include the Chrome browser, which used Beam to share web URLs as URI NDEF records, enabling instant opening on the receiving device; the Gallery app, which transmitted images via image MIME types; and Gmail, which shared email attachments or links as text or URI payloads.[3] These integrations allowed developers to leverage Beam for context-aware sharing, improving user experience by bypassing traditional share sheets for NFC-enabled scenarios.[2]
Following the deprecation of Android Beam APIs in Android 10 (API level 29) announced in 2019, developers were encouraged to migrate to alternative sharing mechanisms, such as standard Share Intents for general content dissemination or the Nearby Connections API for robust P2P transfers supporting larger payloads and broader connectivity options like Bluetooth and Wi-Fi.[4]
