Hello, I'm new here, I have a problem implementing a Map view element on my application. The app loads but the screen remain blank and nothing comes up.
Im developing on a real device, I got a G1 I have already got my own keystore and implemented all the permissions seen on the tutorial that I'm following: http://mobiforge.com/developing/story/using-google-maps-android my code is this: this is my activity package net.learn2develop.GoogleMaps; import android.app.Activity; import android.content.Intent; import com.google.android.maps.MapActivity; import com.google.android.maps.MapView; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class MapsActivity 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; } @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); menu.add(0,-1, 0, R.string.close); menu.add(0,1,1,R.string.acercade); return true; } @Override public boolean onMenuItemSelected(int featureId, MenuItem item) { switch(item.getItemId()) { case -1: finish(); return true; case 1: about(); return true; } return super.onMenuItemSelected(featureId, item); } private void about() { Intent i = new Intent(this, Acerca.class); startActivity(i); } } this one is my manifest file <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="net.learn2develop.GoogleMaps" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/icon" android:label="@string/ app_name"> <uses-library android:name="com.google.android.maps" /> <activity android:name=".MapsActivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="Acerca"></activity> </application> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses- permission> </manifest> and this one is my main file <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" /> <com.google.android.maps.MapView android:id="@+id/mapView" android:enabled="true" android:clickable="true" android:apiKey="here_goes_my_keystore_got_from_google" android:layout_width="fill_parent" android:layout_height="fill_parent"/> </LinearLayout> -- 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 android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en