[android-developers] Re: Itemized overlay and Hellomapview

2009-09-04 Thread sweet
Thanks jed for your help it's near good ^^ I've the mapview but not any ItemizedOverlay I really think i've an error in may NewItemizedOverlay class but i can't fiind it ... NewItemizedOverlay class java: import java.util.ArrayList; import android.graphics.drawable.Drawable; import

[android-developers] Re: Itemized overlay and Hellomapview

2009-09-04 Thread sweet
Thanks for your code but it not work. it's an android1.1, 1.5 or a Google api ? On 3 sep, 15:20, ragavendran s sraghav.ra...@gmail.com wrote: On Thu, Sep 3, 2009 at 1:06 PM, sweet brou...@gmail.com wrote: hello everybody !!! I make the tutorial Hellomapview

[android-developers] Re: Itemized overlay and Hellomapview

2009-09-04 Thread sweet
How you declarate your class ItemizedOverlay in the Manifest ? On 4 sep, 10:57, sweet brou...@gmail.com wrote: Thanks for your code but it not work. it's an android1.1, 1.5 or a Google api ? On 3 sep, 15:20, ragavendran s sraghav.ra...@gmail.com wrote: On Thu, Sep 3, 2009 at 1:06

[android-developers] Re: Itemized overlay and Hellomapview

2009-09-04 Thread Mark Murphy
How you declarate your class ItemizedOverlay in the Manifest ? ItemizedOverlay classes do not go in the manifest -- only the MapActivity that uses them does. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html

[android-developers] Re: Itemized overlay and Hellomapview

2009-09-03 Thread ragavendran s
On Thu, Sep 3, 2009 at 1:06 PM, sweet brou...@gmail.com wrote: hello everybody !!! I make the tutorial Hellomapview (http://developer.android.com/intl/fr/ guide/tutorials/views/hello-mapview.htmlhttp://developer.android.com/intl/fr/%0Aguide/tutorials/views/hello-mapview.html) if anyone have

[android-developers] Re: Itemized overlay

2009-09-03 Thread sweet
I don't understand your correction andrehbleitao... In the tuto i don'tunderstand the step 4 in the last part. I think i should understand this and make what it said for my application work well isn't it ? On 2 sep, 10:43, sweet brou...@gmail.com wrote: Hello ragavendran s and 于洋 thank for your

[android-developers] Re: Itemized overlay and Hellomapview

2009-09-03 Thread Jed
On Sep 3, 12:36 am, sweet brou...@gmail.com wrote: 4. All that's left is for us to add this OverlayItem to our collection in the HelloItemizedOverlay, and add this to the List of Overlay objects retrieved from the MapView: itemizedoverlay.addOverlay(overlayitem);

[android-developers] Re: Itemized overlay

2009-09-02 Thread ragavendran s
First Step :hello Sweet first u ensure that u r marker image is placed in the res/drawable Second Step:Then U extend ur (HelloItemized Overlay)ItemizedOverlay class extends with ItemizedOverlay Third Step: try to Change ur Geo Point(It Should be Between the Range) On Wed, Sep 2, 2009 at 12:31

[android-developers] Re: Itemized overlay

2009-09-02 Thread 于洋
2009/9/2 sweet junkybr...@gmail.com I've a problem with ItemizedOverlay in a mapView. I had folow the tuto HelloMapView in the android developpers website and i can't display the itemized overlay in the bottom of the tuto. I show you my code: mapview java: import java.util.List; import

[android-developers] Re: Itemized overlay

2009-09-02 Thread andrehbleitao
It isn't a NullPointerException?? public void onCreate(Bundle savedInstanceState) { GeoPoint point = new GeoPoint(1924,-9912); OverlayItem overlayitem = new OverlayItem(point, , ); itemizedOverlay.addOverlay(overlayitem); //NULL

[android-developers] Re: Itemized overlay

2009-09-02 Thread sweet
Hello ragavendran s and 于洋 thank for your answers. My marker image is well in the res/drawable, my geopoint is Mexico gps coordonates (like the tuto) and the library of maps was already put in my Manifest. I've done what you says ragavendran s in my ItemizedOverlay class (which i rename to