Nearby Enables Your APP to Provide Users with Zero-Traffic Audio Sharing Function

Sherlock F

Senior Member
Apr 28, 2020
The Huawei Nearby Service, an important feature of HMS Core, provides your App with high-speed transmission capabilities over short distance without Internet based on technologies such as Bluetooth and Wi-Fi, and the transmission speed can be in excess of 60MBps.

Nearby Service allows you to share audio and video in the App, lets users bid farewell to the trouble of computer transfer and saves wasted traffic through Internet transmission or download.

And the open source simple APIs allow you to easily integrate the transmission function to enhance product competitiveness and user experience.

Benefits of HUAWEI Nearby Service

High-speed transmission: Utilizes Huawei-developed nStack X protocol stack to achieve a 30% higher transmission rate, in excess of 60MB/s.

Automatic network configuration: Selects the optimal network mode(Wi-Fi hotspot, Wi-Fi P2P, etc.), without the need for manual configuration.

Quick integration: File transmission APIs can be integrated with just two lines of code (please refer to the open source code below.)

Full Android platform support: All terminals running Android 5.0 or later are supported, with Windows and iOS coverage planned for the near future.

Success Stories

WlanPlay, a popular video player developed by iQIYI, provides users with high-quality video play and sharing experiences. With HUAWEI Nearby Service, WLanPlay greatly increases the transmission speed in excess of 60MBps and allow users to enjoy zero-traffic, high-speed audio and videos sharing function to enhance product competitiveness.

You can use the open source code to quickly integrate NearbyService by calling 2 APIs to achieve file transmission

If you need to customize the data transmission mode, please refer to the detailed API guidance:

Nearby Service - In-App Data Sharing and Messaging Services - HUAWEI Developer

Sample code for customized data transmission

If you have any needs or suggestions, please contact: [email protected]
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone