May be u r seeing a location where there is an ocean... so check ur coordiinates...
On Wed, May 30, 2012 at 11:43 AM, lbendlin <[email protected]> wrote: > Verify your map center coordinates. > > > On Tuesday, May 29, 2012 9:07:53 AM UTC-4, [email protected]: >> >> I am trying the very basic google maps api code. But it just gives me >> a blank blue page. >> >> My program is this >> >> Java code:: >> >> package com.project1; >> >> import android.os.Bundle; >> >> import com.google.android.maps.**GeoPoint; >> import com.google.android.maps.**MapActivity; >> import com.google.android.maps.**MapController; >> import com.google.android.maps.**MapView; >> >> public class Testmap22Activity extends MapActivity { >> /** Called when the activity is first created. */ >> @Override >> public void onCreate(Bundle savedInstanceState) { >> super.onCreate(**savedInstanceState); >> setContentView(R.layout.main); >> MapView mapview = (MapView) findViewById(R.id.mapview); >> GeoPoint gp = new GeoPoint(130810,802740); >> MapController mvc = mapview.getController(); >> mvc.setCenter(gp); >> mapview.**setBuiltInZoomControls(true); >> } >> >> @Override >> protected boolean isRouteDisplayed() { >> // TODO Auto-generated method stub >> return false; >> } >> } >> >> main.xml is >> >> <?xml version="1.0" encoding="utf-8"?> >> >> <com.google.android.maps.**MapView >> >> xmlns:android="http://**schemas.android.com/apk/res/<http://schemas.android.com/apk/res/> >> android" >> android:id="@+id/mapview" >> android:layout_width="fill_**parent" >> android:layout_height="fill_**parent" >> android:enabled="true" >> android:clickable="true" >> android:apiKey="Key" >> /> >> >> Manifest file >> >> <?xml version="1.0" encoding="utf-8"?> >> <manifest >> xmlns:android="http://schemas.**android.com/apk/res/android<http://schemas.android.com/apk/res/android>" >> >> package="com.project1" >> android:versionCode="1" >> android:versionName="1.0" > >> >> <uses-sdk android:minSdkVersion="15" /> >> <uses-permission >> android:name="android.**permission.ACCESS_COARSE_**LOCATION"/> >> <uses-permission >> android:name="android.**permission.ACCESS_FINE_**LOCATION"/> >> <uses-permission android:name="android.**permission.INTERNET"/> >> >> >> <application >> android:icon="@drawable/ic_**launcher" >> android:label="@string/app_**name" > >> <activity >> android:name=".**Testmap22Activity" >> android:label="@string/app_**name" > >> <intent-filter> >> <action android:name="android.intent.**action.MAIN" /> >> >> <category >> android:name="android.intent.**category.LAUNCHER" /> >> </intent-filter> >> </activity> >> <uses-library android:name="com.google.**android.maps"/> >> </application> >> >> </manifest> >> >> All I get is a blank blue page with Zoom enabled. Need your help on >> this... >> >> Subbu >> > -- > 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 > -- Thanks & Regards, Sowmya Kukkadapu -- 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

