Hi all,

This is my code

@Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        View mview = new View(this);
        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();
    }
I am using setcontent view two times before sleep call and after that but
this is not working fine. I design a screen to show it as splash screen it
is not displaying can anybody tell how to do this.

With Regards
arv

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