In .NET you have System.Timers.Timer and System.Diagnostics.Stopwatch. I
don't know what else do you need? Maybe a call to View.Invalidate() to
force a refresh of your View. Or PostInvalidate() if you are in another
thread.

On Fri, Jun 1, 2012 at 2:34 PM, Saeid Yazdani <s.yazd...@live.com> wrote:

> Dear Freinds!
>
> I am working on a android program to receive data from a microcontroller
> through wifi to draw data points over time.
>
> I have set up a simple View and also I managed to connect to WiFi module on
> the microcontroller using sockets, now I really need to know what should I
> do to reterive data based on a time interval. For example I want to get the
> data from the microcontroller every 100 ms and update the View on android
> (Adding points to the graph).
>
> Any kind of help and code samples will be really appriciated.
>
> Regards,
> Saeid.
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Updating-a-View-using-a-Timer-tp5710118.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>



-- 
Regards,
Gpe
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to