Skip to content

Several samples show how to use the APIs of the Nearby Service.Discovery and communication with devices in the vicinity. Give your users physical proximity services with in-app data sharing and messaging.

Notifications You must be signed in to change notification settings

Noctis-Xu/hms-nearby-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HUAWEI Nearby Service Sample

English | 中文

Introduction

Several samples show how to use the APIs of the Nearby Service. The project directory is as follows:

  1. NearbyStores: The package contains an Android Studio project that provides a sample for Beacon Management.
  2. NearbyWifiShare: The package contains a project that demonstrates how to quickly integrate the Wi-Fi sharing function.
  3. NearbyIM: The NearbyIM sample contains a project that demonstrates how to develop a nearby social networking app using Message APIs.
  4. NearbyFileTransfer: The package contains an Android Studio project that demonstrates how to implement file sharing only by adding two lines of code.

Precautions

The project contains multiple independent projects. After downloading code, you can open a project in Android Studio to build your app or add multiple apps to a project. You do not have to create a separate project for each app. You can open setting.gradle to select the project to build.

Question or issues

If you want to evaluate more about HMS Core, HMSCore on Reddit is for you to keep up with latest news about HMS Core, and to exchange insights with other developers.

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.

If you run into a bug in our samples, please submit an issue to the Repository. Even better you can submit a Pull Request with a fix.

About

Several samples show how to use the APIs of the Nearby Service.Discovery and communication with devices in the vicinity. Give your users physical proximity services with in-app data sharing and messaging.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%