[android-developers] Animating markers on Google Maps V2

2013-02-14 Thread Maksim Golivkin


I am working on a map centered game where I track locations of people and 
display them on the map for each other to see. As people move, I want to 
animate a marker from his current to his latest position. Every person has 
a direction, so I need to rotate marker appropriately.

What is the best way to do it using the new Google Maps API v2?

More expanded version:

New API has solutions for a) moving the camera using CameraUpdate and such 
b) moving a marker to a different position, by simply using 
Market.setPosition .  However, changing an icon of the marker (I would show 
rotated image along the direction of the movement) doesn't work. It seems, 
one needs to clear all the markers from the map to make the icon change. Is 
there any better way to do it?

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Is android.permissions.FLASHLIGHT required to use Camera Flash?

2012-09-06 Thread Maksim Golivkin
For instance, cardio library https://www.card.io/ library uses camera 
flash, but doesn't require this permission.

I have test app using camera flash w/o this permission on Galaxy S2 (4.03) 
and Nexus One (2.3.6) and it went smoothly.

Does anybody has any experience with situations where you need 
android.permissions.FLASHLIGHT? What is it used for?

Thanks,
Maksim

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en