Man thanks a lot. When i changed the android:layout_height to wrap_content it started showing some white stuff. Then i changed the manifest file as you suggested and then i could get the google map working in place of white space. I guess it shows white space when the application can not access internet.
Thanks again Abhishek :) On Tue, Nov 30, 2010 at 12:18 PM, Sarwar Erfan <erfanonl...@gmail.com>wrote: > Hi Abhishek, > > Perform following two steps to fix: > > > Step 1: Place the "uses-permission" tags in correct place: > ========================================== > You currently placed them under application tag. But, they should go > under menifest tag. > Your menifest: > -------------------- > </activity> > <uses-permission > android:name="android.permission.ACCESS_FINE_LOCATION" /> > <uses-permission > android:name="android.permission.ACCESS_COARSE_LOCATION" /> > <uses-permission android:name="android.permission.INTERNET" /> > </application> > <uses-sdk android:minSdkVersion="7" /> > </manifest> > > Correct menifest: > ------------------------ > </activity> > </application> > <uses-permission > android:name="android.permission.ACCESS_FINE_LOCATION" /> > <uses-permission > android:name="android.permission.ACCESS_COARSE_LOCATION" /> > <uses-permission android:name="android.permission.INTERNET" /> > <uses-sdk android:minSdkVersion="7" /> > </manifest> > > > > Step 2: Fix your xml layout: set height="wrap_content" instead of > "fill_parent" of the layout that contains the buttons > > ==================================================================================== > Your layout: > ---------------- > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > android" > android:orientation="horizontal" > android:layout_width="fill_parent" > android:layout_height="fill_parent"> > <Button android:id="@+id/zoomin" > android:text="+" > > > Correct layout: > --------------------- > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ > android" > android:orientation="horizontal" > android:layout_width="fill_parent" > android:layout_height="wrap_content"> > <Button android:id="@+id/zoomin" > android:text="+" > > > > Thats all > > Your map should come up. > > I assumed that you got your api key in proper way. > > Also, I request to describe what exactly is the problem you facing, > not just copy paste some code. > > > Regards > Sarwar Erfan > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en