Showing many points at map

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Showing many points at map

Postby antonioxerez » Mon Mar 21, 2011 9:37 pm

Hi everybody ! My name is Antonio, i am an student from Spain, and i want to make an Android Project and i need you.
I had been reading many posts in many forums about showing points on google maps, but, mixing code from developer.google(http://developer.android.com/resources/ ... pview.html) and from forums did not result as i expected.
My app connects to a "central server" and this central server sends to my app every 5 secs an ArrayList with 10 points (obviosusly with their coordinates latittude and longitude).
I want my app to show that points.
I achieved the app shows my location ONLY, i can't show more points... Im getting crazy ...
Please , probably, with a simple example ... or a code ... Thank you very much.

Hola gente! Primero me presento, me llamo Antonio y soy estudiante de último curso de Ing. Informática y como PFC quiero hacer una aplicación en Android, y necesito ayuda.
Tras leer varios foros e ir mezclando trozos de código de developer.android.com con trozos de estos foros no tengo cohone de hacer lo q qiero.
Mi app se conecta a un servidor central y éste le envía cada 5 segundos un ArrayList con 10 puntos (con su latitud y longitud) y quiero que la aplicación muestre esos puntos ... aunque sea que muestre los primeros 10 puntos ... pero es q no soy capaz nada más de q m muestre mi posición ...
Probablemente con un código de ejemplo bien comentado o algo ... podré desarrollarlo.
Muchas Gracias.
antonioxerez
Freshman
Freshman
 
Posts: 8
Joined: Mon Mar 21, 2011 9:26 pm

Top

Re: Showing many points at map

Postby antonioxerez » Fri Mar 25, 2011 10:16 am

Got it ! I don't know why, but from a thread i can't call one method called "showMap()", (the app crash) but i can call the handler (handler.sendemptymessage(x)) and the handler calls the showMap()
Anyway, i have other doubt, but i'm gonna open other Post !
Thank u anyways friends !
antonioxerez
Freshman
Freshman
 
Posts: 8
Joined: Mon Mar 21, 2011 9:26 pm

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 2 guests