a progress bar in the splash screen

0 ahmedtarek mahmoud · March 9, 2015
please i want to make a loading bar when the programme first opens how c that is all i did/images/forum/upload/2015-03-09/97f0f72aab9ee4c0681dd41344716cc5.pngould i do that ?? 

Post a Reply


Oldest  Newest  Rating
0 Branislav Lazic · March 9, 2015
As in any singlethreaded UI toolkit, you use utility class that spawns thread for background task. In case of Android it's AsyncTask.
So, you display loading bar, you start your long running background task on background thread. When background task is done, you hide loading bar.
  • 1

Java / Android Development


Very popular language used to create desktop applications, website applets, and Android apps.

Bucky Roberts Administrator