android学习笔记六

时间:2022-07-16 04:34:09

Android中Activity的Intent大全

Api Level 3: (SDK 1.5)

  1. android.intent.action.ALL_APPS
  2. android.intent.action.ANSWER
  3. android.intent.action.ATTACH_DATA
  4. android.intent.action.BUG_REPORT
  5. android.intent.action.CALL
  6. android.intent.action.CALL_BUTTON
  7. android.intent.action.CHOOSER
  8. android.intent.action.CREATE_LIVE_FOLDER
  9. android.intent.action.CREATE_SHORTCUT
  10. android.intent.action.DELETE
  11. android.intent.action.DIAL
  12. android.intent.action.EDIT
  13. android.intent.action.GET_CONTENT
  14. android.intent.action.INSERT
  15. android.intent.action.INSERT_OR_EDIT
  16. android.intent.action.MAIN
  17. android.intent.action.MEDIA_SEARCH
  18. android.intent.action.PICK
  19. android.intent.action.PICK_ACTIVITY
  20. android.intent.action.RINGTONE_PICKER
  21. android.intent.action.RUN
  22. android.intent.action.SEARCH
  23. android.intent.action.SEARCH_LONG_PRESS
  24. android.intent.action.SEND
  25. android.intent.action.SENDTO
  26. android.intent.action.SET_WALLPAPER
  27. android.intent.action.SYNC
  28. android.intent.action.SYSTEM_TUTORIAL
  29. android.intent.action.VIEW
  30. android.intent.action.VOICE_COMMAND
  31. android.intent.action.WEB_SEARCH
  32. android.net.wifi.PICK_WIFI_NETWORK
  33. android.settings.AIRPLANE_MODE_SETTINGS
  34. android.settings.APN_SETTINGS
  35. android.settings.APPLICATION_DEVELOPMENT_SETTINGS
  36. android.settings.APPLICATION_SETTINGS
  37. android.settings.BLUETOOTH_SETTINGS
  38. android.settings.DATA_ROAMING_SETTINGS
  39. android.settings.DATE_SETTINGS
  40. android.settings.DISPLAY_SETTINGS
  41. android.settings.INPUT_METHOD_SETTINGS
  42. android.settings.INTERNAL_STORAGE_SETTINGS
  43. android.settings.LOCALE_SETTINGS
  44. android.settings.LOCATION_SOURCE_SETTINGS
  45. android.settings.MANAGE_APPLICATIONS_SETTINGS
  46. android.settings.MEMORY_CARD_SETTINGS
  47. android.settings.NETWORK_OPERATOR_SETTINGS
  48. android.settings.QUICK_LAUNCH_SETTINGS
  49. android.settings.SECURITY_SETTINGS
  50. android.settings.SETTINGS
  51. android.settings.SOUND_SETTINGS
  52. android.settings.SYNC_SETTINGS
  53. android.settings.USER_DICTIONARY_SETTINGS
  54. android.settings.WIFI_IP_SETTINGS
  55. android.settings.WIFI_SETTINGS
  56. android.settings.WIRELESS_SETTINGS

Api Level 4 增加的:(SDK 1.6)

  1. android.intent.action.POWER_USAGE_SUMMARY
  2. android.intent.action.SEND_MULTIPLE
  3. android.speech.tts.engine.CHECK_TTS_DATA
  4. android.speech.tts.engine.INSTALL_TTS_DATA

Api Level 5 增加的:(SDK 2.0)

  1. android.bluetooth.adapter.action.REQUEST_DISCOVERABLE
  2. android.bluetooth.adapter.action.REQUEST_ENABLE
  3. android.settings.ACCESSIBILITY_SETTINGS
  4. android.settings.PRIVACY_SETTINGS

Api Level 6 (SDK 2.0.1)、Api Level 7 (SDK 2.1和Api Level 5 (SDK 2.0)一样,没有增加。

Api Level 8 增加的:(SDK 2.2)

  1. android.app.action.ADD_DEVICE_ADMIN
  2. android.app.action.SET_NEW_PASSWORD
  3. android.intent.action.MUSIC_PLAYER
  4. android.search.action.SEARCH_SETTINGS
  5. android.settings.ADD_ACCOUNT_SETTINGS
  6. android.settings.DEVICE_INFO_SETTINGS

后面会把broadcast、categories、service、widgets 这些intent都列出来。