[android-developers] Lat/long coord to pixel screen XY coord without showing MapView

2011-01-14 Thread Machete
Hi guys, I need to convert the lat/long coord to pixel xy coord to show a dot on the top of some image, I know I can use the following code inside MapView to do that conversion: mapView.getProjection().toPixels(location.getPoint(), screenCoords); int x=screenCoords.x; int y=screenCoords.y;

[android-developers] Re: Lat/long coord to pixel screen XY coord without showing MapView

2011-01-26 Thread Machete
Hi Hari and Treking, thanks for the msgs, I get the idea, I will try to do it and post here the code. thanks On Jan 14, 8:03 pm, TreKing treking...@gmail.com wrote: On Fri, Jan 14, 2011 at 1:51 PM, Hari Edo hari@gmail.com wrote:  (1) there's no way to know the X Y on the screen from the