You are missing a "." for the android:name attribute:
<activity android:name=".MyActivity"
android:label="@string/app_name">
You app should launch with the Textplay activity. To start the MyActivity from Textplay,
in the Textplay.java:
Intent intent = new Intent("com.example.androidproject.MYACTIVITY");
startActivity(intent);
+++++++ Round 2 +++++++
Try this, create a new Thread in the onCreate(), let it sleep for 5 seconds, then start the MyActivity:
Thread thread = new Thread(){
public void run(){
try {
sleep(5000);
} catch (InterruptedException e) {
e.printStackTrace();
} finally {
Intent intent = new Intent("com.example.androidproject.MYACTIVITY");
startActivity(intent);
}
}
};
thread.start();