See http://code.google.com/p/floatingimage/ for an example of how to animate rotation... basically, this project overrides the rotation and, when you are looking at an image and rotate the phone, it constantly rotates... there is no rotation lifecycle in this app as far as I can tell.
Android Workz On Aug 24, 3:28 am, xiao ling <[email protected]> wrote: > I'm researching the source code, and I wanna implement an animation for > default screen rotation. I just need some help. > > On Tue, Aug 24, 2010 at 3:12 PM, Dianne Hackborn <[email protected]>wrote: > > > > > What do you mean forbid? The standard platform doesn't have one > > implemented. This is not something that is accessible for apps, so not > > relevant for this group. > > > On Mon, Aug 23, 2010 at 8:12 PM, Xiao <[email protected]> wrote: > > >> I'm reading the android source code, and wanna make orientation > >> animation. I've found that when I rotate the screen, the code will be > >> executed to public boolean setRotationUncheckedLocked(int rotation, > >> int animFlags){}, in which there's a line > >> startFreezingDisplayLocked(). If this method works, there's no > >> animation when I rotate the screen. Thus, I wanna know whether Google > >> forbid orientation animation on purpose, and if I wanna make an > >> animation, whether just use stopFreezingDisplayLocked() instead? > >> Thanks a lot. > > >> -- > >> You received this message because you are subscribed to the Google > >> Groups "Android Developers" group. > >> To post to this group, send email to [email protected] > >> To unsubscribe from this group, send email to > >> [email protected]<android-developers%[email protected]> > >> For more options, visit this group at > >>http://groups.google.com/group/android-developers?hl=en > > > -- > > Dianne Hackborn > > Android framework engineer > > [email protected] > > > Note: please don't send private questions to me, as I don't have time to > > provide private support, and so won't reply to such e-mails. All such > > questions should be posted on public forums, where I and others can see and > > answer them. > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected]<android-developers%[email protected]> > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en > > -- > Xiao Ling -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

