Sunday, 30 April 2017

DebugKit

Android DebugKit

DebugKit lib for Android allows you to use a fancy hovering debug tool to trigger some actions directly in the app. This tool is very useful to trigger some event at runtime, and to have a written feedback directly on your testing phone screen.

Requirements

  • Android SDK 15+

Installation

```groovy repositories { jcenter() }

dependencies { compile 'com.hulab.android:debugkit:1.0.3' } ```

Usage

```java final DevTool.Builder builder = new DevTool.Builder(mContext);

builder.addFunction(new DebugFunction() { @Override public String call() throws Exception { log("doing some stuff..."); doSomeStuff(); return "Some stuff was done."; } }).build(); ```

Result


dark theme


Have fun!



from The Android Arsenal

No comments:

Post a Comment