Lib that watch for signal crashes (SIGSEGV and e.t.c) in special Service (out-of-process) and perform actions after it (ex: Restart Activity).
private val signalHandler = SignalHandler()
//In Activity onCreate
signalHandler.initSignalHandler(
context = this, //For Intent and Service creation only
activityClassName = localClassName, //For restart action
activityPackageName = packageName //For restart action
)
//In Activity onDestroy
signalHandler.deinitSignalHandler(this)
- TestFairy | NDK Playground
- 9majka | NDK Overall presentation in Ukraine
- ivanarh | JNDCrash lib - Signal crash handler
- liyungui | NDK Signal handler example
- Test Fairy | NDK Crash Handling
- Jekton | Android native crash catching
- Yeconglu - Tencent Bugly | Signal Handler Deeply
- IPC using Pipes
- errno | Man - Number of last error
- errno | Example
- errno | RU Descrition
- strerror | Description for error
- Read until pipe is closed
- File Descriptors - Open
- pipe | man
- read | man
- How to use pipe between parent and child process
- Read from a pipe without writing to it
- Pipe is not working correctly in the parent-child process