Not sure about android but in standard JDK you would do something like this:
try {
Class.forName( "your.fqdn.class.name" );
} catch( ClassNotFoundException e ) {
//my class isn't there!
}
More Related Contents:
- Secure HTTP Post in Android
- Android encryption
- How to arrange the datas to display in array by given string of days in java?
- Show an alertDialog from another Activity Android
- how to replace display array list equals another array list values
- SQlite Getting nearest locations (with latitude and longitude)
- android on Text Change Listener
- Android Thread for a timer
- How to put a jar in classpath in Eclipse? [duplicate]
- findviewbyid returns null in a dialog
- Delete data from ArrayList with a For-loop
- android.util.AndroidRuntimeException: requestFeature() must be called before adding content
- Android – Setting a Timeout for an AsyncTask?
- How to use interface to communicate between two activities
- Is there a way to automatically generate getters and setters in Eclipse?
- How to start Activity in adapter?
- java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty on Linux, or why is the default truststore empty [duplicate]
- Playing BG Music Across Activities in Android
- Android – Copy assets to internal storage
- Flutter apps are too big in size
- TCP\IP client – EHOSTUNREACH (No route to host)
- How do I generate a SALT in Java for Salted-Hash?
- java.lang.NullPointerException: Attempt to invoke virtual method on a null object reference [duplicate]
- Importing external .jar file to Android project [duplicate]
- Using serviceloader on android
- How to activate “Share” button in android app?
- OkHttp javax.net.ssl.SSLPeerUnverifiedException: Hostname domain.com not verified
- Create a custom document id in firestore in android, instead of generating random one
- How to implement In-App Billing in an Android application?
- Auto-increment a value in Firebase