Can I wait until my all services stops? I try to make a splashscreen in my android application and I want it to wait until all my services stopped.
ActivityManager manager = (ActivityManager) this
.getSystemService(ACTIVITY_SERVICE);
for (RunningServiceInfo service : manager
.getRunningServices(Integer.MAX_VALUE)){
}
I try this example of code...My problem is that I do not know how to continuously checking this in my splashscreen activity. Or maybe it is not a good solution.