Hello i want to convert ebookdroid to a library. When I mark it as library i could use its classes in my project. However in ebookdroid when app is loaded Ebookdroid class which extends Aplication is called. This class init app Settings. So is it possible to call this init class from my project if ebookdroid is Library ?
When I try to do this:
EBookDroidApp app = (EBookDroidApp)getApplication();
app.init();
I get:
java.lang.ClassCastException: android.app.Application