THANKS FOR REPLY!!!!!!
I HAVE TRIED ALL CLOSING,CLEANING NO WORK.
I THINK I HAVE TO WORK ON HANDLER APPROACH..
AS WELL WHILE WORKING ON PROJECT I AM IN NEED OF "HOW TO USE
LOG/LOGCAT/DDMS".ACTUALLY I AM VERY NEW ON ANDROID.CAN YOU PLEASE SEND SOME
STEPS ON HOW TO USE LOGCAT.EVEN I CANT FIND SUCH DEBUGGING OPTION IN MY
ECLIPSE(MY THICK HEAD[?]).
THANKS


On Tue, Nov 2, 2010 at 6:46 PM, [email protected]
<[email protected]>wrote:

> Please close the currently open application on emulator
>
> On Nov 2, 1:21 pm, Alok Upadhyay <[email protected]> wrote:
> > Hii,
> > i want to display a splash screen followed by my trial.class.I am not
> > getting any error but warning as:
> >
> > Warning: Activity not started, its current task has been brought to
> > the front
> >
> > i have different-2 approches for this each time this warning is being
> > displayed.
> >  public class Splash extends Activity
> > {
> >         @Override
> >         public void onCreate(Bundle savedInstanceState)
> >         {
> >                 super.onCreate(savedInstanceState);
> >                 setContentView(R.layout.splash);
> >                 Thread splashThread = new Thread() {
> >                  @Override
> >                  public void run() {
> >                     try {
> >                        int waited = 0;
> >                        while (waited < 5000) {
> >                           sleep(100);
> >                           waited += 100;
> >                        }
> >                     } catch (InterruptedException e) {
> >                        // do nothing
> >                     } finally {
> >                        finish();
> >                        Intent i = new Intent();
> >                        i.setClass(Splash.this,Trial.class);
> >                        startActivity(i);
> >                     }
> >                  }
> >               };
> >               splashThread.start();
> >            }
> >         }
> > Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Thanks & Regards
Alok Upadhyay
9555758721

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

<<361.gif>>

Reply via email to