I’m developing an android application and I want to put a default picture. This is common in iPhone apps; when the app starts, it shows the name of the developer and the name of the application (for example) with an image.
I think that is possible because apps like Facebook have these default screens before the application starts. How can I implement these?
In your
onCreate()method of your launch activity, try this:Your
main.xmlcan be as follows:This will display the
welcomescreenpicturefor 5 seconds when the application launches.