sudheer wrote:
> I have the same problem.I made all mentioned changes to
> androidmanifest.xml.
> here is my manifest file
> 
> ?xml version="1.0" encoding="utf-8"?>
> <manifest xmlns:android="http://schemas.android.com/apk/res/android";
>     package="BuddyProj.BuddyPack">
>     <uses-permission
> android:name="android.permission.ACCESS_COARSE_LOCATION"
> />
>    <uses-permission android:name="android.permission.INTERNET" /
>     <application android:icon="@drawable/icon" android:label="@string/
> app_name">
>         <activity android:name=".BuddyApp" android:label="@string/
> app_name">
>         <uses-library android:name="com.google.android.maps" />
>             <intent-filter>
>                 <action android:name="android.intent.action.MAIN" />
>                 <category
> android:name="android.intent.category.LAUNCHER" />
>             </intent-filter>
>         </activity>
>     </application>
> </manifest>

AFAIK, your <uses-library> should be inside <application> but not inside 
<activity>.

To get a working map application source code, visit:

http://commonsware.com/Android/

and click on the Source Code link in the Version 1.2 tab. That's the 
source code to the samples in my book -- the Maps/NooYawk project shows 
an activity using MapView.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.2 Published!

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

Reply via email to