Giter Site home page Giter Site logo

aliyun-log-android-sdk's Introduction

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.

or you can compile jar by source code

# clone
$ git clone https://github.com/aliyun/aliyun-log-android-sdk.git

# access the directory
$ cd aliyun-log-android-sdk/aliyun-sls-android-sdk/

# run task(must jdk 1.7 above)
$ ../gradlew releaseJar

# location
$ cd build/libs && ls

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

aliyun-log-android-sdk's People

Contributors

1019272778 avatar duan007a avatar lujiajing1126 avatar sandbeach avatar suntingtao007 avatar zzboy avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.