I need an event to watch if the root accessibility is taken or not on android device.
I did without using eventlistener. This program stores the root access information on SQLite database. In some period, it checks the current root access info and stored root access info. If it is changed, it gives warning. But i want to give warning as soon as the root access info changed, not in some period.
How can i do that? Is custom event listener works for that? I need recommendation for the best way.