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 - on satelite unreached

on satelite unreached

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

on satelite unreached

Postby georpapa » Mon Oct 26, 2009 3:43 pm

hello,

i am searching how to handle my program when the satelite for the gps in unavailable because i am inside a building
i mean when i try to find my location from gps but i cant connect to satelite

when i cant access the satelite, the screen does not show the map.. and i want in this case to manually add my location coordinates throught my real address, but i dont know how to go to that option.

i know how to get coordinates from the address using Geocoder but i xant find the code to swicth from satelite coords to my manual coords i mean:


the above is not a real code, just an example to undestand what i am searching..

if(satellite is unreachable) then {
myadress="Street 55, NY";
lag,lng=getcoords(myadress);
showonmap();
}

i dont know the statement in the if what should be
georpapa
Freshman
Freshman
 
Posts: 9
Joined: Tue Oct 06, 2009 7:22 pm

Top

Postby georpapa » Mon Oct 26, 2009 11:23 pm

i found the answer... it took me a while to understand it but it is piece of cake!

i finally used the

public void onStatusChanged(String provider, int status, Bundle extras){}

from the locationlistener in build "procedure"

and with the help of a global boolean variable i was able to know when i have signal from satelite and so to find my location
georpapa
Freshman
Freshman
 
Posts: 9
Joined: Tue Oct 06, 2009 7:22 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 6 guests