is Invalidate() causes taking more time ?

by manoj » Sat, 05 Sep 2009 17:55:20 GMT


Sponsored Links
 Hi friends,

I am trying an app (just like a karaoke) which has some predefined set
of lines on the canvas.

After some time I will redraw the strings of each line on the canvas
with another color using Timer.schedule() function.

But the redrawn strings are painted more time than the given time in
schedule () ( just my guess).

I am using postInvalidate() function in my app.

How can I sync lyrics with exact timings?

Thanks,
Manoj.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. binding images from assets to a simpleCursorAdapter



You can try file:///android_asset/ as a prefix.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training in US: 11-15 January 2010: http://onlc.com

-- 

2. binding images from assets to a simpleCursorAdapter

Hello,

I was poking around in the documentation for the simpleCursorAdapter
and I read that if the simpleCursorAdapter doesn't identify your
images as resources it will assume they are URIs.  My question is how
do i retrieve the URI for an image placed into the asset folder of my
application?

-- 

3. binding images from assets to a simpleCursorAdapter

4. binding images from assets to a simpleCursorAdapter

5. Raw Audio Capture?

6. Looking for "bar" of button toggles (c.f. Google Maps car/transit/walk directions button)

7. Problems with EGL_CONTEXT_LOST