http://developer.android.com/reference/android/os/Handler.html

focus on the postDelayed method ;-)

Cheers!
Glen

On Fri, Jun 24, 2011 at 6:12 PM, david.chhang <david.chh...@gmail.com>wrote:

> Hello !
>
> I want to make a loading screen, so I follow a java tutorial but I don't
> know how can I use thread with Monodroid. This is the java code :
>
> private void traitementDesDonnees()
>        {
>            new System.Threading.Thread(new Runnable(){
>                public override void run(){
>                    // Boucle de 1 a 10
>                    for (int i = 0; i < 10; i++)
>                    {
>                        try
>                        {
>                            // Attends 500 millisecondes
>                            System.Threading.Thread.Sleep(500);
>                        }
>                        catch (Exception e)
>                        {}
>                    }
>                }
>            }
>        }
>
> Apparently, it doesn't recognize Runnable()...
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Make-loading-screen-tp4520263p4520263.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
>



-- 
Glen Hassell
Inner Technique
http://innertech.com.au/
Office: 03 9687 0006
Mobile: +61 (0) 438 340 385
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to