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

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 - get latitude and longitude on button click event

get latitude and longitude on button click event

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

get latitude and longitude on button click event

Postby Patel Durgesh » Wed Sep 08, 2010 6:20 am

hi everyone,
we want to get our current location in latitude and longitude using GPS system on button click using code.
please give the detail code and steps to execute this....
we are using ...
(1) Eclipse

Please reply as soon as possible
Patel Durgesh
Freshman
Freshman
 
Posts: 5
Joined: Sat Sep 04, 2010 5:40 pm

Top

Re: get latitude and longitude on button click event

Postby Quelle » Wed Sep 08, 2010 5:42 pm

take a look @

import android.location.LocationListener;
import android.location.LocationManager;

and

import android.widget.Button;

don`t forget to register the button in your xml.
Quelle
Developer
Developer
 
Posts: 34
Joined: Thu Mar 11, 2010 10:53 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media and 11 guests