Skip to content

bravegogo/aliyun-log-android-sdk

 
 

Repository files navigation

Alibaba Cloud SLS SDK for Android

Introduction

This document mainly describes how to install and use the SLS Android SDK. If you have not yet activated or do not know about the SLS service, log on to the SLS Product Homepage for more help.

Environment requirements

  • Android 2.3 or above
  • You must have registered an Alibaba Cloud account with the SLS activated.

Installation

SLS Android SDK is dependent on fastjson.

you can use it through the Maven dependency.

Maven dependency

<dependency>
  <groupId>com.aliyun.openservices</groupId>
  <artifactId>aliyun-log-android-sdk</artifactId>
  <version>0.3.1</version>
</dependency>

Configure permissions

The following are the Android permissions needed by the SLS Android SDK. Please make sure these permissions are already set in your AndroidManifest.xml file. Otherwise, the SDK will not work normally.

<uses-permission android:name="android.permission.INTERNET"></uses-permission>

Quick start

The basic processes for uploading log is demonstrated below. For details, you can refer to the following directories of this project:

the sample directory: click to view details.

License

  • Apache License 2.0.

Contact us

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%