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 [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