i am writing code to play a small size tone on starting of my app. can you please explain the meaning of the code which i have written down here?
Log.i("MY IIIT APP","MY SPLASH STATED");
mp=MediaPlayer.create(this, R.drawable.tone);
mp.start();
Thread t=new Thread()
{
public void run() {
try{
sleep(3000);
Intent i=
new Intent(MainActivity.this,JumpedTo.class);
startActivity(i);
}
catch(Exception e)
{
}
}
};
t.start();
}