Tools - Print Method

public void Function(String _str) {

try {
Class<?> c = Class.forName(_str);
System.out.println("name = " + c.getName());
System.out.println("package = " + c.getPackage());
java.lang.reflect.Method[] methods = c.getDeclaredMethods();
System.out.println("----- Class methods ---------------");
for (java.lang.reflect.Method method : methods) {
System.out.println(method.getName());
}
} catch (ClassNotFoundException e) {
e.printStackTrace();
}
}

Komentar

Cara pembuatan Apps paling Populer

Create Stopwatch App in Android using Sketchware

TextInputLayout in Sketchware

How to find and​ highlight a word in a text field in Sketchware?

A Flash Light App in Sketchware

How to enable download in webview in Sketchware apps?

Intent - Open File By Type

Code for implementing Notifications in Sketchware

How to share an image from Drawable folder?

ActionBar back button

Animation Transtition Animation