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

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 - Multi threading in android

Multi threading in android

Put your problem here if it does not fit any of the other categories.

Multi threading in android

Postby rahel2050 » Mon Nov 23, 2009 10:12 am

Hi all,
I am new to android and i was doing some application which might use multi threading.
For example the application threads might do as follows assuming 2 threads;

Thread 1
Even if the overall application runs on foreground thread one should run at all times listening for specific sms;
Imagine the sms to be Intercepted is "3456" when this message is sent to the phone then thread one will be paused
and thread 2 will be activated:

Thread 2
When thread to is activated then it will use gps to track the location of the phone and will use instance of smsManager to send back the coordinates(log, lat) of the phone or even if possible google map back to the phone which sent the message "3456" and then thread one will be activated:

****How to make this happen any idea?

Condtions:
I know user must know that this application is running on the phone at all times.

Regards,
rahel2050
Freshman
Freshman
 
Posts: 3
Joined: Wed Nov 18, 2009 10:51 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 21 guests