English | 中文
Several samples show how to use the APIs of the Nearby Service. The project directory is as follows:
- NearbyStores: The package contains an Android Studio project that provides a sample for Beacon Management.
- NearbyWifiShare: The package contains a project that demonstrates how to quickly integrate the Wi-Fi sharing function.
- NearbyIM: The NearbyIM sample contains a project that demonstrates how to develop a nearby social networking app using Message APIs.
- NearbyFileTransfer: The package contains an Android Studio project that demonstrates how to implement file sharing only by adding two lines of code.
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.
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.