Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - intercept an outgoing call

intercept an outgoing call

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

intercept an outgoing call

Postby Nemat » Fri Oct 23, 2009 10:06 am

Hi,
I am trying to disconnect an outgoing call by injecting END key but it gives a security exception.I have added INJECT_EVENT permission in manifest.Here is my code:

Handler handler;
Thread t = new Thread() {
Object sync = new Object();
public void run() {
Log.d( "Handler11","Creating handler ..." );
Looper.prepare();
handler = new Handler();
Looper.loop();
Log.d( "Handler22", "Looper thread ends" );
}
};
t.start();

handler.post( new Runnable() {
// Log.d( "Generate key","Generating keys w/inst..." );
public void run() {
Log.d( "111111111111","11111111111111111111111" );
Log.d( "Generate key","Generating keys w/inst..." );
Instrumentation inst = new Instrumentation();
inst.sendKeyDownUpSync( KeyEvent.KEYCODE_ENDCALL );
}
} );
Nemat
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Thu Aug 21, 2008 3:16 pm
Location: Jaipur

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 3 guests