題:
有沒有辦法列出所有Intent和與其關聯的所有流程?
DVK
2011-05-18 23:06:05 UTC
view on stackexchange narkive permalink

有沒有辦法列出所有Intent和與其相關的所有進程?

Specifics:Droid X,2.2原始ROM,已植根。

只要有保證的完整列表,我對任何方法都很好:

  • 一個腳本或一個終端仿真器中的一系列命令很好。對假定的所需技術水平沒有限制(假定讀者是合格的Unix長期高級用戶)。如前所述,手機是植根的。

  • 一個應用程序正常(理想情況下,它應該能夠導出列表,但即使是類似Autostarts的GUI顯示也可以)

    注意事項:如果您推荐一個應用程序(例如 Autostarts),我將要求確保該應用程序確實列出了所有註冊的Intent接收者,而不僅僅是一些子集-作為作者的文檔/聲明或其他證據(例如,分析代碼使用的API)。

  • 最糟糕的情況是我API細節

三 答案:
not2qubit
2015-09-22 11:30:57 UTC
view on stackexchange narkive permalink

也許不是全部,但是您可以使用得到一個很好的主意:

  dumpsys活動廣播| grep -iE“。+ \。[0-9A -Z _ \-] +:$“ | sort  

grep 表達式可確保僅捕獲以意向結尾的行,如格式。 .blahblah.SOME_INTENT:。然後,我使用 sort 使其更具可讀性。

  SIDESYNC.action.CTRL_PRESSED_STATE_EVENT:SIDESYNC.action.EXIST_TEXT_BEFORE_CURSOR_STATE_EVENT:SIDESYNC.action.INPUT_TEXT_EVENT:SIDESYNC.action.PREDICTIVE_TEXT_EVENT:SIDESYNC.action。 SHIFT_PRESSED_STATE_EVENT:SamsungIME.UpdateAvailableLanguageAction:android.accounts.LOGIN_ACCOUNTS_CHANGED:android.app.action.DEVICE_POLICY_MANAGER_PASSWORD_CHANGED:android.app.action.DEVICE_POLICY_MANAGER_STATE_MODE_ENTER:動作。 EXIT_CAR_MODE:android.app.action.EXIT_DESK_MODE:android.app.backup.intent.INIT:android.app.backup.intent.RUN:android.app.enterprise.action.ACTION_WIFI_POLICY_STATE_CHANGED:android.appwidget.action.APPWIDGET_INBACKID_HOST bluetooth.a2dp.profile.action.CONNECTION_STATE_CHANGED:android.bluetooth.adapter.action.CONNECTION_STATE_CHANGED:android.bluetooth.ada pter.action.DISCOVERY_FINISHED:android.bluetooth.adapter.action.LOCAL_NAME_CHANGED:android.bluetooth.adapter.action.STATE_CHANGED:android.bluetooth.device.action.ACL_CONNECTED:android.bluetooth.device.action.ACL_DISCONNECTED:android.bluetooth。 device.action.ACTION_IN_RANGE_ALERT:android.bluetooth.device.action.ACTION_OUT_OF_RANGE_ALERT:android.bluetooth.device.action.ALIAS_CHANGED:android.bluetooth.device.action.AUTO_LOCK_SERVICE:android.bluetooth.device.action.BOND_STATE_CHANGED:Android。 device.action.CLASS_CHANGED:android.bluetooth.device.action.RSSI:
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.content.syncmanager.SYNC_ALARM:android.dirEncryption.DirEncryptionManager UNMOUNT_POLICY:android.hardware.display.action.WIFI_DISPLAY_STATUS_CHANGED:android.hardware.usb.action.USB_DEVICE_ATTACHED:android.hardware.usb.action.USB_DEVICE_DETACHED:android.hardware.usb.action.USB_STATE:android.intent.ACTION.ACTION.ACTION android.intent.action.ACTION_CLOSE_DIALOG_DATA_ROAMING_GUARD:android.intent.action.ACTION_POWER_CONNECTED:android.intent.action.ACTION_POWER_DISCONNECTED:android.intent.action.ACTION_SHOW_DIALOG_DATA_ROAMING_GUARD:android.intent.action.ACTION.ACTION_SHDOWN intent.action.ALARM_CHANGED:android.intent.action.ANY_DATA_STATE:android.intent.action.AT_CMSS_COMPLETE :android.intent.action.BADGE_COUNT_UPDATE:android.intent.action.BATTERY_CHANGED:android.intent.action.BATTERY_LOW:android.intent.action.BATTERY_OKAY:android.intent.action.BCS_REQUEST:android.intent.action.BOOT_COMPLETED:android .intent.action.CHAMELEON_PRECONFIG:android.intent.action.CHECK_COOLDOWN_LEVEL:android.intent.action.CHECK_SIOP_LEVEL:android.intent.action.CLOSE_SYSTEM_DIALOGS:android.intent.action.COEX_INFO:android.intent.action.CONEDURATION_ACTION動作。 .DATA_CONNECTION_FAILED:android.intent.action.DATE_CHANGED:android.intent.action.DB_CLEAN:
android.intent.action.DEFAULT_CS_SIM_CHANGED:android.intent.action.DEVICE_STORAGE_FULL:android.intent.action.DEVICE_STORAGE_LOW:android.intent.action.DEVICE_STORAGE_NOT_FULL:android.intent.action.DEVICE_STORAGE_OK:機器人。 intent.action.DORMANT_MODE_OFF:android.intent.action.DORMANT_MODE_ON:android.intent.action.DORMANT_MODE_UPDATE:android.intent.action.DOWNLOAD_COMPLETE:android.intent.action.DREAMING_STARTED:android.intent.action.DREAMING_STOPPED:android。 action.DROPBOX_ENTRY_ADDED:android.intent.action.EMERGENCY_CALLBACK_MODE_CHANGED:android.intent.action.EMERGENCY_START_SERVICE_BY_ORDER:android.intent.action.EMERGENCY_STATE_CHANGED:android.intent.action.EXTERNAL_APPLICABLE.UNTER_APPLICATIONS_AVAIL EXTERNAL_CAR_CONNECTED:android.intent.action.EXTERNAL_CAR_DISCONNECTED:android.intent.action.EXTERNAL_USB_H EADSET_PLUG:android.intent.action.FLATMOTION_CP:android.intent.action.GCF_DEVICE_STORAGE_LOW:android.intent.action.GCF_DEVICE_STORAGE_OK:android.intent.action.GRIPSENSOR_CP:android.intent.action.HDMI_PLUGGED:android.SET android.intent.action.LOCALE_CHANGED:android.intent.action.LTE_SMS_STATUS:android.intent.action.MASTER_CLEAR_NOTIFICATION:android.intent.action.MEDIA_BUTTON:android.intent.action.MEDIA_MOUNTED:android.intent.action.MEDIA_REMOVED:android。 intent.action.NETWORK_SET_TIME:android.intent.action.NETWORK_SET_TIMEZONE:android.intent.action.NOT_ALLOWED_SCREEN_MIRRORING:android.intent.action.PACKAGE_ADDED:android.intent.action.PACKAGE_REMOVED:android.intent.action.PALM action.PDP_RESET_TEST:android.intent.action.PHONE_STATE:android.intent.action.PROXIMITY_CP:android.intent.action.PROXY_CHANGE:android.intent.action.RADIO_TECHNOLOGY:
android.intent.action.REBOOT:android.intent.action.REQUEST_HOME_COUNT:android.intent.action.REQUEST_WIDGET_COUNT:android.intent.action.SARDEVICE_CP:android.intent.action.SB_HIDE_DIALOG:android.intent.action.SB_SHOW_DIALOG:Android。 intent.action.SCREENRECORDER_INFORMATION:android.intent.action.SCREEN_OFF:android.intent.action.SCREEN_ON:android.intent.action.SECURE_PLAYBACK_START:android.intent.action.SECURE_PLAYBACK_STOP:android.intent.action.SERVICE_STATE:android.intent。 action.SETTINGS_SOFT_RESET:android.intent.action.SET_WIFI:android.intent.action.SHOW_BRIGHTNESS_DIALOG:android.intent.action.SIM_STATE_CHANGED:android.intent.action.SIOP_LEVEL_CHANGED:android.intent.action.START_FACTORY_TEST:android。 START_NETWORK_BOOSTER:android.intent.action.STOP_FACTORY_TEST:android.intent.action.STOP_NETWORK_BOOSTER:android.intent.action.SWEEP_DOWN:android.intent.action.SWEEP_LEFT:android.intent.a SWEEP_RIGHT:android.intent.action.SYNC_STATE_CHANGED:android.intent.action.TIMEZONE_CHANGED:android.intent.action.TIME_SET:android.intent.action.TIME_TICK:android.intent.action.TURNOVERMOTION_CP:android.intent.action。 UID_REMOVED:android.intent.action.USBHID_KEYBOARD_EVENT:android.intent.action.USBHID_MOUSE_EVENT:android.intent.action.USB_AUDIO_ACCESSORY_PLUG:android.intent.action.USB_AUDIO_DEVICE_PLUG:android.intent.action.USB.CHAR_ING android.intent.action.USER_BACKGROUND:android.intent.action.USER_FOREGROUND:android.intent.action.USER_INFO_CHANGED:android.intent.action.USER_PRESENT:android.intent.action.USER_REMOVED:android.intent.action.USER_STARTED:Android。 intent.action.USER_STARTING:android.intent.action.USER_STOPPED:android.intent.action.USER_STOPPING:android.intent.action.USER_SWITCHED:android.intent.action.VIDEO_PLAYBACK_STOP:
android.intent.action.WAITING_AUTO_LOGIN:android.intent.action.WB_AMR:android.intent.action.WIFIDISPLAY_NOTI_CONNECTION_MODE:android.intent.action.WIFI_DISPLAY:android.intent.action.WIFI_DISPLAY_SINK_STATE:android.intent.action.WIFI_ROM_DISPLAY_URL: intent.action.proximity_sensor:android.intent.action.sec.LSO_CONFIG_CHANGED:android.intent.action.sec.MDM_ACCOUNT_DELETE_RESULT:android.intent.action.sec.MDM_ACCOUNT_SETCOUNT_SETUP_RESULT:android.intent.action.stk.check_screen_idle:。 action.stk.idle_screen:android.location.GPS_ENABLED_CHANGE:android.location.GPS_FIX_CHANGE:android.location.MODE_CHANGED:android.location.PROVIDERS_CHANGED:android.media.RINGER_MODE_CHANGED:android.media.VOLUME_CHANGED_ACTION:android.mtpClient。 USB_PERMISSION:android.net.ConnectivityService.action.PKT_CNT_SAMPLE_INTERVAL_ELAPSED:android.net.conn.BACKGROUND_DATA_SETTING_CHANGED:android.net.conn.CONNEC TIVITY_CHANGE:android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE:android.net.conn.INET_CONDITION_ACTION:android.net.conn.MOBILE_DATA_ENABLE_POPUP:android.net.conn.TETHER_STATE_CHANGED:android.net.proxy.PAC_URES.NET: android.net.wifi.ERROR:android.net.wifi.LINK_CONFIGURATION_CHANGED:android.net.wifi.MAXAP_NOTI:android.net.wifi.NETWORK_OXYGEN_STATE_CHANGE:android.net.wifi.RSSI_CHANGED:android.net.wifi.SCAN_RESULTS:android。 net.wifi.SEC_NOTIFICATION_CANCEL:android.net.wifi.SET_HOME_AP:android.net.wifi.SHOW_INFO_MESSAGE:android.net.wifi.STATE_CHANGE:android.net.wifi.WIFI_AP_STATE_CHANGED:android.net.wifi.WIFI_AP_STA_STATUS_CHANGED:SDN.NET wifi.WIFI_AP_WPS_STATE_ACTION:android.net.wifi.WIFI_DIALOG_CANCEL_ACTION:android.net.wifi.WIFI_OXYGEN_STATE_CHANGE:android.net.wifi.WIFI_STATE_CHANGED:android.net.wifi.p2p.CONNECTION_STATE_CHANGE:
android.net.wifi.p2p.PEERS_CHANGED:android.net.wifi.p2p.REQUEST_STATE_CHANGE:android.net.wifi.p2p.STATE_CHANGED:android.net.wifi.p2p.STOPFIND_TIMER_EXPIRED: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.provider.Telephony.SPN_STRINGS_UPDATED:android.provider.Telephony.WAP_PUSH_RECEEDG: android.server.display.wfd.DISCONNECT:android.settings.ALL_SOUND_MUTE:android.settings.MONO_AUDIO_CHANGED:android.settings.POWERSAVING_AUTO_ENABLE:android.settings.POWERSAVING_CHANGED:android.settings.POWERSAVING_SWITCH_CHANGED: usb.STORAGE_NOTIFICATION_CANCEL:android.view.volumepanel.CLICK_BUTTON1:android.view.volumepanel.CLICK_BUTTON2:application / vnd.omaloc-supl-init:com.android.action.SIM_REFRES H_INIT:com.android.deskclock.ALARM_ALERT:com.android.deskclock.ALARM_DONE:com.android.internal.location.ALARM_TIMEOUT:com.android.internal.location.ALARM_WAKEUP:com.android.internal.policy.impl.Keyguard。 PCW_LOCKED:com.android.internal.policy.impl.Keyguard.PCW_UNLOCKED:com.android.internal.policy.impl.PhoneWindowManager.DELAYED_KEYGUARD:com.android.internal.policy.impl.sec.UserActivityByShortcut:com.android.internal。 telephony.cdma.intent.action.TTY_ENABLED_CHANGE:com.android.internal.telephony.data-reconnect.bip:com.android.internal.telephony.data-reconnect.cbs:com.android.internal.telephony.data-reconnect。默認值:com.android.internal.telephony.data-reconnect.ent:com.android.internal.telephony.data-reconnect.ent1:com.android.internal.telephony.data-reconnect.ent2:com.android.internal。 telephony.data-reconnect.fota:com.android.internal.telephony.data-reconnect.hipri:
com.android.internal.telephony.data-reconnect.ias:com.android.internal.telephony.data-reconnect.ims:com.android.internal.telephony.data-reconnect.mms:com.android.internal.telephony。 data-reconnect.supl:com.android.internal.telephony.data-restart-trysetup.bip:com.android.internal.telephony.data-restart-trysetup.cbs:com.android.internal.telephony.data-restart- trysetup.default:com.android.internal.telephony.data-restart-trysetup.dun:com.android.internal.telephony.data-restart-trysetup.ent1:com.android.internal.telephony.data-restart-trysetup。 ent2:com.android.internal.telephony.data-restart-trysetup.fota:com.android.internal.telephony.data-restart-trysetup.hipri:com.android.internal.telephony.data-restart-trysetup.ia: com.android.internal.telephony.data-restart-trysetup.ims:com.android.internal.telephony.data-restart-trysetup.mms:com.android.internal.telephony.data-restart-trysetup.supl:com。 android.internal.telephony.data-stall: com.android.internal.telephony.dataconnection.DataConnection.DC-1.action_retry:com.android.internal.telephony.dcn_result:com.android.internal.telephony.provisioning_apn_alarm:com.android.keyguard.action.flight_mode:com。 android.launcher.action.ACTION_HOME_RESTORE:com.android.launcher.action.EASY_MODE_CHANGE:com.android.mms.LANGUAGE_ACTION:com.android.mms.NOTIFICATION_CANCEL_ACTION:com.android.mms.NOTIFICATION_DELETED_ACTION:com.android.nfaction INTERNAL_TARGET_DESELECTED:com.android.phone.NATURAL_SOUND:com.android.phone.NOISE_REDUCTION:com.android.phone.action.ACTION_DATA_NOTIFICATION:com.android.phone.action.DISABLE_UCE_TOGGLE:com.android.phone.sendToCPAC已插入:com。 server.ACTION_EXPIRED_PASSWORD_NOTIFICATION:com.android.server.BatteryService.action.DORMANT_END:com.android.server.BatteryService.action.DORMANT_START:com.android.server.IdleMaintenanceService.action.FORCE_IDLE_MAINTENANCE:
com.android.server.IdleMaintenanceService.action.UPDATE_IDLE_MAINTENANCE_STATE:com.android.server.LightsService.action.UPDATE_SVC_LED:com.android.server.MY_INTENT:com.android.server.NetworkTimeUpdateService.action.POLL:com.android.server。 NotificationManagerService.PickupMotion到達:com.android.server.PowerManagerService.action.AUTO_POWER_OFF:com.android.server.PowerManagerService.action.FAILED_TO_DETECT_FACE_BEFORE_DIM:com.android.server.WifiManager.action.DELAYED_DRIVER_STOP:com.android.server。 DEVICE_IDLE:com.android.server.WifiManager.action.REFRESH_BATCHED_SCAN:com.android.server.WifiManager.action.START_SCAN:com.android.server.action.NETWORK_STATS_POLL:com.android.server.action.NETWORK_STATS_UPDATED:com.android。 server.action.UPDATE_TWILIGHT_STATE:com.android.server.am.BROADCAST_DHA_DEBUG_ON:com.android.server.am.BROADCAST_DO_TRIM:com.android.server.am.BROADCAST_SET_TRIM_TH:com.android.server.co nnectivityservice.CONNECTED_TO_PROVISIONING_NETWORK_ACTION:com.android.server.enterprise.ICCID_AVAILABLE:com.android.server.enterprise.WFD_DISABLE:com.android.server.enterprise.billing.action_enable_status_modified:com.android.server.enterprise.bild.action.enableprise.com android.server.enterprise.billing.notification_dismissed:com.android.server.enterprise.billing.profile_turn_on_status_modified:com.android.server.enterprise.billing.roaming_modified:com.android.server.enterprise.billing.wifi_fallback_modified:com.android。 server.enterprise.kioskmode.REFRESH_HWKEY_CACHE:com.android.server.enterprise.restriction.SEND_BLOCKED_MMS:com.android.server.enterprise.restriction.SEND_BLOCKED_SMS:com.android.server.net.action.ALLOW_BACKGROUND:com.android.server.enterprise.restriction.SEND_BLOCKED_MMS: net.action.SNOOZE_WARNING:com.android.settings.DEVICE_NAME_CHANGED:com.android.settings.LaunchGlanceView:com.android.sms.action.CLEAR_ALL:
com.android.sms.action.SWEEP_NOTIFICATION:com.android.sync.SYNC_CONN_STATUS_CHANGED:com.android.systemui.BATTERY_LEVEL_TEST:com.android.systemui.demo:com.android.systemui.power.action.ACTION_BATTERY_LOW_COCKTAIL_BUTTON systemui.power.action.ACTION_BATTERY_LOW_COCKTAIL_TOUCH:com.android.systemui.power.action.ACTION_CLEAR_SHUTDOWN:com.android.systemui.power.action.ACTION_REQUEST_SHUTDOWN:com.android.systemui.power.action.POWER_SHARING:com.android.systemui。 statusbar.ANIMATING:com.android.systemui.statusbar.COLLAPSED:com.android.systemui.statusbar.EXPANDED:com.estrongs.action.chromecast.control.close:com.estrongs.action.chromecast.control.disconnect:com。 estrongs.action.chromecast.control.next:com.estrongs.action.chromecast.control.play:com.estrongs.action.chromecast.control.preview:com.facebook.abtest.action.CLEAR_CACHE:com.facebook.abtest。 action.UPDATE_CACHE:com.facebook.analytics.service.AnalyticsEven tUploader.ACTION_ALARM:com.facebook.auth.broadcast.ACTION_CLEAR_CACHE_REQUEST:com.facebook.backgroundlocation.settings.BackgroundLocationSettingsHandler.updated_settings:com.facebook.common.appstate.peers:com.facebook.common.executors.WakingExecutorService.ACTION_ALARM.com facebook.katana:com.facebook.common.hardware.NetworkActivityBroadcastManager.NETWORKING_ACTIVE:com.facebook.common.hardware.NetworkActivityBroadcastManager.NETWORKING_INACTIVE:com.facebook.intent.action.prod.messages.ACTION_CLEAR_ALL_MESSAGES:com.facebook.intent prod.messages.ACTION_CLEAR_MESSAGE:com.facebook.intent.action.prod.messages.ACTION_NEW_MESSAGE:com.facebook.katana.provider.FbSharedPrefsProvider.CHANGED_ACTION:com.facebook.messages.ipc.peers.PROD:com.facebook.zero。 ACTION_FORCE_ZERO_HEADER_REFRESH:com.facebook.zero.ACTION_ZERO_REFRESH_TOKEN:com.facebook.zero.ZERO_RATING_CLEAR_SETTINGS:com.google.android.gms.flp.EXPIRATION_ALARM:
com.google.android.gms.gcm.PACKAGE_FULLY_REMOVED:com.google.android.gms.gcm.PACKAGE_REPLACED:com.google.android.googlequicksearchbox.action.PAUSE_HOTWORD:com.google.android.googlequicksearchbox.action.PAUSE_HOTWORD:com.google.android.googlequickSearchbox.action.PAUSE_HOTWORD_FIRST_PARTY google.android.googlequicksearchbox.action.RESUME_HOTWORD:com.google.android.googlequicksearchbox.action.RESUME_HOTWORD_FIRST_PARTY:com.google.android.intent.action.GCM_RECONNECT:com.google.android.intent.action.MCS_HEARTBEAT:com.google。 android.intent.action.SEND_IDLE:com.google.android.location.intent.action.END_LOCATION_BURST:com.google.android.location.internal.server.ACTION_RESTARTED:com.google.android.location.reporting.ACTION_INSISTENT_SYNC:com。 qcom.location.XtraDownloadRequest:com.qualcomm.location.geofence.breach:com.qualcomm.location.geofence.checkgeofences:com.qualcomm.location.ulp.HYBRID_HIGH_POWER_REQUEST_CHANGE:com.samsung.accessory.intent.action.UPDATE_NOTIF薩姆斯ung.action.HS20_EXPIRY_TIME_FOUND:com.samsung.android.app.audio.epinforequest:com.samsung.android.app.camera.RVF:com.samsung.android.intent.action.FINGERPRINT_ADDED:com.samsung.android.intent。 action.FINGERPRINT_LOCK_SET:com.samsung.android.intent.action.FINGERPRINT_PASSWORD_UPDATED:com.samsung.android.intent.action.FINGERPRINT_REMOVED:com.samsung.android.intent.action.FINGERPRINT_RESET:com.samsung.android.intent.action。 PRIVATE_MODE_OFF:com.samsung.android.intent.action.PRIVATE_MODE_ON:com.samsung.android.intent.action.UPDATING_APPWIDGET_COMPLETED:com.samsung.android.multiwindow.MINIMIZE_ALL:com.samsung.android.sdk_sSingsungLINK。 com.samsung.android.service.hermes.action.collect:com.samsung.axt9info.close:com.samsung.check.update.schedule:com.samsung.cover.NFC.OPEN:com.samsung.cover.OPEN: com.samsung.cover.REQUEST_REMOTEVIEWS:
com.samsung.felica.action.LOCKSTATUS_LOCK:com.samsung.felica.action.LOCKSTATUS_UNLOCK:com.samsung.intent.action.ICC_CARD_STATE_CHANGED:com.samsung.intent.action.SIMDB_UNKNOWN_READY:com.InamsitinCard com.samsung.knox.ACTION_CANCEL_NOTIFICATION:com.samsung.knox.ACTION_NEW_NOTIFICATION:com.samsung.knox.clipboard.clipremoved:com.samsung.knox.clipboard.clipscleared:com.samsung.ung.knox.clipboard.clips knox.fmc_incoming_call:com.samsung.location.SERVICE_READY:com.samsung.pen.INSERT.USER_SWITCH:com.samsung.pen.INSERT:com.samsung.sec.android.clockpackage.alarm.ALARM_ALERT:com.samsung.sec。 android.clockpackage.alarm.ALARM_ALERT_FROM_ALARM:com.samsung.sec.android.clockpackage.alarm.ALARM_STARTED_IN_ALERT:com.samsung.sec.android.clockpackage.alarm.ALARM_STOP:com.samsung.sec.android.clockpackage.alarm_INARM_RTP: com.samsung.spdsuccess:com.samsung.wfd.RESULT_WFD_UPDATE:com.s amsung.wfd.WFD_SESSION_ESTABLISHED:com.samsung.wfd.WFD_SESSION_TERMINATED:com.sec.GMS_bundling:com.sec.android.FindingLostPhone.CANCEL:com.sec.android.FindingLostPhone.SUBSCRIBE:com.sec.android.FindingLostPhone.SUBSCRIBE: com.sec.android.FindingLostPhonePlus.SUBSCRIBE:com.sec.android.Keyguard.SIDE_TOUCH_UNLOCK:com.sec.android.LTE_CA_PARAMETER:com.sec.android.LTE_WIDEBAND_INFO:com.sec.android.action.CLEAR_MISSED_EVENT:com.sec。 android.action.NOTIFY_FOCUS_WINDOWS:com.sec.android.action.NOTIFY_MULTIWINDOW_STATUS:com.sec.android.action.NOTIFY_SPLIT_WINDOWS:com.sec.android.app.GCF_MODE_ACTION:com.sec.android.app.camera.ACTION_START_BACK_CAM sec.android.app.camera.ACTION_START_COVER_CAMERA:com.sec.android.app.camera.ACTION_START_FRONT_CAMERA:com.sec.android.app.camera.ACTION_STOP_CAMERA:com.sec.android.app.camera.ACTION_STOP_COVER_CAMERA:com.sec。 android.app.clockpackage.timer.TIMER_STARTED_IN_ALERT:
com.sec.android.app.dictionary.SEARCH:com.sec.android.app.launcher.MOVE_TO_PRIVATE:com.sec.android.app.mms.CB_CLEAR:com.sec.android.app.mms.SMS_CB_DIRECT_DISPLAY_RECEIVED:com。 sec.android.app.mms.SSMS_STATE_FILE_UPDATE:com.sec.android.app.nfctest.GET_ESE_TYPE:com.sec.android.app.nfctest.NFC_CHECK_ESE:com.sec.android.app.nfctest.NFC_CHECK_SIM:com.sec。 android.app.nfctest.NFC_DISCOVERY_DISABLE:com.sec.android.app.nfctest.NFC_DISCOVERY_ENABLE:com.sec.android.app.nfctest.NFC_ON_NO_DISCOVERY:com.sec.android.app.nfctest.NFC_TEST_END。com。 app.nfctest.NFC_TEST_START:com.sec.android.app.nfctest.PRBS_TEST_OFF:com.sec.android.app.nfctest.PRBS_TEST_ON:com.sec.android.app.nfctest.SET_ESE_TYPE:com.sec.android.app。 ocr.OCR_SIP_TEXT:com.sec.android.app.ocr3.OCR_SIP_TEXT:com.sec.android.app.ocrlite.OCR_SIP_TEXT:com.sec.android.app.secsetupwizard.SETUPWIZARD_COMPLETE:com.sec.android.app.tmserver。 mirrorlink:com.se c.android.contextaware.HEADSET_PLUG:com.sec.android.emergencymode.UltraPowerSavingManager.ORDER_ULTRA_POWERSAVING_SERVICE:com.sec.android.enterprisenotificationcenter.ENTERPRISE_MODE_CHANGE:com.sec.android.inputmethod.ACTION_ALARM_LIVELANGUAGE:COM。 com.sec.android.inputmethod.language_downloaded:com.sec.android.intent.action.BUNDLING_POLICY_UPDATED:com.sec.android.intent.action.EMERGENCY_MODE_CHANGED:com.sec.android.intent.action.INTERNAL_SPEAKER:com.sec。 android.intent.action.PAUSE_WATCH:com.sec.android.intent.action.POWER_SAVING_MODE_CHANGED:com.sec.android.intent.action.QUICK_SHOT:com.sec.android.intent.action.REQUEST_BACKUP_LOCKSCREEN:com.sec.android。 intent.action.REQUEST_RESTORE_LOCKSCREEN:com.sec.android.intent.action.SSRM_MDNIE_CHANGED:com.sec.android.intent.action.SSRM_REQUEST:com.sec.android.intent.action.ULTRA_POWER_SAVING_MODE_CHANGED:
com.sec.android.phone.CHANGED_CALL_NUMBER:com.sec.android.phone.action.DataEnable:com.sec.android.quicksetting.REFRESH:com.sec.android.sconnect.service.ENABLED:com.sec.android。 sidesync.action.FINISH_SIDESYNC_APP:com.sec.android.sidesync.action.KMS_KEYBOARD:com.sec.android.sidesync.action.PSS_KEYBOARD:com.sec.android.sidesync.source.SERVICE_DESTROY:com.sec.android.sidesync。 source.SET_BINDER:com.sec.android.sidesync.source.SIDESYNC_CONNECTED:com.sec.android.sidesync.source.SIDESYNC_HIDE_SIP:com.sec.android.sidesync.source.SIDESYNC_INPUT_KEY:com.sec.android.sidesync.source。 SIDESYNC_LANGUAGE_ID:com.sec.android.widgetapp.ap.accuweatherdaemon.action.AUTO_REFRESH:com.sec.android.widgetapp.ap.accuweatherdaemon.action.CHANE_SETTING:com.sec.android.widgetapp.ap.accuweatherdaemon.action.CHANGE_WEATHER_DATA com.sec.android.widgetapp.ap.accuweatherdaemon.action.WEATHER_DATE_SYNC:com.sec.factory.app.factorytest.FTA_OFF:com.sec.f actory.app.factorytest.FTA_ON:... *粘性動作android.hardware.usb.action.USB_CABLE_STATE:*粘性動作android.hardware.usb.action.USB_STATE:*粘性動作android.intent.action.ANY_DATA_STATE:*粘性操作android.intent.action.BATTERY_CHANGED:*粘貼操作android.intent.action.CHECK_HMT_LEVEL:*粘貼操作android.intent.action.HDMI_PLUGGED:*粘貼操作android.intent.action.MAX_BRIGHTNESS_CHANGED:*粘貼操作android.intent.action .NETWORK_SET_TIMEZONE:*粘性動作android.intent.action.SERVICE_STATE:*粘性動作android.intent.action.SIG_STR:*粘性動作android.intent.action.SIM_STATE_CHANGED:*粘性動作android.intent.action.SIOP_LEVEL_CHANGED:*粘性動作android.media.ACTION_SCO_AUDIO_STATE_UPDATED:*粘貼動作android.media.MASTER_MUTE_CHANGED_ACTION:*粘貼動作android.media.RINGER_MODE_CHANGED:*粘貼動作android.media.SCO_AUDIO_STATE_CHANGED:*粘貼動作android.net.conn.CONNECTIVITY_CHAN:
*粘性動作android.net.conn.CONNECTIVITY_CHANGE_IMMEDIATE:*粘性動作android.net.conn.INET_CONDITION_ACTION:*粘性動作android.net.conn.TETHER_STATE_CHANGED:*粘性動作android.net.nsd.STATE_CHANGED:*粘性動作android.net .wifi.STATE_CHANGE:*粘性動作android.net.wifi.WIFI_STATE_CHANGED:*粘性動作android.net.wifi.p2p.CONNECTION_STATE_CHANGE:*粘性動作android.net.wifi.p2p.PERSISTENT_GROUPS_CHANGED:*粘性動作android.net.wifi .p2p.STATE_CHANGED:*粘貼動作android.net.wifi.p2p.THIS_DEVICE_CHANGED:*粘貼動作android.net.wifi.supplicant.STATE_CHANGE:*粘貼動作android.os.UpdateLock.UPDATE_LOCK_CHANGED:*粘貼動作android.provider.Telephony .SPN_STRINGS_UPDATED:*粘貼動作com.samsung.android.providers.context.intent.APP_CREATED:*粘貼動作com.samsung.glove.ENABLE:*粘貼動作com.samsung.pen.INSERT:*粘貼動作com.sec.intent .action.SYSSCOPESTATUS: 
這是轉儲所有已註冊的活動,還是僅轉儲命令運行時實際觸發的意圖?
我相信所有人都註冊了一個,但實際上是IDK,因為IDK如何檢查...
miracle2k
2012-05-07 22:41:05 UTC
view on stackexchange narkive permalink

自動啟動解析應用程序清單。那確實是最好的方法。

(Android SDK附帶了一個看似自動生成的broadcast_actions.txt文件,但根據我的經驗,它還不完整)。

取決於所需的內容,您需要考慮:

  • 該應用可以廣播自定義事件,其他應用可以監聽這些自定義事件。
  • 該應用可以註冊自己以在運行時接收事件,而不是靜態地在清單中。自動啟動不會列出這些事件,而且我不知道這種臨時註冊會以任何方式公開。
  • 自動啟動僅列出廣播事件。事件也可以直接發送到特定應用程序的特定活動。自動啟動不會列出這些信息,但是可以在清單中找到信息。

您還可以在手機上查看/data/system/packages.xml,這是PackageManager服務的位置。緩存有關已安裝軟件包的信息(因此不必解析清單)。我不記得它是否包含有關意圖的信息-我隱約記得它可能不包含任何已禁用的應用程序組件,但我不確定。

Chahk
2011-05-18 23:49:22 UTC
view on stackexchange narkive permalink

根據stackoverflow上的幾個其他 相似 問題,此類列表無法通過API獲得。

I我不確定 Tasker之類的應用如何生成此類列表。我不排除通過 queryIntentActivities()函數遍歷所有可能的意圖,甚至不解析每個已安裝應用程序的清單文件的情況。



該問答將自動從英語翻譯而來。原始內容可在stackexchange上找到,我們感謝它分發的cc by-sa 3.0許可。
Loading...