RotateAnimation - Stopping and starting again after every rotation

by Nithin » Mon, 29 Mar 2010 16:09:59 GMT

Sponsored Links

I am rotating a view using rotateAnimation with this code
new RotateAnimation(0, 360, w / 2, h / 2);
I want to rotate this view infinitely, so i put

But the problem is after every one complete rotation, its stopping and
starting again, means by default rotateAnimation have
AccelerateDecelerateInterpolator(). I feel because of this. So if i
put setInterpolator(null), its throwing null pointer exception. How to
solve this.

I want to rotate my view without any lag.



Other Threads

1. I failed to install ADT-0.3.3 !

Dear All !

I downloaded ADT 0.3.3 to install Android Plugin with m3-rc37 to run
my application written in this version.

On Eclipse, I chose Help-->Software Updates-->Find and Install-->click
"search for new feature to install"-->New Local Side-->then point to
the ADT 0.3.3 folder after unzip-->then click ok (Android Plugin has
been checked)

The error is : "No features found on the selected site(s). Choose a
different site or site category"

I guess I followed the SDK installation instruction well. I success to
install once longtime ago but then remove it. Now I want to take it
again but I found this error.

Thank you for your help !

2. 26 cent simulated touch screen - Who has a good graphical feedback interface?


It is obvious for an inexpensive hand held device that a 26 cent
accelerometer can behave as an edge sensitive touch screen with the
addition of soft keys along each edge. Think "label each edge and have
a translucent ball bearing that the user 'rolls' toward a key to press
it." The ball bearing returns to center automatically when the rate of
change of the angle of the acceleration vector is below some threshold
and you're ready for the next key.

Kids can text with multiple strokes of 8 keys mostly because they get
feedback from when they have the desired letter - so with feedback
this will work very well. My best guess and current direction is soft
keys arranged around the edge of the screen like the face of clock
with 10 being '0', 11 being '*' and 12 being "#''.

What are you guys using?

This is touch screen like if the phone has a hard bump on the back of
the case right behind the screen and soft bumps under the edges. After
you learn with the phone on the desk you can learn to move the phone
like that without the desk present.

Some have said, yes, this is an obvious idea, but a stupid one...
Anyway how are others doing this for inexpensive phone applications.


3. Will Android allow phones to act as USB hosts?

4. installing eclipse.

5. How to know the id or tag of the album name,movie name,artist name, the mp3 files in the emulator?

6. Looking for an Android compatible device on the cheap. Is this one?

7. Creating a library (jar) with custom components (resources, views, etc)