I'd like the system to trigger my pendingIntent when the phone is off hook on Android devices, is this possible ? I would use the pendingIntent with an IntentService to do some work off the main thread. This would be a battery saver for the end user.
Its very similar to how you can pass a pendingIntent to the AlarmManager, I'd like to pass one to the system and let it trigger when it encounters an incoming call.