[android-developers] Re: Rotate MapView for Android?

2011-07-14 Thread gjs
Hi, Search in this forum, it has been answered before. Regards On Jul 13, 4:37 pm, ibrahim yıldırım ibobis...@gmail.com wrote: i am writing an Android app.this application= Works with GPS and map.it shows the location of.the light leaves.==.mapView.getController().animateTo(myLocation); you,

[android-developers] Re: Rotate MapView

2009-01-07 Thread Rohit Ghatol
Hi Everyone, I found one example of the same here http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/MapViewCompassDemo.html However, as we rotate the mapview, the way we move the map also changes. For example things work fine when the cell phone is pointing

[android-developers] Re: Rotate MapView

2009-01-02 Thread Rohit Ghatol
I tried this, but it did not work Here is my code, can some one help me with this package com.rohit.test; import android.content.Context; import android.graphics.Canvas; import android.hardware.SensorListener; import android.hardware.SensorManager; import android.os.Bundle; import

[android-developers] Re: Rotate MapView

2008-12-16 Thread David C
I just received this response: Override a ViewGroup and apply the rotation in dispatchDraw(). Thanks Romain! On Dec 8, 12:43 pm, David C da...@scotinus.com wrote: Bump  can anyone provide insight here? Did the MapView onDraw() API change to final at some point? If the recommended

[android-developers] Re: Rotate MapView

2008-12-08 Thread David C
Bump can anyone provide insight here? Did the MapView onDraw() API change to final at some point? If the recommended method to rotate a MapView is canvas.rotate() how can that be achieved if not via onDraw()? Personally I'd prefer to see the MapView API extended to support setBearing() or