I'm having trouble getting a Google Latitude location badge to display correctly in an Android WebView.
I am expecting something like this: http://dl.dropbox.com/u/4234644/Capture.JPG with a map image/photo. But I am getting this: http://dl.dropbox.com/u/4234644/device-2011-08-16-203442.jpg without a map image/photo. As you can see my location is being reported but I don't get the map or photo. Here is my code: - public void displayBadge() { AlertDialog.Builder aboutAlert = new AlertDialog.Builder(this); aboutAlert.setTitle("Expander Dip Switch Settings"); aboutAlert.setIcon(R.drawable.icon); WebView browser = new WebView(this); browser.setBackgroundColor(0); String html = "<iframe src=\"http://www.google.com/latitude/ apps/badge/api?user=????????????????? &type=iframe&maptype=roadmap&z=10\" width= \"150\" height=\"250\" frameborder=\"0\"></iframe>"; browser.loadData(html, "text/html", "utf-8"); aboutAlert.setView(browser); aboutAlert.setNeutralButton("Close", null); aboutAlert.show(); } A simple url (maps.google.com) will display various screen elements but again no map. Any ideas would be gratefully received. Best regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

