Interesting, well here is my main.xml file:
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.maps.MapView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mapview"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:clickable="true"
android:apiKey="0u_pSSA5Tcni1kZxK5IHFWe6rMJCzbMj*******"
/>
And my AndroirManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.lash.HelloMapView"
android:versionCode="1"
android:versionName="1.0">
<uses-permission android:name="android.permission.INTERNET" />
<application android:icon="@drawable/icon" android:label="@string/
app_name">
<uses-library android:name="com.google.android.maps" />
<activity android:name=".HelloMapView"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="6" />
</manifest>
It looks to me like both of the issues you mentioned should be taken
care of, but did I type something incorrectly? Thanks for the quick
replies, I really appreciate the help.
On Feb 22, 6:17 pm, Mark Murphy <[email protected]> wrote:
> Mike wrote:
> > Hi all, not sure if this has been talked about somewhere, but I did
> > some pretty extensive searching and couldn't find it. I've been doing
> > the tutorial
> > athttp://developer.android.com/resources/tutorials/views/hello-mapview....
> > I am able to complete it all the way through having the little android
> > icons appear on the screen, there's just one problem. The actual map
> > is not displaying, so the icons are just sitting on top of the grid it
> > shows before the map would load.
>
> > I am using Eclipse Galileo, Google APIs 2.0.1 Level 6 and Windows XP.
> > I set up the SDK debug certificate fingerprint correctly and have the
> > resulting apiKey listed in my main.xml file.
>
> > Are there any other places I have to list the apiKey? Any thoughts or
> > comments are appreciated.
>
> There are two causes I know of for a map to stay in gridline mode:
>
> -- The apiKey is not actually in there properly (hint: if it has colons,
> that's not the API key)
>
> -- The emulator or device does not have Internet access, such as lacking
> the INTERNET permission in the project
>
> --
> Mark Murphy (a Commons
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_
> Version 1.3 Available!
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en