web-dev-qa-db-fra.com

Où est la liste d'intention de diffusion tout Android

Je souhaite recevoir les messages diffusés sur Android. Y a-t-il une liste de toutes les intentions?

65
batfree

J'ai trouvé la liste des intentions de diffusion. Il peut être situé sous sdks (ou Android-sdks) /platforms//data/broadcast_actions.txt.

Je vous remercie. 

95
batfree

Pour le niveau 16 de l'API (ICS), voici la liste:

Android.app.action.ACTION_PASSWORD_CHANGED
Android.app.action.ACTION_PASSWORD_EXPIRING
Android.app.action.ACTION_PASSWORD_FAILED
Android.app.action.ACTION_PASSWORD_SUCCEEDED
Android.app.action.DEVICE_ADMIN_DISABLED
Android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED
Android.app.action.DEVICE_ADMIN_ENABLED
Android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED
Android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED
Android.bluetooth.adapter.action.DISCOVERY_FINISHED
Android.bluetooth.adapter.action.DISCOVERY_STARTED
Android.bluetooth.adapter.action.LOCAL_NAME_CHANGED
Android.bluetooth.adapter.action.SCAN_MODE_CHANGED
Android.bluetooth.adapter.action.STATE_CHANGED
Android.bluetooth.device.action.ACL_CONNECTED
Android.bluetooth.device.action.ACL_DISCONNECTED
Android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED
Android.bluetooth.device.action.BOND_STATE_CHANGED
Android.bluetooth.device.action.CLASS_CHANGED
Android.bluetooth.device.action.FOUND
Android.bluetooth.device.action.NAME_CHANGED
Android.bluetooth.device.action.UUID
Android.bluetooth.devicepicker.action.DEVICE_SELECTED
Android.bluetooth.devicepicker.action.LAUNCH
Android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT
Android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED
Android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED
Android.hardware.action.NEW_PICTURE
Android.hardware.action.NEW_VIDEO
Android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS
Android.intent.action.ACTION_POWER_CONNECTED
Android.intent.action.ACTION_POWER_DISCONNECTED
Android.intent.action.ACTION_SHUTDOWN
Android.intent.action.AIRPLANE_MODE
Android.intent.action.BATTERY_CHANGED
Android.intent.action.BATTERY_LOW
Android.intent.action.BATTERY_OKAY
Android.intent.action.BOOT_COMPLETED
Android.intent.action.CAMERA_BUTTON
Android.intent.action.CONFIGURATION_CHANGED
Android.intent.action.DATA_SMS_RECEIVED
Android.intent.action.DATE_CHANGED
Android.intent.action.DEVICE_STORAGE_LOW
Android.intent.action.DEVICE_STORAGE_OK
Android.intent.action.DOCK_EVENT
Android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE
Android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE
Android.intent.action.FETCH_VOICEMAIL
Android.intent.action.GTALK_CONNECTED
Android.intent.action.GTALK_DISCONNECTED
Android.intent.action.HEADSET_PLUG
Android.intent.action.INPUT_METHOD_CHANGED
Android.intent.action.LOCALE_CHANGED
Android.intent.action.MANAGE_PACKAGE_STORAGE
Android.intent.action.MEDIA_BAD_REMOVAL
Android.intent.action.MEDIA_BUTTON
Android.intent.action.MEDIA_CHECKING
Android.intent.action.MEDIA_EJECT
Android.intent.action.MEDIA_MOUNTED
Android.intent.action.MEDIA_NOFS
Android.intent.action.MEDIA_REMOVED
Android.intent.action.MEDIA_SCANNER_FINISHED
Android.intent.action.MEDIA_SCANNER_SCAN_FILE
Android.intent.action.MEDIA_SCANNER_STARTED
Android.intent.action.MEDIA_SHARED
Android.intent.action.MEDIA_UNMOUNTABLE
Android.intent.action.MEDIA_UNMOUNTED
Android.intent.action.MY_PACKAGE_REPLACED
Android.intent.action.NEW_OUTGOING_CALL
Android.intent.action.NEW_VOICEMAIL
Android.intent.action.PACKAGE_ADDED
Android.intent.action.PACKAGE_CHANGED
Android.intent.action.PACKAGE_DATA_CLEARED
Android.intent.action.PACKAGE_FIRST_LAUNCH
Android.intent.action.PACKAGE_FULLY_REMOVED
Android.intent.action.PACKAGE_INSTALL
Android.intent.action.PACKAGE_NEEDS_VERIFICATION
Android.intent.action.PACKAGE_REMOVED
Android.intent.action.PACKAGE_REPLACED
Android.intent.action.PACKAGE_RESTARTED
Android.intent.action.PHONE_STATE
Android.intent.action.PROVIDER_CHANGED
Android.intent.action.PROXY_CHANGE
Android.intent.action.REBOOT
Android.intent.action.SCREEN_OFF
Android.intent.action.SCREEN_ON
Android.intent.action.TIMEZONE_CHANGED
Android.intent.action.TIME_SET
Android.intent.action.TIME_TICK
Android.intent.action.UID_REMOVED
Android.intent.action.USER_PRESENT
Android.intent.action.WALLPAPER_CHANGED
Android.media.ACTION_SCO_AUDIO_STATE_UPDATED
Android.media.AUDIO_BECOMING_NOISY
Android.media.RINGER_MODE_CHANGED
Android.media.SCO_AUDIO_STATE_CHANGED
Android.media.VIBRATE_SETTING_CHANGED
Android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION
Android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION
Android.net.conn.BACKGROUND_DATA_SETTING_CHANGED
Android.net.nsd.STATE_CHANGED
Android.net.wifi.NETWORK_IDS_CHANGED
Android.net.wifi.RSSI_CHANGED
Android.net.wifi.SCAN_RESULTS
Android.net.wifi.STATE_CHANGE
Android.net.wifi.WIFI_STATE_CHANGED
Android.net.wifi.p2p.CONNECTION_STATE_CHANGE
Android.net.wifi.p2p.DISCOVERY_STATE_CHANGE
Android.net.wifi.p2p.PEERS_CHANGED
Android.net.wifi.p2p.STATE_CHANGED
Android.net.wifi.p2p.THIS_DEVICE_CHANGED
Android.net.wifi.supplicant.CONNECTION_CHANGE
Android.net.wifi.supplicant.STATE_CHANGE
Android.provider.Telephony.SIM_FULL
Android.provider.Telephony.SMS_CB_RECEIVED
Android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED
Android.provider.Telephony.SMS_RECEIVED
Android.provider.Telephony.SMS_REJECTED
Android.provider.Telephony.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED
Android.provider.Telephony.WAP_Push_RECEIVED
Android.speech.tts.TTS_QUEUE_PROCESSING_COMPLETED
Android.speech.tts.engine.TTS_DATA_INSTALLED
38
dberm22

