Please don't do this - say something dogmatic when you can say something 
informative.

On Thursday, January 20, 2011 4:38:05 AM UTC-8, Mark Murphy wrote:
>
> On Thu, Jan 20, 2011 at 5:35 AM, Harsha <[email protected] <javascript:>> 
> wrote:
> > 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
>
> Please don't do this.
>
> -- 
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to