Coder Social home page Coder Social logo

lollydemo's Introduction

Lolly

A new way to observe android app log in real time.

How to include

Add the library to your module build.gradle:

dependencies {
    implementation 'com.zql.android:lolly:2.0'
}

Usage

AndroidManifest.xml

        <service
            android:name="com.zqlite.android.lolly.Lolly"
            android:enabled="true"
            android:exported="false"
            android:process=":remote" />

permissions

    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
    <uses-permission android:name="android.permission.READ_LOGS" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

you should request above runtime permissions by yourself

java api

public static void Lolly.showLolly(android.app.Activity activity,
                             java.lang.String[] tags)

public static void Lolly.hideLolly(@NotNull android.app.Activity activity)

public static void Lolly.saveLog(@NotNull android.app.Activity activity)

😆 Have fun with this function!

License

 Copyright 2016 zhangqinglian

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.

lollydemo's People

Contributors

zhangqinglian avatar

Stargazers

 avatar 沙漠游魂 avatar  avatar 陈六生 avatar Piyush Malaviya avatar CBB avatar Gaoit avatar 蘑菇 avatar J!nl!n avatar Trinea avatar 东方乔恩 avatar luning avatar Gavin avatar sajib talukder avatar coder avatar Iven(艾文)万 avatar 一叶知秋 avatar  avatar William Qin avatar Mahao avatar 茶and狗狗 avatar  avatar  avatar yumodev avatar LiXueLong avatar  avatar Tiden avatar  avatar  avatar andy avatar  avatar  avatar suikajy avatar  avatar  avatar ttdevs avatar Tao avatar  avatar  avatar Ronan avatar  avatar  avatar  avatar xiaanming avatar  avatar Jam avatar jiaqi.wang avatar zhouyong avatar  avatar  avatar Ryan Xu avatar  avatar  avatar  avatar HuC avatar  avatar smf avatar  avatar saymagic avatar  avatar  avatar wuhaowen avatar  avatar  avatar Aba avatar Ghost From Heaven avatar  avatar chonamdoo avatar  avatar Pranav Lathigara avatar  avatar Tinashe avatar  avatar Kenneth avatar

Watchers

James Cloos avatar  avatar coder avatar  avatar Sun Jianwen avatar abner avatar  avatar TianMeng avatar

lollydemo's Issues

华为麦芒4 android 5.1,api22显示不出日志

在华为荣耀6s android4.4.2 api19可以显示日志,却在华为麦芒4 android 5.1,api22显示不出日志,不知道什么情况,所以反馈给组织


在终端中使用adb logcat可以出Log吗?

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.