I swear I just answered this exact same question for you about a half an
hour ago....

----------------------------------------------------------------------
There are only 10 types of people in the world...
Those who know binary and those who don't.
----------------------------------------------------------------------


On Fri, Mar 19, 2010 at 5:54 AM, arvind awasthi <[email protected]> wrote:

> 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]<android-beginners%[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.
>

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