Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hms-core/hms-nearby-demo

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.
https://github.com/hms-core/hms-nearby-demo

android beacon connection demo exchange-card friends game gamesnake hms hms-nearby huawei java message nearby nearby-service online-game

Last synced: about 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

        

# HMS Core Nearby Service Sample Code
[![](https://camo.githubusercontent.com/ce1c195eb2524e4e67a2e74bf6e9619555aa0913/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f63732d686d736775696465732d627269676874677265656e)](https://developer.huawei.com/consumer/en/doc/development/system-Guides/introduction-nearby-0000001060363166)

English | [中文](README_ZH.md)

## Contents
* [Introduction](#Introduction)
* [Precautions](#Precautions)
* [Technical Support](#Technical-Support)

## Introduction
This sample code shows how to use APIs of Nearby Service. The project directory is as follows:

1. [NearbyStores](https://github.com/HMS-Core/hms-nearby-demo/tree/master/NearbyStores): provides an Android Studio demo project for beacon management.
2. [NearbyFileTransfer](https://github.com/HMS-Core/hms-nearby-demo/tree/master/NearbyFileTransfer): provides an Android Studio demo project that shows how to develop the file sharing function with only few lines of code.

## Precautions
The sample code contains multiple independent projects. After downloading the code, you can open a project in Android Studio to build a single app or add multiple apps to one project. You can specify the app to build in the **setting.gradle** file.

## Technical Support
You can visit the [Reddit community](https://www.reddit.com/r/HuaweiDevelopers/) to obtain the latest information about HMS Core and communicate with other developers.

If you have any questions about the sample code, try the following:
- Visit [Stack Overflow](https://stackoverflow.com/questions/tagged/huawei-mobile-services?tab=Votes), submit your questions, and tag them with `huawei-mobile-services`. Huawei experts will answer your questions.
- Visit the HMS Core section in the [HUAWEI Developer Forum](https://forums.developer.huawei.com/forumPortal/en/home?fid=0101187876626530001?ha_source=hms1) and communicate with other developers.

If you encounter any issues when using the sample code, submit your [issues](https://github.com/HMS-Core/hms-nearby-demo/issues) or submit a [pull request](https://github.com/HMS-Core/hms-nearby-demo/pulls).