Hi, I am trying to access CallManager class object from
"com.android.internal.telephony" package. here is my code: {

classCallManager =
Class.forName("com.android.internal.telephony.CallManager");

Method method_getInstance; method_getInstance =
classCallManager.getDeclaredMethod("getInstance");
method_getInstance.setAccessible(true); Object callManagerInstance =
method_getInstance.invoke(null);

}

but this throwing ClassNotFoundException.

can any one help me on this? same way it is allowing me to access
"PhoneFactory", but not allowing to access CallManager

Thanks in Advance, Harsha C

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to