tencent cloud

Cloud Contact Center

Announcement
What's New
Cloud Contact Center Terminology Update
What is Tencent Cloud Contact Center
Overview
Feature List
Terms Introduction
Handling Firewall Restrictions
AI Voicebot
Billing Guide
Voice Call Billing Overview
Desk Billing Overview
View Billing
Refund Policy
New User Guide
Voice Guide
Desk Guide
Use Case
Inbound: Customer Experience
Outbound: Telemarketing
Auto Dialer: Voice Notification
Integration Use Case (SDK)
Administrator Guide
Voice Guide
Desk Guide
Member Guide
Voice Guide
Desk Guide
AI Voice Agent Guide
Introducing AI Voice Agent
AI Voice Agent Practical Tutorial
Set Up Your AI Voice Agent
Activate AI Voice Agent Call
AI Voice Agent Call Logs
Developer Guide
SDK Development Guide
Data Push
Voice API Reference
History
Introduction
API Category
Making API Requests
Agent APIs
Skill Group APIs
Number APIs
Dual Call APIs
Predictive Outbound Call APIs
SIP Phone APIs
Call Service Record APIs
Billing APIs
Other APIs
Outbound Call APIs
Speech Intelligent Agent APIs
Data Types
Error Codes
Desk API Reference
API Reference
Callback Configuration
FAQs
Data Deletion Guide
Legal
Privacy Policy
Data Processing And Security Agreement
Service Level Agreements
TENCENT CLOUD CONTACT CENTRE TERMS OF USE
Glossary
Contact Us

Android

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-01-09 15:25:53

Android SDK Quick Run

Tencent Cloud Contact Center Android SDK enables agents to handle calls via PC, SIP phones, or mobile. This guide shows how to quickly set up and run the Android SDK.

Developer Environment Requirements

Android Studio 3.5+.
Android 4.1 (SDK API 16) or later.

Integrating SDK (aar, jar)

Manual Download (aar, jar)

1. Download the latest version of TCCC Agent SDK.
2. Copy aar file into app/libs directory of your project.
3. Specify the local repository path in build.gradle in the root directory of your project.


implementation fileTree(dir: "libs",includes: ['*.aar','*.jar'])
4. Specify the CPU architecture used by the app in defaultConfig in app/build.gradle.
defaultConfig {
ndk {
abiFilters "armeabi", "armeabi-v7a", "arm64-v8a"
}
}
Note:
TCCC Agent SDK currently supports armeabi, armeabi-v7a, and arm64-v8a.
5. In app/src/AndroidManifest.xml, change allowBack equal to false and restore infrastructure.


6. Click

Sync Now to complete Agent SDK integration.

Configure APP Permission

In AndroidManifest.xml, TCCC Agent SDK needs the following permissions:
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />

Setup Obfuscation Rules

In the proguard-rules.pro file, add the related classes of the TCCC SDK to the non-obfuscated list:
-keep class com.tencent.** { *; }

Code Implementation

For specific coding implementation, please refer to Android SDK API.

ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック