detecting app reopen/focus when coming back from multitasking

detecting app reopen/focus when coming back from multitasking

how can i check if the app (phonegap or safari) is coming back from multitasking background state. can i force jqm to refresh or show the main index.html?

thanxs
markus