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 - TelephonyManager

TelephonyManager

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

TelephonyManager

Postby bobcat » Sun May 10, 2009 7:29 pm

hi i have a class that extends mapActivity and i use the map of google but i want make this:

TelephonyManager tm = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
location = (GsmCellLocation) tm.getCellLocation();

when i use the tm i have a exception how can resolve?where is the problem?
bobcat
Freshman
Freshman
 
Posts: 6
Joined: Wed Apr 22, 2009 6:45 pm

Top

Postby padde » Sun May 10, 2009 8:38 pm

i guess you need the right permissions to touch telephony manager and cell id stuff
padde
Master Developer
Master Developer
 
Posts: 443
Joined: Wed Apr 08, 2009 4:52 pm

Postby bobcat » Mon May 11, 2009 11:07 am

Yes is exactly i have wrong this line :
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
</application>
the correctly line is :
</application>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

thank you very much!!
bobcat
Freshman
Freshman
 
Posts: 6
Joined: Wed Apr 22, 2009 6:45 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 3 guests