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

tangjianback/hms-nearby-demo

 
 

Repository files navigation

HMS Nearby Demo

English | 中文

Introduction

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

  1. BeaconManager: The package contains an Android Studio project that provides a sample for Beacon Management.
  2. NearbyCanteens: The package contains an Android Studio project that provides a sample for Beacon-based Message Publishing and Subscription.
  3. NearbyCardExchange: The package contains an Android Studio project that demonstrates how to develop the business card exchange function using Message APIs.
  4. NearbyConnection: The package contains an Android Studio project that provides a sample for Connection.
  5. NearbyFriends: The package contains an Android Studio project that provides a sample for App-based Message Publishing and Subscription.
  6. NearbyGameSnake: The package contains an Android Studio project that demonstrates how to develop a simple online Snake game using Connection APIs.

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.

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%