Basic Maps application displays blank page

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

Basic Maps application displays blank page

Postby ajit.ps1 » Fri Feb 20, 2009 5:18 am

Hi

I am trying to run the basic maps application on the emulator.
I am seeing only a blank page and nothing else. The logcat shows following logs:

W/AndroidHttpConnectionFactory( 678): Exception in HttpUrlConnection.getOutputStream:
W/AndroidHttpConnectionFactory( 678): java.net.ConnectException: http://www.google.com/209.85.153.104:80 - Network unreachable
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:231)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:512)
W/AndroidHttpConnectionFactory( 678): at java.net.Socket.connect(Socket.java:945)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:61)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager$ConnectionPool.getHttpConnection(HttpConnectionManager.java:145)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection(HttpConnectionManager.java:67)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:788)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:774)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.java:1191)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnection.java:1518)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:1511)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1112)
W/AndroidHttpConnectionFactory( 678): at com.google.common.io.android.AndroidHttpConnectionFactory$b.openDataOutputStream(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at com.google.common.DataRequestDispatcher.serviceRequests(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at com.google.common.DataRequestDispatcher$DispatcherServer.run(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at java.lang.Thread.run(Thread.java:896)
W/AndroidHttpConnectionFactory( 678): Exception in HttpUrlConnection.getOutputStream:
W/AndroidHttpConnectionFactory( 678): java.net.ConnectException: http://www.google.com/209.85.153.104:80 - Network unreachable
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:231)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:512)
W/AndroidHttpConnectionFactory( 678): at java.net.Socket.connect(Socket.java:945)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:61)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager$ConnectionPool.getHttpConnection(HttpConnectionManager.java:145)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection(HttpConnectionManager.java:67)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:788)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:774)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.java:1191)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnection.java:1518)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:1511)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1112)
W/AndroidHttpConnectionFactory( 678): at com.google.common.io.android.AndroidHttpConnectionFactory$b.openDataOutputStream(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at com.google.common.DataRequestDispatcher.serviceRequests(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at com.google.common.DataRequestDispatcher$DispatcherServer.run(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at java.lang.Thread.run(Thread.java:896)
W/AndroidHttpConnectionFactory( 678): Exception in HttpUrlConnection.getOutputStream:
W/AndroidHttpConnectionFactory( 678): java.net.ConnectException: http://www.google.com/209.85.153.104:80 - Network unreachable
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:231)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:512)
W/AndroidHttpConnectionFactory( 678): at java.net.Socket.connect(Socket.java:945)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:61)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager$ConnectionPool.getHttpConnection(HttpConnectionManager.java:145)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection(HttpConnectionManager.java:67)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:788)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:774)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.java:1191)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnection.java:1518)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:1511)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1112)
W/AndroidHttpConnectionFactory( 678): at com.google.common.io.android.AndroidHttpConnectionFactory$b.openDataOutputStream(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at com.google.common.DataRequestDispatcher.serviceRequests(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at com.google.common.DataRequestDispatcher$DispatcherServer.run(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at java.lang.Thread.run(Thread.java:896)
I/dalvikvm-heap( 678): GC! (19 sec since last GC)
I/dalvikvm-heap( 678): GC old usage 64.2%; now 1.285MB used / 2.570MB real max
I/dalvikvm-heap( 678): GC freed 8795 objects / 750508 bytes in 129ms
W/AndroidHttpConnectionFactory( 678): Exception in HttpUrlConnection.getOutputStream:
W/AndroidHttpConnectionFactory( 678): java.net.ConnectException: http://www.google.com/209.85.153.104:80 - Network unreachable
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:231)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:512)
W/AndroidHttpConnectionFactory( 678): at java.net.Socket.connect(Socket.java:945)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:61)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager$ConnectionPool.getHttpConnection(HttpConnectionManager.java:145)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection(HttpConnectionManager.java:67)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:788)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:774)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.java:1191)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnection.java:1518)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:1511)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1112)
W/AndroidHttpConnectionFactory( 678): at com.google.common.io.android.AndroidHttpConnectionFactory$b.openDataOutputStream(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at com.google.common.DataRequestDispatcher.serviceRequests(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at com.google.common.DataRequestDispatcher$DispatcherServer.run(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at java.lang.Thread.run(Thread.java:896)
W/AndroidHttpConnectionFactory( 678): Exception in HttpUrlConnection.getOutputStream:
W/AndroidHttpConnectionFactory( 678): java.net.ConnectException: http://www.google.com/209.85.153.104:80 - Network unreachable
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:231)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:512)
W/AndroidHttpConnectionFactory( 678): at java.net.Socket.connect(Socket.java:945)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:61)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager$ConnectionPool.getHttpConnection(HttpConnectionManager.java:145)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection(HttpConnectionManager.java:67)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:788)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:774)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.java:1191)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnection.java:1518)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:1511)
W/AndroidHttpConnectionFactory( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1112)
W/AndroidHttpConnectionFactory( 678): at com.google.common.io.android.AndroidHttpConnectionFactory$b.openDataOutputStream(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at com.google.common.DataRequestDispatcher.serviceRequests(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at com.google.common.DataRequestDispatcher$DispatcherServer.run(Unknown Source)
W/AndroidHttpConnectionFactory( 678): at java.lang.Thread.run(Thread.java:896)
E/Maps ( 678): Network error: 3
E/Maps ( 678): java.net.ConnectException: http://www.google.com/209.85.153.104:80 - Network unreachable
E/Maps ( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:231)
E/Maps ( 678): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:512)
E/Maps ( 678): at java.net.Socket.connect(Socket.java:945)
E/Maps ( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init>(HttpConnection.java:61)
E/Maps ( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager$ConnectionPool.getHttpConnection(HttpConnectionManager.java:145)
E/Maps ( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager.getConnection(HttpConnectionManager.java:67)
E/Maps ( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:788)
E/Maps ( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:774)
E/Maps ( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.sendRequest(HttpURLConnection.java:1191)
E/Maps ( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequestInternal(HttpURLConnection.java:1518)
E/Maps ( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.doRequest(HttpURLConnection.java:1511)
E/Maps ( 678): at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1112)
E/Maps ( 678): at com.google.common.io.android.AndroidHttpConnectionFactory$b.openDataOutputStream(Unknown Source)
E/Maps ( 678): at com.google.common.DataRequestDispatcher.serviceRequests(Unknown Source)
E/Maps ( 678): at com.google.common.DataRequestDispatcher$DispatcherServer.run(Unknown Source)
E/Maps ( 678): at java.lang.Thread.run(Thread.java:896)
W/AndroidHttpConnectionFactory( 678): Exception in HttpUrlConnection.getOutputStream:
W/AndroidHttpConnectionFactory( 678): java.net.ConnectException: http://www.google.com/209.85.153.104:80 - Network unreachable

Pls provide directions for what I need to do.
ajit.ps1
Junior Developer
Junior Developer
 
Posts: 14
Joined: Thu Jan 29, 2009 11:31 am
Location: Delhi

Top

Postby Quetzalcoatl » Fri Feb 20, 2009 12:34 pm

Not too sure about your 'Network Unreachable' exception but I assume that it may be that you don't have access due to needing this:


Maps API Key

Not using that does give the white screen symptoms that you're describing.
Image
Quetzalcoatl
Senior Developer
Senior Developer
 
Posts: 129
Joined: Sat Oct 18, 2008 8:21 pm
Location: near Manchester, UK

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 5 guests