Problem is not yet resolved :(
I'm able to draw my bitmaps in a continuous path, but the rendering is
very slow.
I am taking history points of a motion event into account but these
also do not give me all the points. I'm introducing more points if the
distance between 2 history points is greater
Historical data for motion events helped! Thank you Blake!
On Sep 19, 9:05 am, loril...@gmail.com loril...@gmail.com wrote:
Will it not just move the element as I move my finger on the screen. I
want to draw the element at all positions where my finger has touched
so that I can see a
If you look at the sample code in the Google documents you'll see that
motion events have history. You'll need to use it to get a smooth
trace
-Blake
Programming Android, FTW
On Sep 18, 5:20 am, loril...@gmail.com loril...@gmail.com wrote:
I want to let a user smoothly draw elements with his
You don't need the history to do smooth tracking. The history gives you all
of the points between this in the last motion event... but when tracking
you always want to show your object at the most recent reported position, so
the history is irrelevant.
The problem with the code is that it is
Will it not just move the element as I move my finger on the screen. I
want to draw the element at all positions where my finger has touched
so that I can see a continuous drawing.
Let me know if I have misunderstood.
On Sep 19, 3:03 am, Dianne Hackborn hack...@android.com wrote:
You don't need
5 matches
Mail list logo