Possible to use reflection to access the PhoneApp class?
I've been able to use reflection successfully a few times while developing apps for my rooted Droid X(2.2). Now I'm trying to access PhoneApp via reflection, but I keep getting NoClassDefFoundError when I invoke either of the following:
Class aClass = Class.forName("com.android.phone.PhoneApp");
If I decompile BlurPhone.apk I can see com.android.phone.PhoneApp, so what am I missing?
ClassLoader classLoader = MyClass.class.getClassLoader();
Class aClass = classLoader.loadClass("com.android.phone.PhoneApp");