Map not displayed

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

Map not displayed

Postby arvchak » Thu Dec 18, 2008 9:39 am

Hi,

I Want to display a Map view on android,i have obtained the api key.I am behind firewall also i have executed the below command as well.

adb shell sqlite3 /data/data/com.google.android.providers.settings/databases/settings.db "\"INSERT INTO system VALUES(99,'http_proxy','[HOST]:[PORT]');\""

and also I have added these permissions also in the manifest file.

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_GPS" />

I get this warning and i see only grids in the view
12-18 13:29:28.328: WARN/Maps_Persistence(25224): Couldn't find file: /data/data/com.knome.web2lab/files/DATA_Preferences
12-18 13:29:28.439: WARN/Maps_Persistence(25224): Couldn't find file: /data/data/com.knome.web2lab/files/DATA_Tiles
12-18 13:29:28.479: WARN/Maps(25224): Couldn't restore map info, data == null
12-18 13:29:28.805: ERROR/MapActivity(25224): Couldn't get connection factory client
12-18 13:29:45.218: WARN/AndroidHttpConnectionFactory(25224): IOException in HttpClient: Host is unresolved: www.google.com:80


kindly help me in this
User avatar
arvchak
Developer
Developer
 
Posts: 37
Joined: Thu Dec 11, 2008 7:38 am

Top

Postby ndroid » Fri Dec 19, 2008 5:56 am

this is a net connection problem..
i hope map application can't be used behind proxy.
you need to have a direct connection use wi-fi or data card etc
regards
ndroid
Junior Developer
Junior Developer
 
Posts: 15
Joined: Mon Dec 15, 2008 1:29 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests