android - stay a few second on interface and switch automatically to an other interface -


i have interface a.xml , java file a.java , b.java , 2 activity.

i want interface b.xml (contains image)

when opening application want interface b.xml opens , stays 3 seconds , automatically switch interface a.xml

how can it?

thank in advance

you can use these code:

handler handler = new handler(); handler.postdelayed(new runnable() {     public void run() {         intent intent = new intent(activitya.this, activityb.class);         startactivity(intent);     } }, 3000); 

additional links:


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -