How to detect resume from sleep


#1

Does anyone know how to detect resume (from sleep), this is very important, because the app takes 3-5 seconds to load (and normally shows a white or black screen).