[Solved] Friends Can any one explain this code [closed]


If you have Read CODE little more carefully……..You could understood by your own..because there is comments defined there for understanding that code…………

Though,below there is description for the code …

Its A Activity For Creating SPLASH SCREEN………….

IT uses Handler which runs after specified time Defined In.. SPLASH_TIME_OUT

There is

1000 = 1 Sec;

So if you have defined 3000 value to SPLASH_TIME_OUT , new Activity which is MainActivity.class will open after 3 seconds….

Intent is used here to start new Activity after specified time….with the help of startActivity(intentobject);

and current activity (SplashScreen.this) will be closed because of finish() method…

0

solved Friends Can any one explain this code [closed]