Sorry to bring back an old thread, but would anyone know how to perform this in the Lollipop OS for different clock applications?
I note in the code what seems to be the packagename for the default clock. I tried substituting the package name for Smart Alarm clock and got an error.
my attempt from a rooted shell was:
sqlite3 /data/data/jp.tanyu.SmartAlarm/databases/alarm.db 'DELETE FROM alarm'
This failed and gave me an 'error 127'
does anyone know if its possible to code an alarm delete (not cancel) for other than the stock clock?
Thank you