xyz.kumaraswamy.activitylistener.aix (5.3 KB)
A simple extension to listen to any activities like (battery, connectivity changed).
(Note: extra values which may contain info may not be passed)
InitialiseListsner: Initialises the listener with the given intent filters.
UnregisterListsner: Stops the listener, double calling the block may result in an error.
ActionRaised: When any activity/intent is received with the action name.
xyz.kumaraswamy.lockinfo.aix (5.1 KB)
Lock info extension to listen to the two events (phone locked and unlocked).
Action: Raised when the phone is locked or unlocked with the boolean (true/false) value.
The Extension is a solution to a question here → Do a Specific Task After Screen Unlock