# tac-sdk-android-samples **Repository Path**: mirrors_tencentyun/tac-sdk-android-samples ## Basic Information - **Project Name**: tac-sdk-android-samples - **Description**: MobileLine Android SDK Sample - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-18 - **Last Updated**: 2025-08-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 开始 ### 准备工作 请先将本示例工程下载到本地。 ### 第一步:创建项目和应用 在使用我们的服务前,您必须先在 MobileLine 控制台上 [创建项目和应用](https://cloud.tencent.com/document/product/666/15345)。 ### 第二步:添加配置文件 在您创建好的应用上点击【下载配置】按钮来下载该应用的配置文件的压缩包: ![](http://tacimg-1253960454.cosgz.myqcloud.com/guides/project/downloadConfig.png) 解压该压缩包,您会得到 `tac_service_configurations.json` 和 `tac_service_configurations_unpackage.json` 两个文件,请您如图所示覆盖示例工程同目录下的配置文件。 ## 使用 ### 在 Android Studio 运行 将工程导入 Android Studio,并在 Android 设备中运行。 ### 命令行运行 在工程根目录,在 Windows 下请运行: ``` gradlew installAdptDebug ``` 在 Linux 或者 Mac 下请运行: ``` ./gradlew installAdptDebug ``` ## 后续步骤 ### 了解 MobileLine: - 借助 [Analytics](https://cloud.tencent.com/document/product/666/14822) 深入分析用户行为。 - 借助 [messaging](https://cloud.tencent.com/document/product/666/14826) 向用户发送通知。 - 借助 [crash](https://cloud.tencent.com/document/product/666/14824) 确定应用崩溃的时间和原因。 - 借助 [storage](https://cloud.tencent.com/document/product/666/14828) 存储和访问用户生成的内容(如照片或视频)。 - 借助 [authorization](https://cloud.tencent.com/document/product/666/14830) 来进行用户身份验证。 - 借助 [payment](https://cloud.tencent.com/document/product/666/14832) 获取微信和手 Q 支付能力 ``` Copyright (c) 2017 腾讯云 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ```