jQuery Mobile doesn't know anything about "applications". It's not a concept in JQM.
If you are using PhoneGap, etc., to make a native application, then you can use PhoneGap (or whatever native framework you are using) to get a callback on application close.