* API niveau 21

Android.app.action.ACTION_PASSWORD_CHANGED
Android.app.action.ACTION_PASSWORD_EXPIRING
Android.app.action.ACTION_PASSWORD_FAILED
Android.app.action.ACTION_PASSWORD_SUCCEEDED
Android.app.action.DEVICE_ADMIN_DISABLED
Android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED
Android.app.action.DEVICE_ADMIN_ENABLED
Android.app.action.LOCK_TASK_ENTERING
Android.app.action.LOCK_TASK_EXITING
Android.app.action.NEXT_ALARM_CLOCK_CHANGED
Android.app.action.PROFILE_PROVISIONING_COMPLETE
Android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED
Android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED
Android.bluetooth.adapter.action.DISCOVERY_FINISHED
Android.bluetooth.adapter.action.DISCOVERY_STARTED
Android.bluetooth.adapter.action.LOCAL_NAME_CHANGED
Android.bluetooth.adapter.action.SCAN_MODE_CHANGED
Android.bluetooth.adapter.action.STATE_CHANGED
Android.bluetooth.device.action.ACL_CONNECTED
Android.bluetooth.device.action.ACL_DISCONNECTED
Android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED
Android.bluetooth.device.action.BOND_STATE_CHANGED
Android.bluetooth.device.action.CLASS_CHANGED
Android.bluetooth.device.action.FOUND
Android.bluetooth.device.action.NAME_CHANGED
Android.bluetooth.device.action.PAIRING_REQUEST
Android.bluetooth.device.action.UUID
Android.bluetooth.devicepicker.action.DEVICE_SELECTED
Android.bluetooth.devicepicker.action.LAUNCH
Android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT
Android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED
Android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED
Android.hardware.action.NEW_PICTURE
Android.hardware.action.NEW_VIDEO
Android.hardware.hdmi.action.OSD_MESSAGE
Android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS
Android.intent.action.ACTION_POWER_CONNECTED
Android.intent.action.ACTION_POWER_DISCONNECTED
Android.intent.action.ACTION_SHUTDOWN
Android.intent.action.AIRPLANE_MODE
Android.intent.action.APPLICATION_RESTRICTIONS_CHANGED
Android.intent.action.BATTERY_CHANGED
Android.intent.action.BATTERY_LOW Android.intent.action.BATTERY_OKAY
Android.intent.action.BOOT_COMPLETED
Android.intent.action.CAMERA_BUTTON
Android.intent.action.CONFIGURATION_CHANGED
Android.intent.action.CONTENT_CHANGED
Android.intent.action.DATA_SMS_RECEIVED
Android.intent.action.DATE_CHANGED
Android.intent.action.DEVICE_STORAGE_LOW
Android.intent.action.DEVICE_STORAGE_OK
Android.intent.action.DOCK_EVENT
Android.intent.action.DOWNLOAD_COMPLETE
Android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED
Android.intent.action.DREAMING_STARTED
Android.intent.action.DREAMING_STOPPED
Android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE
Android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE
Android.intent.action.FETCH_VOICEMAIL
Android.intent.action.GTALK_CONNECTED
Android.intent.action.GTALK_DISCONNECTED
Android.intent.action.HEADSET_PLUG
Android.intent.action.HEADSET_PLUG
Android.intent.action.INPUT_METHOD_CHANGED
Android.intent.action.LOCALE_CHANGED
Android.intent.action.MANAGE_PACKAGE_STORAGE
Android.intent.action.MEDIA_BAD_REMOVAL
Android.intent.action.MEDIA_BUTTON
Android.intent.action.MEDIA_CHECKING
Android.intent.action.MEDIA_EJECT
Android.intent.action.MEDIA_MOUNTED Android.intent.action.MEDIA_NOFS
Android.intent.action.MEDIA_REMOVED
Android.intent.action.MEDIA_SCANNER_FINISHED
Android.intent.action.MEDIA_SCANNER_SCAN_FILE
Android.intent.action.MEDIA_SCANNER_STARTED
Android.intent.action.MEDIA_SHARED
Android.intent.action.MEDIA_UNMOUNTABLE
Android.intent.action.MEDIA_UNMOUNTED
Android.intent.action.MY_PACKAGE_REPLACED
Android.intent.action.NEW_OUTGOING_CALL
Android.intent.action.NEW_VOICEMAIL
Android.intent.action.PACKAGE_ADDED
Android.intent.action.PACKAGE_CHANGED
Android.intent.action.PACKAGE_DATA_CLEARED
Android.intent.action.PACKAGE_FIRST_LAUNCH
Android.intent.action.PACKAGE_FULLY_REMOVED
Android.intent.action.PACKAGE_INSTALL
Android.intent.action.PACKAGE_NEEDS_VERIFICATION
Android.intent.action.PACKAGE_REMOVED
Android.intent.action.PACKAGE_REPLACED
Android.intent.action.PACKAGE_RESTARTED
Android.intent.action.PACKAGE_VERIFIED
Android.intent.action.PHONE_STATE
Android.intent.action.PROVIDER_CHANGED
Android.intent.action.PROXY_CHANGE Android.intent.action.REBOOT
Android.intent.action.SCREEN_OFF Android.intent.action.SCREEN_ON
Android.intent.action.TIMEZONE_CHANGED
Android.intent.action.TIME_SET Android.intent.action.TIME_TICK
Android.intent.action.UID_REMOVED Android.intent.action.USER_PRESENT
Android.intent.action.WALLPAPER_CHANGED
Android.media.ACTION_SCO_AUDIO_STATE_UPDATED
Android.media.AUDIO_BECOMING_NOISY Android.media.RINGER_MODE_CHANGED
Android.media.SCO_AUDIO_STATE_CHANGED
Android.media.VIBRATE_SETTING_CHANGED
Android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION
Android.media.action.HDMI_AUDIO_PLUG
Android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION
Android.net.conn.BACKGROUND_DATA_SETTING_CHANGED
Android.net.conn.CONNECTIVITY_CHANGE Android.net.nsd.STATE_CHANGED
Android.net.scoring.SCORER_CHANGED
Android.net.scoring.SCORE_NETWORKS
Android.net.wifi.NETWORK_IDS_CHANGED Android.net.wifi.RSSI_CHANGED
Android.net.wifi.SCAN_RESULTS Android.net.wifi.STATE_CHANGE
Android.net.wifi.WIFI_STATE_CHANGED
Android.net.wifi.p2p.CONNECTION_STATE_CHANGE
Android.net.wifi.p2p.DISCOVERY_STATE_CHANGE
Android.net.wifi.p2p.PEERS_CHANGED
Android.net.wifi.p2p.STATE_CHANGED
Android.net.wifi.p2p.THIS_DEVICE_CHANGED
Android.net.wifi.supplicant.CONNECTION_CHANGE
Android.net.wifi.supplicant.STATE_CHANGE
Android.nfc.action.ADAPTER_STATE_CHANGED
Android.os.action.POWER_SAVE_MODE_CHANGED
Android.provider.Telephony.SIM_FULL
Android.provider.Telephony.SMS_CB_RECEIVED
Android.provider.Telephony.SMS_DELIVER
Android.provider.Telephony.SMS_EMERGENCY_CB_RECEIVED
Android.provider.Telephony.SMS_RECEIVED
Android.provider.Telephony.SMS_REJECTED
Android.provider.Telephony.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED
Android.provider.Telephony.WAP_Push_DELIVER
Android.provider.Telephony.WAP_Push_RECEIVED
Android.speech.tts.TTS_QUEUE_PROCESSING_COMPLETED
Android.speech.tts.engine.TTS_DATA_INSTALLED

