android - Determining if process has died? -


is there way determine whether process has died? have system service stores information on each client connects it. when process hosting client dies, clean cache. i've searched on google seems not possible :(

one solution came across using binder's linktodeath, design not mesh current design. there alternative ?

thanks

the state of thread can determine using isalive() method thread, or use getstate() determine thread state more precisely.

binder has method isbinderalive(), didn't use can't add uncovered in officical docs.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -