Xoma
(Kumaraswamy)
August 1, 2021, 5:28am
#1
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
15 Likes
Really helpful extension @Xoma amazing
Another simple and valuable extension from @Xoma
Xoma
(Kumaraswamy)
August 1, 2021, 12:30pm
#7
sergii:
full list please add)
You can find them from Android Docs!
I don’t know why you linked to the app inventor topic because it’s not related
Nope, that’s not possible with the extension.
Shreyaa
(shreya )
August 1, 2021, 12:40pm
#8
is there any extension is made by someone ??? i google it but didn’t any thing
How can an extension be so simple and still so much useful?
Thanks once again Xoma for your great contribution.
You are certainly in the way to the top of best contributors of app inventor and Kodular community.
1 Like
Jinx
(Jinx)
August 3, 2021, 4:27am
#11
@Xoma Thanks i was just searching for this
EzequielE
(Ezequiel)
November 3, 2024, 9:23pm
#12
Does this extension allow me to hear music control activities such as play and pause from the headphones?