Liste d'intentions de diffusion mise à jour pour l'API Android de niveau 21.

15
Niranjan

Voici la référence Intention et voici Nice, à propos de Intents and Intent-Filters et une autre lecture intéressante à propos de si vous pouvez utiliser cette intention .

Tous situés sur le site de développement d'Android. C'est le premier endroit où vous devriez toujours chercher.

11
Octavian Damiean

La liste se trouve facilement dans .Android-sdks\plateformes\Android-17\data\broadcast_actions.

Android.app.action.ACTION_PASSWORD_CHANGED
Android.app.action.ACTION_PASSWORD_EXPIRING
Android.app.action.ACTION_PASSWORD_FAILED
Android.app.action.ACTION_PASSWORD_SUCCEEDED
Android.app.action.DEVICE_ADMIN_DISABLED
Android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED
Android.app.action.DEVICE_ADMIN_ENABLED
Android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED
Android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED
Android.bluetooth.adapter.action.DISCOVERY_FINISHED
Android.bluetooth.adapter.action.DISCOVERY_STARTED
Android.bluetooth.adapter.action.LOCAL_NAME_CHANGED
Android.bluetooth.adapter.action.SCAN_MODE_CHANGED
Android.bluetooth.adapter.action.STATE_CHANGED
Android.bluetooth.device.action.ACL_CONNECTED
Android.bluetooth.device.action.ACL_DISCONNECTED
Android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED
Android.bluetooth.device.action.BOND_STATE_CHANGED
Android.bluetooth.device.action.CLASS_CHANGED
Android.bluetooth.device.action.FOUND
Android.bluetooth.device.action.NAME_CHANGED
Android.bluetooth.device.action.UUID
Android.bluetooth.devicepicker.action.DEVICE_SELECTED
Android.bluetooth.devicepicker.action.LAUNCH
Android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT
Android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED
Android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED
Android.hardware.action.NEW_PICTURE
Android.hardware.action.NEW_VIDEO
Android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS
Android.intent.action.ACTION_POWER_CONNECTED
Android.intent.action.ACTION_POWER_DISCONNECTED
Android.intent.action.ACTION_SHUTDOWN
Android.intent.action.AIRPLANE_MODE
Android.intent.action.BATTERY_CHANGED
Android.intent.action.BATTERY_LOW
Android.intent.action.BATTERY_OKAY
Android.intent.action.BOOT_COMPLETED
Android.intent.action.CAMERA_BUTTON
Android.intent.action.CONFIGURATION_CHANGED
Android.intent.action.DATE_CHANGED
Android.intent.action.DEVICE_STORAGE_LOW
Android.intent.action.DEVICE_STORAGE_OK
Android.intent.action.DOCK_EVENT
Android.intent.action.DREAMING_STARTED
Android.intent.action.DREAMING_STOPPED
Android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE
Android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE
Android.intent.action.FETCH_VOICEMAIL
Android.intent.action.GTALK_CONNECTED
Android.intent.action.GTALK_DISCONNECTED
Android.intent.action.HEADSET_PLUG
Android.intent.action.INPUT_METHOD_CHANGED
Android.intent.action.LOCALE_CHANGED
Android.intent.action.MANAGE_PACKAGE_STORAGE
Android.intent.action.MEDIA_BAD_REMOVAL
Android.intent.action.MEDIA_BUTTON
Android.intent.action.MEDIA_CHECKING
Android.intent.action.MEDIA_EJECT
Android.intent.action.MEDIA_MOUNTED
Android.intent.action.MEDIA_NOFS
Android.intent.action.MEDIA_REMOVED
Android.intent.action.MEDIA_SCANNER_FINISHED
Android.intent.action.MEDIA_SCANNER_SCAN_FILE
Android.intent.action.MEDIA_SCANNER_STARTED
Android.intent.action.MEDIA_SHARED
Android.intent.action.MEDIA_UNMOUNTABLE
Android.intent.action.MEDIA_UNMOUNTED
Android.intent.action.MY_PACKAGE_REPLACED
Android.intent.action.NEW_OUTGOING_CALL
Android.intent.action.NEW_VOICEMAIL
Android.intent.action.PACKAGE_ADDED
Android.intent.action.PACKAGE_CHANGED
Android.intent.action.PACKAGE_DATA_CLEARED
Android.intent.action.PACKAGE_FIRST_LAUNCH
Android.intent.action.PACKAGE_FULLY_REMOVED
Android.intent.action.PACKAGE_INSTALL
Android.intent.action.PACKAGE_NEEDS_VERIFICATION
Android.intent.action.PACKAGE_REMOVED
Android.intent.action.PACKAGE_REPLACED
Android.intent.action.PACKAGE_RESTARTED
Android.intent.action.PACKAGE_VERIFIED
Android.intent.action.PHONE_STATE
Android.intent.action.PROVIDER_CHANGED
Android.intent.action.PROXY_CHANGE
Android.intent.action.REBOOT
Android.intent.action.SCREEN_OFF
Android.intent.action.SCREEN_ON
Android.intent.action.TIMEZONE_CHANGED
Android.intent.action.TIME_SET
Android.intent.action.TIME_TICK
Android.intent.action.UID_REMOVED
Android.intent.action.USER_PRESENT
Android.intent.action.WALLPAPER_CHANGED
Android.media.ACTION_SCO_AUDIO_STATE_UPDATED
Android.media.AUDIO_BECOMING_NOISY
Android.media.RINGER_MODE_CHANGED
Android.media.SCO_AUDIO_STATE_CHANGED
Android.media.VIBRATE_SETTING_CHANGED
Android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION
Android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION
Android.net.conn.BACKGROUND_DATA_SETTING_CHANGED
Android.net.nsd.STATE_CHANGED
Android.net.wifi.NETWORK_IDS_CHANGED
Android.net.wifi.RSSI_CHANGED
Android.net.wifi.SCAN_RESULTS
Android.net.wifi.STATE_CHANGE
Android.net.wifi.WIFI_STATE_CHANGED
Android.net.wifi.p2p.CONNECTION_STATE_CHANGE
Android.net.wifi.p2p.DISCOVERY_STATE_CHANGE
Android.net.wifi.p2p.PEERS_CHANGED
Android.net.wifi.p2p.STATE_CHANGED
Android.net.wifi.p2p.THIS_DEVICE_CHANGED
Android.net.wifi.supplicant.CONNECTION_CHANGE
Android.net.wifi.supplicant.STATE_CHANGE
Android.speech.tts.TTS_QUEUE_PROCESSING_COMPLETED
Android.speech.tts.engine.TTS_DATA_INSTALLED
8
Rajesh Narwal

