Alibaba Cloud Mobile Push App Android SDK Manual

Alibaba Cloud Mobile Push App SDK Manual introduces how to use Alibaba Cloud Mobile Push App SDK.


Alibaba Cloud Mobile Push App Android SDK Manual - cover page
Brand
Alibaba Cloud
Category
Other software
Document type
Programming Manual
Language
Chinese
Pages
41
File format
PDF
File size
2.5 MB
Published
26 November, 2023
Updated
26 November, 2023
MD5 checksum
1328B8FB961D913EAB5EBDEA6E644CFF

About this manual

This manual explains how to create an application in the Alibaba Cloud Mobile Push console and integrate the Android SDK into an app project.

It covers AndroidManifest.xml configuration for appkey, appsecret, permissions, services, and receivers, plus ProGuard rules, SDK registration, startup confirmation, and the CloudPushService API. This manual is written in Chinese.

What's inside

  • Creating an application
  • SDK download and integration
  • SDK directory structure
  • AndroidManifest.xml configuration
  • appkey and appsecret configuration
  • Permission configuration
  • Service configuration
  • Receiver configuration
  • ProGuard configuration
  • Registering and starting push

Specifications

Latest Android SDK versionv2.3.0
Support library requirementandroid-support-v4.jar v2.3.0 or later
Account name length32 bytes
Maximum bound tags128 tags
Single tag length40 bytes
Account binding limitOne account per device

Frequently asked questions

How do I configure appkey and appsecret?

Add com.alibaba.app.appkey and com.alibaba.app.appsecret meta-data entries in AndroidManifest.xml using values from the push console application certificate page.

Which permissions must be declared?

Copy the listed uses-permission entries into the permission declaration area of the manifest.

How is the SDK registered and started?

Obtain CloudPushService through PushServiceFactory, then call register() in the application context.

What is the latest Android SDK version?

The manual states that the latest Android SDK version is v2.3.0.

Download PDF (2.5 MB)

More Alibaba Cloud Manuals


View all Alibaba Cloud manuals →