Coder Social home page Coder Social logo

android-logviewer's Introduction

有时候不想打开android studio ddms 或者 不想在后台(bugtags) 看数据记录
就可以在手机上简单快速的查看数据日志(以悬浮窗的形式)
以表格的形式展示 (表格的✎ 列可以拖拽和控制长宽)
原理是主应用程序通过service给另外一个悬浮窗应用LogViewer发数据数据以json格式展示和分享
这样依赖包只有17kb 也不需要申请悬浮窗权限 LogViewer可以随意定制样式

原理图


使用场景:
1:比如你下班已经关电脑了
2:有时你和其他后台人员交流时简单快速方便展示或让他人快速了解业务

使用方法 安装 LogViewer.apk 或者git clone下载后编译LogViewer工程

注意: ✎ 是可以拖拽
LogViewer.apk
下载地址
主下载地址
备用下载地址

发送消息的测试apk TestLogViewer.apk
下载地址
主下载地址
备用下载地址

在你的项目中用引用

 compile 'com.aiushtha:logViewer:1.1.2'
 
 allprojects {
    repositories {
        maven { url "https://raw.githubusercontent.com/Aiushtha/Android-LogViewer//master" }
    }
 }

如何给另外LogViewer发消息的代码

    MessageLogManager.send({ 
      it.tag=this.javaClass.simpleName
      it.url="http//baidu.com"
      it.level="1"
      it.content=User("lxz","30",1,"1989").asJsonFromat()
      it.subject="user info"
      it
    })

如果你很喜欢使用这个应用,可以发送建议到我的邮箱,或者在项目中留言 [email protected]

以下为软件界面的截图
主程序
logview
详情

android-logviewer's People

Contributors

aiushtha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

android-logviewer's Issues

使用方法

不能看其他软件的日志吗,就行catlog一样

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.