Eh bien, j’ai une méthode qui me permet d’obtenir la liste complète des intentions, peut ne pas être officielle mais fonctionne assez bien.

Ouvrez le fichier Manifest (AndroidManifest.xml) de votre projet, placez l'extrait de code suivant ci-dessous dans la balise "Application".

<receiver 
    Android:name="test"
    Android:enabled="true">
        <intent-filter>
                <action Android:name="Android."/>
        </intent-filter>
</receiver>

Prochaine étape, placez le curseur dans la section de filtrage de l’intention après "Android". et appuyez sur Ctrl + Espace.

Vous obtiendrez toutes les intentions possibles sous forme de fenêtre contextuelle et pourrez ensuite copier la liste où vous le souhaitez.

N'oubliez pas de supprimer le code ci-dessus de Manifest, lorsque vous avez terminé.

J'espère que ça aide. 

5
Gaurav Pangam

La version actuelle (1.3) d'Android Studio vous donnera une liste si vous appuyez sur CTRL + ESPACE comme ceci:

 enter image description here

4
stackexchanger

Nouvelle liste mise à jour, niveau API 27 

Android.app.action.ACTION_PASSWORD_CHANGED
Android.app.action.ACTION_PASSWORD_EXPIRING
Android.app.action.ACTION_PASSWORD_FAILED
Android.app.action.ACTION_PASSWORD_SUCCEEDED
Android.app.action.DEVICE_ADMIN_DISABLED
Android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED
Android.app.action.DEVICE_ADMIN_ENABLED
Android.app.action.DEVICE_OWNER_CHANGED
Android.app.action.INTERRUPTION_FILTER_CHANGED
Android.app.action.LOCK_TASK_ENTERING
Android.app.action.LOCK_TASK_EXITING
Android.app.action.NEXT_ALARM_CLOCK_CHANGED
Android.app.action.NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED
Android.app.action.NOTIFICATION_POLICY_CHANGED
Android.app.action.PROFILE_PROVISIONING_COMPLETE
Android.app.action.SYSTEM_UPDATE_POLICY_CHANGED
Android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED
Android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED
Android.bluetooth.adapter.action.DISCOVERY_FINISHED
Android.bluetooth.adapter.action.DISCOVERY_STARTED
Android.bluetooth.adapter.action.LOCAL_NAME_CHANGED
Android.bluetooth.adapter.action.SCAN_MODE_CHANGED
Android.bluetooth.adapter.action.STATE_CHANGED
Android.bluetooth.device.action.ACL_CONNECTED
Android.bluetooth.device.action.ACL_DISCONNECTED
Android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED
Android.bluetooth.device.action.BOND_STATE_CHANGED
Android.bluetooth.device.action.CLASS_CHANGED
Android.bluetooth.device.action.FOUND
Android.bluetooth.device.action.NAME_CHANGED
Android.bluetooth.device.action.PAIRING_REQUEST
Android.bluetooth.device.action.UUID
Android.bluetooth.devicepicker.action.DEVICE_SELECTED
Android.bluetooth.devicepicker.action.LAUNCH
Android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT
Android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED
Android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED
Android.hardware.action.NEW_PICTURE
Android.hardware.action.NEW_VIDEO
Android.hardware.hdmi.action.OSD_MESSAGE
Android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS
Android.intent.action.ACTION_POWER_CONNECTED
Android.intent.action.ACTION_POWER_DISCONNECTED
Android.intent.action.ACTION_SHUTDOWN
Android.intent.action.AIRPLANE_MODE
Android.intent.action.APPLICATION_RESTRICTIONS_CHANGED
Android.intent.action.BADGE_COUNT_UPDATE
Android.intent.action.BATTERY_CHANGED
Android.intent.action.BATTERY_LOW
Android.intent.action.BATTERY_OKAY
Android.intent.action.BOOT_COMPLETED
Android.intent.action.CAMERA_BUTTON
Android.intent.action.CONFIGURATION_CHANGED
Android.intent.action.CONTENT_CHANGED
Android.intent.action.DATA_SMS_RECEIVED
Android.intent.action.DATE_CHANGED
Android.intent.action.DEVICE_STORAGE_LOW
Android.intent.action.DEVICE_STORAGE_OK
Android.intent.action.DOCK_EVENT
Android.intent.action.DOWNLOAD_COMPLETE
Android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED
Android.intent.action.DREAMING_STARTED
Android.intent.action.DREAMING_STOPPED
Android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE
Android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE
Android.intent.action.FETCH_VOICEMAIL
Android.intent.action.GTALK_CONNECTED
Android.intent.action.GTALK_DISCONNECTED
Android.intent.action.HEADSET_PLUG
Android.intent.action.HEADSET_PLUG
Android.intent.action.INPUT_METHOD_CHANGED
Android.intent.action.LOCALE_CHANGED
Android.intent.action.LOCKED_BOOT_COMPLETED
Android.intent.action.MANAGE_PACKAGE_STORAGE
Android.intent.action.MEDIA_BAD_REMOVAL
Android.intent.action.MEDIA_BUTTON
Android.intent.action.MEDIA_CHECKING
Android.intent.action.MEDIA_EJECT
Android.intent.action.MEDIA_MOUNTED
Android.intent.action.MEDIA_NOFS
Android.intent.action.MEDIA_REMOVED
Android.intent.action.MEDIA_SCANNER_FINISHED
Android.intent.action.MEDIA_SCANNER_SCAN_FILE
Android.intent.action.MEDIA_SCANNER_STARTED
Android.intent.action.MEDIA_SHARED
Android.intent.action.MEDIA_UNMOUNTABLE
Android.intent.action.MEDIA_UNMOUNTED
Android.intent.action.MY_PACKAGE_REPLACED
Android.intent.action.NEW_OUTGOING_CALL
Android.intent.action.NEW_VOICEMAIL
Android.intent.action.PACKAGES_SUSPENDED
Android.intent.action.PACKAGES_UNSUSPENDED
Android.intent.action.PACKAGE_ADDED
Android.intent.action.PACKAGE_CHANGED
Android.intent.action.PACKAGE_DATA_CLEARED
Android.intent.action.PACKAGE_FIRST_LAUNCH
Android.intent.action.PACKAGE_FULLY_REMOVED
Android.intent.action.PACKAGE_INSTALL
Android.intent.action.PACKAGE_NEEDS_VERIFICATION
Android.intent.action.PACKAGE_REMOVED
Android.intent.action.PACKAGE_REPLACED
Android.intent.action.PACKAGE_RESTARTED
Android.intent.action.PACKAGE_VERIFIED
Android.intent.action.PHONE_STATE
Android.intent.action.PROVIDER_CHANGED
Android.intent.action.PROXY_CHANGE
Android.intent.action.REBOOT
Android.intent.action.SCREEN_OFF
Android.intent.action.SCREEN_ON
Android.intent.action.SYNC_VOICEMAIL
Android.intent.action.TIMEZONE_CHANGED
Android.intent.action.TIME_SET
Android.intent.action.TIME_TICK
Android.intent.action.UID_REMOVED
Android.intent.action.USER_PRESENT
Android.intent.action.USER_UNLOCKED
Android.intent.action.WALLPAPER_CHANGED
Android.media.ACTION_SCO_AUDIO_STATE_UPDATED
Android.media.AUDIO_BECOMING_NOISY
Android.media.RINGER_MODE_CHANGED
Android.media.SCO_AUDIO_STATE_CHANGED
Android.media.VIBRATE_SETTING_CHANGED
Android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION
Android.media.action.HDMI_AUDIO_PLUG
Android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION
Android.net.conn.BACKGROUND_DATA_SETTING_CHANGED
Android.net.conn.CONNECTIVITY_CHANGE
Android.net.conn.RESTRICT_BACKGROUND_CHANGED
Android.net.nsd.STATE_CHANGED
Android.net.scoring.SCORER_CHANGED
Android.net.scoring.SCORE_NETWORKS
Android.net.wifi.NETWORK_IDS_CHANGED
Android.net.wifi.RSSI_CHANGED
Android.net.wifi.SCAN_RESULTS
Android.net.wifi.STATE_CHANGE
Android.net.wifi.WIFI_STATE_CHANGED
Android.net.wifi.p2p.CONNECTION_STATE_CHANGE
Android.net.wifi.p2p.DISCOVERY_STATE_CHANGE
Android.net.wifi.p2p.PEERS_CHANGED
Android.net.wifi.p2p.STATE_CHANGED
Android.net.wifi.p2p.THIS_DEVICE_CHANGED
Android.net.wifi.supplicant.CONNECTION_CHANGE
Android.net.wifi.supplicant.STATE_CHANGE
Android.nfc.action.ADAPTER_STATE_CHANGED
Android.os.action.DEVICE_IDLE_MODE_CHANGED
Android.os.action.POWER_SAVE_MODE_CHANGED
Android.provider.Telephony.SIM_FULL
Android.provider.Telephony.SMS_CB_RECEIVED
Android.provider.Telephony.SMS_DELIVER
Android.provider.Telephony.SMS_RECEIVED
Android.provider.Telephony.SMS_REJECTED
Android.provider.Telephony.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED
Android.provider.Telephony.WAP_Push_DELIVER
Android.provider.Telephony.WAP_Push_RECEIVED
Android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED
Android.provider.action.EXTERNAL_PROVIDER_CHANGE
Android.speech.tts.TTS_QUEUE_PROCESSING_COMPLETED
Android.speech.tts.engine.TTS_DATA_INSTALLED
4
Puneet Verma

