Copyright (c) Huawei Technologies Co., Ltd. 2012-2022. All rights reserved.
- Introduction
- What you will Create
- What You Will Learn
- Hardware Requirements
- Software Requirements
- License
Social Media is a HMS Application which allow users to connect with friends, work colleagues or people they don’t know, online. It allows users to share pictures and videos, with however many people they like. Users send “friend requests” to people who they may – or may not – know. Once accepted, the two profiles are connected with both users able to see whatever the other person posts. “Social Media” can post almost anything to their timeline. App is developed using below HMS Features.
In this code lab, you will create a Social Media project and use the APIs of HUAWEI Cloud DB, Cloud Storage, Ads, Map, Location,Video Kit and etc.,. We are going to create a end to end prototype for posting a media files, storing in Cloud DB, and retrieving & showing in the app.
- Store the Media files in Cloud DB & Cloud Storage using Cloud-Core kits.
- Using Map & Location kit to share the map as media file.
- Using Native Ad & Splash Ad for Ad mediation.
In this code lab, you will learn how to:
- Map Kit
- Account Kit
- Cloud DB
- Location Kit
- Ads kit
- Push Kit
- Video kit
- Cloud Storage
- Cloud Function
- Analytics Kit
- Crash
- A computer (desktop or laptop) that runs the Windows 10 operating system
- Huawei phone with HMS Core (APK) 5.0.0.300 or later installed
**Note:** Please prepare the preceding hardware environment and relevant devices in advance.
- Android Studio 3.X
- JDK 1.8 and later
- SDK Platform 23 and later
- Gradle 4.6 and later
Use the below link to do initial configuration for the application development https://developer.huawei.com/consumer/en/codelab/HMSPreparation/index.html#3
Enable the API permission for below kits from Project Settings, Manage APIs and enable the API permission.
- Map Kit
- Location Kit
- Auth Service
- Account Kit
- Push Kit
- Account Kit
- Analytics Kit
- Cloud Storage
**Note:** Some API’s will be enabled by default. If not enable it manually.
For official Documentation and more services, please refer below documentation from developer website.
HMS Guide sample is licensed under the Apache License, version 2.0.