Reputation: 5590
I'd like to know how you can find a specific "action" to make your own "BroadcastReceivers" from your manifest file.
There is a list of the action that I can add on "intent-filter" for my BroadcastReceiver?
For example:
<receiver android:name=".Receiver_01_OnSettingChange">
<intent-filter>
<action android:name="android.net.wifi.WIFI_STATE_CHANGED"/>
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
<action android:name="android.bluetooth.adapter.action.STATE_CHANGED" />
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.location.PROVIDERS_CHANGED" />
</intent-filter>
</receiver>
Where I can find the list of the others action related to the other setting states?
Many thanks
Upvotes: 3
Views: 4821
Reputation: 9914
PackageExplorer lists all intent-filters defined in apps in your device.More information can be had from this link
Android -- How to get a list of all available intent filters ?
Using java method , you can read androidmanifest xml to binary format.Then you can write to a text file.The below link talka about that.
How to parse the AndroidManifest.xml file inside an .apk package
Hope this will help you.
Upvotes: 4