À mon point de vue, cette liste n'existe pas. Le répertoire du SDK contient un fichier utile "broadcast_actions.txt". Mais il ne s’agit que du framework API Android (Android.), Pas des applications natives (com.), Et (évidemment) d’aucune des applications tierces. Seule une petite partie des applications natives fournit une documentation sur leurs intentions de diffusion. Pour les applications tierces, vous devriez vérifier leur documentation ou le code source s'il est disponible. 

Par exemple, l'application native pour appareil photo Android (com.Android.camera) diffuse cette intention chaque fois qu'une nouvelle photo est prise:

com.Android.camera.NEW_PICTURE

Autant que je sache, il est possible d'écouter toutes les intentions de diffusion au téléphone avec logcat.

2
Zanna

allez sur le chemin Android-sdks\plateformes\Android-VERSION\data\broadcast_actions vous obtiendrez le fichier pour différentes versions d'Android

0
neelkanth_vyas

Nouvelle liste mise à jour pour l'API niveau 28: 'Android-N'

Android.accounts.LOGIN_ACCOUNTS_CHANGED
Android.accounts.action.ACCOUNT_REMOVED
Android.app.action.ACTION_PASSWORD_CHANGED
Android.app.action.ACTION_PASSWORD_EXPIRING
Android.app.action.ACTION_PASSWORD_FAILED
Android.app.action.ACTION_PASSWORD_SUCCEEDED
Android.app.action.APPLICATION_DELEGATION_SCOPES_CHANGED
Android.app.action.APP_BLOCK_STATE_CHANGED
Android.app.action.DEVICE_ADMIN_DISABLED
Android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED
Android.app.action.DEVICE_ADMIN_ENABLED
Android.app.action.DEVICE_OWNER_CHANGED
Android.app.action.INTERRUPTION_FILTER_CHANGED
Android.app.action.LOCK_TASK_ENTERING
Android.app.action.LOCK_TASK_EXITING
Android.app.action.NEXT_ALARM_CLOCK_CHANGED
Android.app.action.NOTIFICATION_CHANNEL_BLOCK_STATE_CHANGED
Android.app.action.NOTIFICATION_CHANNEL_GROUP_BLOCK_STATE_CHANGED
Android.app.action.NOTIFICATION_POLICY_ACCESS_GRANTED_CHANGED
Android.app.action.NOTIFICATION_POLICY_CHANGED
Android.app.action.PROFILE_OWNER_CHANGED
Android.app.action.PROFILE_PROVISIONING_COMPLETE
Android.app.action.SYSTEM_UPDATE_POLICY_CHANGED
Android.appwidget.action.APPWIDGET_DELETED
Android.appwidget.action.APPWIDGET_DISABLED
Android.appwidget.action.APPWIDGET_ENABLED
Android.appwidget.action.APPWIDGET_Host_RESTORED
Android.appwidget.action.APPWIDGET_RESTORED
Android.appwidget.action.APPWIDGET_UPDATE
Android.appwidget.action.APPWIDGET_UPDATE_OPTIONS
Android.bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.a2dp.profile.action.PLAYING_STATE_CHANGED
Android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED
Android.bluetooth.adapter.action.DISCOVERY_FINISHED
Android.bluetooth.adapter.action.DISCOVERY_STARTED
Android.bluetooth.adapter.action.LOCAL_NAME_CHANGED
Android.bluetooth.adapter.action.SCAN_MODE_CHANGED
Android.bluetooth.adapter.action.STATE_CHANGED
Android.bluetooth.device.action.ACL_CONNECTED
Android.bluetooth.device.action.ACL_DISCONNECTED
Android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED
Android.bluetooth.device.action.BOND_STATE_CHANGED
Android.bluetooth.device.action.CLASS_CHANGED
Android.bluetooth.device.action.FOUND
Android.bluetooth.device.action.NAME_CHANGED
Android.bluetooth.device.action.PAIRING_REQUEST
Android.bluetooth.device.action.UUID
Android.bluetooth.devicepicker.action.DEVICE_SELECTED
Android.bluetooth.devicepicker.action.LAUNCH
Android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT
Android.bluetooth.headset.profile.action.AUDIO_STATE_CHANGED
Android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.hearingaid.profile.action.ACTIVE_DEVICE_CHANGED
Android.bluetooth.hearingaid.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.hearingaid.profile.action.PLAYING_STATE_CHANGED
Android.bluetooth.hiddevice.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.input.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.pan.profile.action.CONNECTION_STATE_CHANGED
Android.bluetooth.pbap.profile.action.CONNECTION_STATE_CHANGED
Android.content.pm.action.SESSION_COMMITTED
Android.hardware.action.NEW_PICTURE
Android.hardware.action.NEW_VIDEO
Android.hardware.hdmi.action.OSD_MESSAGE
Android.hardware.input.action.QUERY_KEYBOARD_LAYOUTS
Android.hardware.usb.action.USB_ACCESSORY_ATTACHED
Android.hardware.usb.action.USB_ACCESSORY_DETACHED
Android.hardware.usb.action.USB_DEVICE_ATTACHED
Android.hardware.usb.action.USB_DEVICE_DETACHED
Android.intent.action.ACTION_POWER_CONNECTED
Android.intent.action.ACTION_POWER_DISCONNECTED
Android.intent.action.ACTION_SHUTDOWN
Android.intent.action.AIRPLANE_MODE
Android.intent.action.APPLICATION_RESTRICTIONS_CHANGED
Android.intent.action.BATTERY_CHANGED
Android.intent.action.BATTERY_LOW
Android.intent.action.BATTERY_OKAY
Android.intent.action.BOOT_COMPLETED
Android.intent.action.CAMERA_BUTTON
Android.intent.action.CLOSE_SYSTEM_DIALOGS
Android.intent.action.CONFIGURATION_CHANGED
Android.intent.action.CONTENT_CHANGED
Android.intent.action.DATA_SMS_RECEIVED
Android.intent.action.DATE_CHANGED
Android.intent.action.DEVICE_STORAGE_LOW
Android.intent.action.DEVICE_STORAGE_OK
Android.intent.action.DOCK_EVENT
Android.intent.action.DOWNLOAD_COMPLETE
Android.intent.action.DOWNLOAD_NOTIFICATION_CLICKED
Android.intent.action.DREAMING_STARTED
Android.intent.action.DREAMING_STOPPED
Android.intent.action.DROPBOX_ENTRY_ADDED
Android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE
Android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE
Android.intent.action.FACTORY_RESET
Android.intent.action.FETCH_VOICEMAIL
Android.intent.action.GTALK_CONNECTED
Android.intent.action.GTALK_DISCONNECTED
Android.intent.action.HEADSET_PLUG
Android.intent.action.HEADSET_PLUG
Android.intent.action.INPUT_METHOD_CHANGED
Android.intent.action.INTENT_FILTER_NEEDS_VERIFICATION
Android.intent.action.LOCALE_CHANGED
Android.intent.action.LOCKED_BOOT_COMPLETED
Android.intent.action.MANAGE_PACKAGE_STORAGE
Android.intent.action.MASTER_CLEAR_NOTIFICATION
Android.intent.action.MEDIA_BAD_REMOVAL
Android.intent.action.MEDIA_BUTTON
Android.intent.action.MEDIA_CHECKING
Android.intent.action.MEDIA_EJECT
Android.intent.action.MEDIA_MOUNTED
Android.intent.action.MEDIA_NOFS
Android.intent.action.MEDIA_REMOVED
Android.intent.action.MEDIA_SCANNER_FINISHED
Android.intent.action.MEDIA_SCANNER_SCAN_FILE
Android.intent.action.MEDIA_SCANNER_STARTED
Android.intent.action.MEDIA_SHARED
Android.intent.action.MEDIA_UNMOUNTABLE
Android.intent.action.MEDIA_UNMOUNTED
Android.intent.action.MY_PACKAGE_REPLACED
Android.intent.action.MY_PACKAGE_SUSPENDED
Android.intent.action.MY_PACKAGE_UNSUSPENDED
Android.intent.action.NEW_OUTGOING_CALL
Android.intent.action.NEW_VOICEMAIL
Android.intent.action.PACKAGES_SUSPENDED
Android.intent.action.PACKAGES_UNSUSPENDED
Android.intent.action.PACKAGE_ADDED
Android.intent.action.PACKAGE_CHANGED
Android.intent.action.PACKAGE_DATA_CLEARED
Android.intent.action.PACKAGE_FIRST_LAUNCH
Android.intent.action.PACKAGE_FULLY_REMOVED
Android.intent.action.PACKAGE_INSTALL
Android.intent.action.PACKAGE_NEEDS_VERIFICATION
Android.intent.action.PACKAGE_REMOVED
Android.intent.action.PACKAGE_REPLACED
Android.intent.action.PACKAGE_RESTARTED
Android.intent.action.PACKAGE_VERIFIED
Android.intent.action.PHONE_STATE
Android.intent.action.PROVIDER_CHANGED
Android.intent.action.PROXY_CHANGE
Android.intent.action.QUERY_PACKAGE_RESTART
Android.intent.action.REBOOT
Android.intent.action.SCREEN_OFF
Android.intent.action.SCREEN_ON
Android.intent.action.SIM_STATE_CHANGED
Android.intent.action.SPLIT_CONFIGURATION_CHANGED
Android.intent.action.TIMEZONE_CHANGED
Android.intent.action.TIME_SET
Android.intent.action.TIME_TICK
Android.intent.action.UID_REMOVED
Android.intent.action.UMS_CONNECTED
Android.intent.action.UMS_DISCONNECTED
Android.intent.action.USER_PRESENT
Android.intent.action.USER_UNLOCKED
Android.intent.action.WALLPAPER_CHANGED
Android.media.ACTION_SCO_AUDIO_STATE_UPDATED
Android.media.AUDIO_BECOMING_NOISY
Android.media.RINGER_MODE_CHANGED
Android.media.SCO_AUDIO_STATE_CHANGED
Android.media.VIBRATE_SETTING_CHANGED
Android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION
Android.media.action.HDMI_AUDIO_PLUG
Android.media.action.MICROPHONE_MUTE_CHANGED
Android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION
Android.media.tv.action.CHANNEL_BROWSABLE_REQUESTED
Android.media.tv.action.INITIALIZE_PROGRAMS
Android.media.tv.action.PREVIEW_PROGRAM_ADDED_TO_WATCH_NEXT
Android.media.tv.action.PREVIEW_PROGRAM_BROWSABLE_DISABLED
Android.media.tv.action.WATCH_NEXT_PROGRAM_BROWSABLE_DISABLED
Android.net.conn.BACKGROUND_DATA_SETTING_CHANGED
Android.net.conn.CONNECTIVITY_CHANGE
Android.net.conn.RESTRICT_BACKGROUND_CHANGED
Android.net.nsd.STATE_CHANGED
Android.net.scoring.SCORER_CHANGED
Android.net.scoring.SCORE_NETWORKS
Android.net.wifi.NETWORK_IDS_CHANGED
Android.net.wifi.RSSI_CHANGED
Android.net.wifi.SCAN_RESULTS
Android.net.wifi.STATE_CHANGE
Android.net.wifi.WIFI_STATE_CHANGED
Android.net.wifi.aware.action.WIFI_AWARE_STATE_CHANGED
Android.net.wifi.p2p.CONNECTION_STATE_CHANGE
Android.net.wifi.p2p.DISCOVERY_STATE_CHANGE
Android.net.wifi.p2p.PEERS_CHANGED
Android.net.wifi.p2p.STATE_CHANGED
Android.net.wifi.p2p.THIS_DEVICE_CHANGED
Android.net.wifi.rtt.action.WIFI_RTT_STATE_CHANGED
Android.net.wifi.supplicant.CONNECTION_CHANGE
Android.net.wifi.supplicant.STATE_CHANGE
Android.nfc.action.ADAPTER_STATE_CHANGED
Android.nfc.action.TRANSACTION_DETECTED
Android.os.action.DEVICE_IDLE_MODE_CHANGED
Android.os.action.POWER_SAVE_MODE_CHANGED
Android.provider.Telephony.SECRET_CODE
Android.provider.Telephony.SIM_FULL
Android.provider.Telephony.SMS_CB_RECEIVED
Android.provider.Telephony.SMS_DELIVER
Android.provider.Telephony.SMS_RECEIVED
Android.provider.Telephony.SMS_REJECTED
Android.provider.Telephony.SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED
Android.provider.Telephony.WAP_Push_DELIVER
Android.provider.Telephony.WAP_Push_RECEIVED
Android.provider.action.DEFAULT_SMS_PACKAGE_CHANGED
Android.provider.action.EXTERNAL_PROVIDER_CHANGE
Android.provider.action.SYNC_VOICEMAIL
Android.security.STORAGE_CHANGED
Android.security.action.KEYCHAIN_CHANGED
Android.security.action.KEY_ACCESS_CHANGED
Android.security.action.TRUST_STORE_CHANGED
Android.speech.tts.TTS_QUEUE_PROCESSING_COMPLETED
Android.speech.tts.engine.TTS_DATA_INSTALLED
Android.telephony.action.DEFAULT_SMS_SUBSCRIPTION_CHANGED
Android.telephony.action.DEFAULT_SUBSCRIPTION_CHANGED
Android.telephony.action.REFRESH_SUBSCRIPTION_PLANS
Android.telephony.action.SIM_APPLICATION_STATE_CHANGED
Android.telephony.action.SIM_CARD_STATE_CHANGED
Android.telephony.action.SIM_SLOT_STATUS_CHANGED
Android.telephony.action.SUBSCRIPTION_CARRIER_IDENTITY_CHANGED
Android.telephony.euicc.action.NOTIFY_CARRIER_SETUP_INCOMPLETE
Android.telephony.euicc.action.OTA_STATUS_CHANGED
0
Akshay Paliwal
0
Shad