[android-developers] how to update currentlocation and path on map every 10 secs?

2011-06-12 Thread Hitendrasinh Gohil
Hi, I m able to draw path between two points and current location on map.But there is need to update it every 10 secs. i am following below link. http://android-codes-examples.blogspot.com/2011/04/google-map-example-in-android-with-info.html how can i do that? -- You received this message

Re: [android-developers] how to update currentlocation and path on map every 10 secs?

2011-06-12 Thread Hitendrasinh Gohil
is there antone who can help me? On Sun, Jun 12, 2011 at 2:47 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: Hi, I m able to draw path between two points and current location on map.But there is need to update it every 10 secs. i am following below link.

Re: [android-developers] how to update currentlocation and path on map every 10 secs?

2011-06-12 Thread TreKing
On Sun, Jun 12, 2011 at 4:17 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: But there is need to update it every 10 secs. So schedule your update code to run every 10 seconds. There are plenty of examples out there on scheduling actions to run. There is even a timer example in

Re: [android-developers] how to update currentlocation and path on map every 10 secs?

2011-06-12 Thread Hitendrasinh Gohil
Hi, I found one way ,that i m invalidating mapview on locationchanged so that the path and currentlocation on map is updated. Is it rightway? On Sun, Jun 12, 2011 at 9:38 AM, TreKing treking...@gmail.com wrote: On Sun, Jun 12, 2011 at 4:17 AM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com

Re: [android-developers] how to update currentlocation and path on map every 10 secs?

2011-06-12 Thread TreKing
On Sun, Jun 12, 2011 at 10:25 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: I found one way ,that i m invalidating mapview on locationchanged so that the path and currentlocation on map is updated. Is it rightway? Given how little the rest of know about your app, all I can say

Re: [android-developers] how to update currentlocation and path on map every 10 secs?

2011-06-12 Thread Hitendrasinh Gohil
Hi treking, i m following this link http://android-codes-examples.blogspot.com/2011/04/google-map-example-in-android-with-info.htmland have implemented locationlistner in mapview class and from there i m invalidating the mapview.(Mapview is define static in LocationViewer class). On Sun, Jun 12,

Re: [android-developers] how to update currentlocation and path on map every 10 secs?

2011-06-12 Thread TreKing
On Sun, Jun 12, 2011 at 10:34 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: i m following this link http://android-codes-examples.blogspot.com/2011/04/google-map-example-in-android-with-info.htmland have implemented locationlistner in mapview class and from there i m

Re: [android-developers] how to update currentlocation and path on map every 10 secs?

2011-06-12 Thread Hitendrasinh Gohil
Hi treking, thankx a lot. On Sun, Jun 12, 2011 at 9:05 PM, TreKing treking...@gmail.com wrote: On Sun, Jun 12, 2011 at 10:34 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: i m following this link