Skip to content

Commit fe9ed3d

Browse files
Update README.md
1 parent c9d4c81 commit fe9ed3d

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
11
# AndroidMiniDebugger
22
A small tool to log your application inside your application with a floating UI component
3+
4+
5+
### Usage:
6+
7+
Start the logging service:
8+
9+
Intent intent = new Intent(this, DebuggerService.class);
10+
this.stopService(intent);
11+
ContextCompat.startForegroundService(this, intent);
12+
13+
## note:
14+
don't forget to grant "Draw over other apps" permission. (look into sample project "MainActivity.java")
15+
16+
17+
Finally use SRLog.java instead of android Log class:
18+
19+
SRLog.d(TAG, "Message");

0 commit comments

Comments
 (0)