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 - GPS problem

GPS problem

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

GPS problem

Postby ashish » Sat Mar 21, 2009 6:30 am

in my application to use gps i am using below code.....

Location loc;
LocationManager lm = (LocationManager)getSystemService(LOCATION_SERVICE);
loc = lm.getLastKnownLocation("network"); //OR getLastKnownLocation("gps");


but it is not working...........

whether it is necessary to call lm.RequestLocationUpdate() method.

can any one help me.......
ashish
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Fri Feb 20, 2009 8:09 am

Top

Re: GPS problem

Postby sarangkulkarni17 » Mon Mar 23, 2009 6:04 am

ashish wrote:in my application to use gps i am using below code.....

Location loc;
LocationManager lm = (LocationManager)getSystemService(LOCATION_SERVICE);
loc = lm.getLastKnownLocation("network"); //OR getLastKnownLocation("gps");


but it is not working...........

whether it is necessary to call lm.RequestLocationUpdate() method.

can any one help me.......


Hello everyone,
please download tutorial on GPS
Attachments
WhereIAm.zip
(32.04 KiB) Downloaded 100 times
sarangkulkarni17
Developer
Developer
 
Posts: 29
Joined: Fri Feb 13, 2009 10:00 am
Location: Pune

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 2 guests