You have to download ITelehony.aidl (google for it) which will
generate the appropriate Interface for you and then you can use
reflection like this:
TelephonyManager phoneManager =
(TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);
Method getMethod =
phoneManager.getClass().getDeclaredMethod("getITelephony");
getMethod.setAccessible(true);
ITelephony phoneService = (ITelephony)getMethod.invoke(tm);Now you can use functions like endCall() to reject calls etc. On 16 Feb., 14:36, bareya <[email protected]> wrote: > Hi I'm new android developer group and I'm trying get access to > ITelephony class, but form sdk it's not available. I can't find any > information on the web where i can get "full" API with full access. > Can You help me and give me andy information about it ? > Please, > Peter -- 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

