There is absolutely no reason to use SurfaceView to achieve 10fps.  Or even
60fps in many cases.

On Thu, Sep 29, 2011 at 6:00 PM, gjs <garyjamessi...@gmail.com> wrote:

> Hi,
>
> Have a look at SurfaceView, Surface Holder see
> http://developer.android.com/guide/topics/graphics/index.html
>
> Regards
>
>
>
> On Sep 30, 7:08 am, Peter <ptr...@gmail.com> wrote:
> > Folks,
> >
> > In my application, I need to display a line chart with some real-time
> > data. The chart needs to be updated 10 times within a second. To the
> > user, it should appear as if the line is scrolling to the left of the
> > screen. New data gets displayed to the right.
> >
> > I am trying to understand the best way to accomplish this under
> > Android. On each tick, do I simply redraw the canvas or is there a
> > better way?
> >
> > I would appreciate any thoughts/ideas that  you may have.
> >
> > Thank you in advance for your help.
> >
> > Regards,
> > Peter
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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 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

Reply via email to