What are splash screens and where can they be used?
نوشته شده توسط : dotnek

it refers to the main page of the application, to these logos and pages that reject the beginning of the path. Application applications are displayed called splash screens . Splash screens are actually a page that is displayed to users for a certain period of time at the beginning of launching applications, which includes the logo for the application , the manufacturer or ... This page is actually an activity that includes a special logo or emblem that is displayed for advertising and introduction to users at the beginning of launching the application and is also determined for this activity to be displayed for a certain period of time and then disappear and go to the main page Transfer the application.

What are splash screens?

In fact, splash screens are pages or activities that appear for a while after launching an application and can even include an audio file. It is better to choose the audio file and video file to be placed on the splash screen to be relevant to your wishes. You can do ads and introductions in the splash screen and put them in the view of users so that users can see them.

How to create splash screens

1- Create a new project with API 10 and choose the name SplashScreen as desired.2- The activity used in this training is Empty Activity.3- After creating the project, our project has an activity called MainActivity. We need to create another activity and assign one of them to the splash screen.4- We create a new activity and assign it to the splash screen; we also assign the MainActivity to the main page of the application.5- We create a new activity of Empty Activity type called SplashActivity, which is the desired name.6- Java class and active xml file are added to the project.7- In order to be able to create a splash screen to be displayed to users on the first page for a while when launching the application, we must use the Handler class.8- We update the Handler class.9- The class must be imported.10- To determine the stop time, we use the postDelayed method.11- The first parameter of this method is Runnable and the second parameter is the desired time, each of which must be entered in milliseconds.12- New Runnable and select the first option, by doing this, Android Studio will automatically create the run method.13- The code that should be in the SplashScreen.java class is as follows: 

Read more on:https://www.dotnek.com/Blog/Apps/what-are-splash-screens-and-where-can-they-be

link:Search engine Optimization (SEO services)

Related link:https://dotnek.mystrikingly.com/





:: بازدید از این مطلب : 184
|
امتیاز مطلب : 0
|
تعداد امتیازدهندگان : 0
|
مجموع امتیاز : 0
تاریخ انتشار : دو شنبه 18 مرداد 1400 | نظرات ()
مطالب مرتبط با این پست
لیست
می توانید دیدگاه خود را بنویسید


نام
آدرس ایمیل
وب سایت/بلاگ
:) :( ;) :D
;)) :X :? :P
:* =(( :O };-
:B /:) =DD :S
-) :-(( :-| :-))
نظر خصوصی

 کد را وارد نمایید:

آپلود عکس دلخواه: