I was trying a quick tutorial using google maps in Andriod
When I load my project I just get the Title and the Hello string below.I am not sure what I am doing wrong here. I copied the code when i generated the api key
The manifest is:
<?xml version="1.0" encoding="utf-8"?>
<uses-sdk android:minSdkVersion="3" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-library android:name="com.google.android.maps" />
<application
android:name=".MapsActivity"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".TestGoogleMapsActivity"
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>
Main.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.google.android.maps.MapView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:apiKey="0BEWMEhSfG1KpK8VJaPUKRS0bpcavE8rIvn3hjQ"
/>
</RelativeLayout>

Update
TestGoogleMapsActivity.java
package Gibby.TestMaps;
import android.app.Activity;
import android.os.Bundle;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapView;
import android.os.Bundle;
public class TestGoogleMapsActivity extends MapActivity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
@Override
protected boolean isRouteDisplayed() {
return false;
}
}
Move this
<uses-library android:name="com.google.android.maps" />inside application tag