Andzu

Additional

Language
Java
Version
0.29 (Apr 25, 2017)
Created
Apr 10, 2017
Updated
Apr 25, 2017
Owner
isacan
Contributor
isacan
1
Activity
Badge
Generate
Download
Source code
APK file

Advertisement

Andzu

In-App Android Debugging Tool With Enhanced Logging, Networking Info, Crash reporting And More.

The debugger tool for Android developer. Display logs, network request, while using the app. Easy accessible with its bubble head button 🔘. Easy to integrate in any apps, to handle development or testing apps easier. First version, there is plenty of room for improvement.

Usage

  • Extend your Application class from "AndzuApp"
    public class App extends AndzuApp {
        @Override
        public void onCreate() {
            super.onCreate();
        }
    }
  • Extend your Activity from "AndzuActivity" and onCreate call initAndzu() method for show Bubble
    public class MainActivity extends AndzuActivity {
        @Override
        protected void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_main);
            initAndzu();
        }
    }
  • For Network Request Log addInterceptor "AndzuInterceptor"
    LoggingInterceptor interceptor = new LoggingInterceptor();
    
    OkHttpClient client = new OkHttpClient.Builder()
                    .addInterceptor(interceptor)
                    .build();
  • For App Log user Logger log method.
    Logger.inf("info");
    
    Logger.err("error",Logger.HI_PRI);
    
    Logger.d("debug");
    
    Logger.v("verbose",Logger.LOW_PRI);
    
    Logger.w("warn");
  • That's it

Installation

Download the latest JAR or grab via Maven:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
  </repositories>
  
  <dependency>
      <groupId>com.github.isacan</groupId>
      <artifactId>Andzu</artifactId>
      <version>0.29</version>
  </dependency>

or Gradle: Add it in your root build.gradle at the end of repositories:

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

Add the dependency

dependencies {
          compile 'com.github.isacan:Andzu:0.29'
  }

Contact

Inspiration

https://github.com/remirobert/Dotzu

License

Andzu is released under the MIT License.