[android-beginners] Re: ArrayIndexOutOfBoundsException in maps API

2009-10-01 Thread Tony Wong
I'm not sure if you've found your solution yet, but what solved it for me was calling setLastFocusedIndex(-1) before populate(). Check out these posts for more discussion on the topic: http://www.anddev.org/viewtopic.php?p=26461

[android-beginners] Re: ArrayIndexOutOfBoundsException in maps API

2009-09-09 Thread Zied Hamdi
Hi Aracos, Thanks for your answer and sorry for this late reply. I only invalidate the MapView, which will surely call populate() on each overlay (i suppose). The odd thing is that having an empty overlay which suppose just adds a decoration besides the fact of showing items, should be legal...

[android-beginners] Re: ArrayIndexOutOfBoundsException in maps API

2009-08-11 Thread Aracos
Hi Zied Hamdi, did you call the populate method after adding your Overlays? thats what caused this exception for me, Regards, Aracos On Aug 10, 4:38 pm, Zied Hamdi zhamdi.i...@gmail.com wrote: Hi, I'm realy frustrated to see this error without being able to see what's happening in