Delay jump of Android page
•
Android
When android app is used for the first time, the home page logo of the app often appears, and then enter the navigation page a few seconds later. Today, I will record two methods of delayed jump of the home page:
The first method is to use the handler to delay jump, and add the following code to the oncreate method:
The second method is to use Java's timed jump (timer method):
Note that after adding this method, don't forget to configure it in androidmanifest.xml
Finally, run it
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码