OMG !!! YES, WE CAN DO IT !!! I was going to kill myself after a harsh 24 hours of investigation and discovery ... But I found a "new" solution!
// "cheat" with Java reflection to gain access to TelephonyManager's // ITelephony getter Class c = Class.forName(tm.getClass().getName()); Method m = c.getDeclaredMethod("getITelephony"); m.setAccessible(true); telephonyService = (ITelephony)m.invoke(tm);
to all the hundreds of people who want to develop their call management software, visit this starting point
there is a project. and there are important comments (and loans)
briefly: copy the help file, add permissions for the manifest, copy-paste the source to control telephony)))
Additional information for you. AT commands that you can send only if you are rooted. How can you kill the system process and send commands, but you will need to reboot so that your phone can receive and send calls =)))
I am very hapy =) Now my Shake2MuteCall will receive an update!
foryou Jun 18 '10 at 18:15 2010-06-18 18:15
source share