Hi all,

I write this code to change screen after some duration so it seems
like a splash but it is not working fin can u help me

public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.splash);
        try
        {
                Log.i("info", "start");
                Thread.sleep(2000);
        }
        catch(Exception exc)
        {
                Log.i("info", "start exception");
        }
        setContentView(R.layout.main);

        initControls();
    }

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to