This slide explains a simple Android library called Debot.
Debot offers features that are useful to debug Android applications. Those features can be added to any activity that has the toolbar menu. Also, developers can easily add their own custom debugging features with simple steps.
https://github.com/tomoima525/debot
4. Things developers do for debugging
• Visualise an apps data
• Activity, intent, logs etc.
• Visualise ( numerous kinds of )devices’ data
• Screen density, OS ver, memory etc.
• Check the behaviour of apps
10. Debot
A simple Android Library to support
your debugging
https://github.com/tomoima525/debot
11. Debot offers you productive debugging
features
1. Has useful debugging features by default
2. Hassle-free implementation
3. Customisable Plugins
4. Able to call specific methods from Activity
15. Debugging features
• Auto Input
@DebotAnnotation("debugInput")
public void debugInput() {
EditText editText
= (EditText) findViewById(R.id.input_1);
editText.setText("This is sample!");
}
21. Customisable Plugins
public class MyDebotStrategy extends DebotStrategy{
@Override
public void startAction(@NonNull Activity activity) {
// Do your things
}
}
22. Customisable Plugins
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
DebotStrategyBuilder builder
= new DebotStrategyBuilder.Builder(context)
.registerMenu("My feature", new MyDebotStrategy())
.build();
DebotConfigurator.
configureWithCustomizeMenu(this, builder.getStrategyList());
}
}