Did you specify a Maps API key? http://developer.android.com/guide/tutorials/views/hello-mapview.html
http://code.google.com/android/maps-api-signup.html <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:id="@+id/mainlayout" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <com.google.android.maps.MapView android:id="@+id/mapview" android:layout_width="fill_parent" android:layout_height="fill_parent" android:clickable="true" android:apiKey="Your Maps API Key" /> </RelativeLayout> On Aug 20, 7:00 am, Honest <[email protected]> wrote: > Hello jacik ha Thanks for your reply. I read that example and did > according to it. But yet my eclipse is giving error in extending > MapsActivity. The following is my manifiest file code. So can some one > tell me i am using android 1.5 SDK then also why i am not able to use > MapsActivity. > > <?xml version="1.0" encoding="utf-8"?> > <manifest xmlns:android="http://schemas.android.com/apk/res/android" > package="com.devindia.map" > android:versionCode="1" > android:versionName="1.0"> > <application android:icon="@drawable/icon" android:label="@string/ > app_name"> > <activity android:name=".HelloMapView" > 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> > <uses-sdk android:minSdkVersion="3" /> > > <uses-permission android:name="android.permission.INTERNET"></uses- > permission> > </manifest> > > On Aug 19, 8:22 pm, Jack Ha <[email protected]> wrote: > > > > > I would recommend to take a look at the HelloMapView tutorial: > > >http://developer.android.com/guide/tutorials/views/hello-mapview.html > > > -- > > Jack Ha > > Open Source Development Center > > ・T・ ・ ・Mobile・ stick together > > > The views, opinions and statements in this email are those of > > the author solely in their individual capacity, and do not > > necessarily represent those of T-Mobile USA, Inc. > > > On Aug 19, 4:10 am, Honest <[email protected]> wrote: > > > > I could not find MapActity in my android 1.5. > > > > On Aug 19, 12:11 pm, tstanly <[email protected]> wrote: > > > > > if you want to put color on the mapview, > > > > you must use the "overlay" class > > > > search for overlay in the map API > > > > > On 8月19日, 下午2時16分, Honest <[email protected]> wrote: > > > > > > Hello, > > > > > > I want to display my two point on maps. I saw many example but they > > > > > are using MapActivity when i used MapActivity in my sdk which is 1.5. > > > > > it seems it is not available in it. So is it true that it is not > > > > > available in 1.5 API. So is there any other alternative for it. can i > > > > > do it using the following code sniiipt. I can do it for one code > > > > > snippt but i do not know how can i display two point. > > > > > > String uriString = "geo:" + lat > > > > > + "," + longi; > > > > > Intent intent = new Intent > > > > > (android.content.Intent.ACTION_VIEW, > > > > > Uri.parse(uriString)); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

