IntentFilterInfo : BroadcastReceiver

IntentFilterInfo

You can receive events from Intent like user press airplane mode button , is user listening any song , get current playing song track info

component_method

RegisterReceiver: filter add list of intent and setString to get data from intent

component_method (1)

UnregisterReceiver: stop receiving events

component_event (2)

OnGet: This will return a list of data receive from intent

component_event (3)

OnError: This block will trigger if an error occurs.

Demo

For example: we can get the current playing song

results

Download:
com.Shreya.IntentFilterInfo.aix (5.3 KB)
IntentFilter_demo.aia (7.9 KB)

Support

If you liked my work, you can support me - paypal.me

14 Likes

Thank you so much !

Is it similar to this ? Or any difference ?
https://community.kodular.io/t/activity-lock-listener/135567/12

his extension can return action only not extra values and my extension can return extra values from intent.

For example user listening music in spotify app with these intent com.spotify.music.playbackstatechanged
com.spotify.music.metadatachanged
com.spotify.music.queuechanged
you can get the music info like artist name , music name & track info etc from spotify app

Nice work @Shreyaa :+1:

1 Like

@oseamiya thank you so much! :blush:

How can i use this extension to get information about the current TV channel like program title, start time and end time
I already make an application for android satellite receiver to show movie subtitle with live TV
What i want when the user open my application the application import the data of the current TV channel to help the user to search the subtitle file and synchronize the subtitle file with the movie