Skip to content

symphonyrecords/AndroidMiniDebugger

Repository files navigation

AndroidMiniDebugger

A small tool to log your application inside your application with a floating UI component

Preview

Preview

Usage:

Step 1

Add it in your root build.gradle:

allprojects {	repositories {	...	maven { url 'https://jitpack.io' }	} } 

Step 2

Add dependencies in build.gradle.

dependencies { implementation 'com.github.symphonyrecords:androidminidebugger:1.1.1' } 

Step 3

Start the logging service:

Intent intent = new Intent(this, DebuggerService.class); this.stopService(intent); ContextCompat.startForegroundService(this, intent); 

Step 4

Finally use SRLog.java instead of android Log class:

SRLog.d(TAG, "Message"); 

Note: don't forget to grant "Draw over other apps" permission (Look into Example.java).