andeoid学习笔记七

摘要:
ApiLevel3:(SDK1.5)Xml代码android.bluetooth.a2dp.intent.action。SINK_ STATE_ CHANGEDandroid.bluetooth.intent.action(水槽状态改变)。蓝牙_状态_更改android.BLUETOOTH.intent.action。债券状态

Android中Broadcast的Intent大全

Api Level 3:(SDK 1.5)

Xml代码
  1. android.bluetooth.a2dp.intent.action.SINK_STATE_CHANGED
  2. android.bluetooth.intent.action.BLUETOOTH_STATE_CHANGED
  3. android.bluetooth.intent.action.BOND_STATE_CHANGED_ACTION
  4. android.bluetooth.intent.action.DISCOVERY_COMPLETED
  5. android.bluetooth.intent.action.DISCOVERY_STARTED
  6. android.bluetooth.intent.action.HEADSET_ADUIO_STATE_CHANGED
  7. android.bluetooth.intent.action.HEADSET_STATE_CHANGED
  8. android.bluetooth.intent.action.NAME_CHANGED
  9. android.bluetooth.intent.action.PAIRING_CANCEL
  10. android.bluetooth.intent.action.PAIRING_REQUEST
  11. android.bluetooth.intent.action.REMOTE_DEVICE_CONNECTED
  12. android.bluetooth.intent.action.REMOTE_DEVICE_DISAPPEARED
  13. android.bluetooth.intent.action.REMOTE_DEVICE_DISAPPEARED
  14. android.bluetooth.intent.action.REMOTE_DEVICE_DISCONNECTED
  15. android.bluetooth.intent.action.REMOTE_DEVICE_DISCONNECT_REQUESTED
  16. android.bluetooth.intent.action.REMOTE_DEVICE_FOUND
  17. android.bluetooth.intent.action.REMOTE_NAME_FAILED
  18. android.bluetooth.intent.action.REMOTE_NAME_UPDATED
  19. android.bluetooth.intent.action.SCAN_MODE_CHANGED
  20. android.intent.action.AIRPLANE_MODE
  21. android.intent.action.BATTERY_CHANGED
  22. android.intent.action.BATTERY_LOW
  23. android.intent.action.BOOT_COMPLETED
  24. android.intent.action.CAMERA_BUTTON
  25. android.intent.action.CONFIGURATION_CHANGED
  26. android.intent.action.DATA_SMS_RECEIVED
  27. android.intent.action.DATE_CHANGED
  28. android.intent.action.DEVICE_STORAGE_LOW
  29. android.intent.action.DEVICE_STORAGE_OK
  30. android.intent.action.GTALK_CONNECTED
  31. android.intent.action.GTALK_DISCONNECTED
  32. android.intent.action.HEADSET_PLUG
  33. android.intent.action.INPUT_METHOD_CHANGED
  34. android.intent.action.MANAGE_PACKAGE_STORAGE
  35. android.intent.action.MEDIA_BAD_REMOVAL
  36. android.intent.action.MEDIA_BUTTON
  37. android.intent.action.MEDIA_CHECKING
  38. android.intent.action.MEDIA_EJECT
  39. android.intent.action.MEDIA_MOUNTED
  40. android.intent.action.MEDIA_NOFS
  41. android.intent.action.MEDIA_REMOVED
  42. android.intent.action.MEDIA_SCANNER_FINISHED
  43. android.intent.action.MEDIA_SCANNER_SCAN_FILE
  44. android.intent.action.MEDIA_SCANNER_STARTED
  45. android.intent.action.MEDIA_SHARED
  46. android.intent.action.MEDIA_UNMOUNTABLE
  47. android.intent.action.MEDIA_UNMOUNTED
  48. android.intent.action.NEW_OUTGOING_CALL
  49. android.intent.action.PACKAGE_ADDED
  50. android.intent.action.PACKAGE_CHANGED
  51. android.intent.action.PACKAGE_DATA_CLEARED
  52. android.intent.action.PACKAGE_INSTALL
  53. android.intent.action.PACKAGE_REMOVED
  54. android.intent.action.PACKAGE_REPLACED
  55. android.intent.action.PACKAGE_RESTARTED
  56. android.intent.action.PHONE_STATE
  57. android.intent.action.PROVIDER_CHANGED
  58. android.intent.action.REBOOT
  59. android.intent.action.SCREEN_OFF
  60. android.intent.action.SCREEN_ON
  61. android.intent.action.TIMEZONE_CHANGED
  62. android.intent.action.TIME_SET
  63. android.intent.action.TIME_TICK
  64. android.intent.action.UID_REMOVED
  65. android.intent.action.UMS_CONNECTED
  66. android.intent.action.UMS_DISCONNECTED
  67. android.intent.action.USER_PRESENT
  68. android.intent.action.WALLPAPER_CHANGED
  69. android.media.AUDIO_BECOMING_NOISY
  70. android.media.RINGER_MODE_CHANGED
  71. android.media.VIBRATE_SETTING_CHANGED
  72. android.net.conn.BACKGROUND_DATA_SETTING_CHANGED
  73. android.net.wifi.NETWORK_IDS_CHANGED
  74. android.net.wifi.RSSI_CHANGED
  75. android.net.wifi.SCAN_RESULTS
  76. android.net.wifi.STATE_CHANGE
  77. android.net.wifi.WIFI_STATE_CHANGED
  78. android.net.wifi.supplicant.CONNECTION_CHANGE
  79. android.net.wifi.supplicant.STATE_CHANGE
  80. android.provider.Telephony.SIM_FULL
  81. android.provider.Telephony.SMS_RECEIVED
  82. android.provider.Telephony.WAP_PUSH_RECEIVED
  83. com.google.gservices.intent.action.GSERVICES_CHANGED

Api Level 4增加的:(SDK 1.6)

Xml代码
  1. android.intent.action.ACTION_POWER_CONNECTED
  2. android.intent.action.ACTION_POWER_DISCONNECTED
  3. android.intent.action.ACTION_SHUTDOWN
  4. android.intent.action.BATTERY_OKAY
  5. android.speech.tts.TTS_QUEUE_PROCESSING_COMPLETED
  6. android.speech.tts.engine.TTS_DATA_INSTALLED
  7. com.google.gservices.intent.action.GSERVICES_OVERRIDE

Api Level 5(SDK 2.0)蓝牙部分全部修改,修改后的

Xml代码
  1. android.bluetooth.a2dp.action.SINK_STATE_CHANGED
  2. android.bluetooth.adapter.action.DISCOVERY_FINISHED
  3. android.bluetooth.adapter.action.DISCOVERY_STARTED
  4. android.bluetooth.adapter.action.LOCAL_NAME_CHANGED
  5. android.bluetooth.adapter.action.SCAN_MODE_CHANGED
  6. android.bluetooth.adapter.action.STATE_CHANGED
  7. android.bluetooth.device.action.ACL_CONNECTED
  8. android.bluetooth.device.action.ACL_DISCONNECTED
  9. android.bluetooth.device.action.ACL_DISCONNECT_REQUESTED
  10. android.bluetooth.device.action.BOND_STATE_CHANGED
  11. android.bluetooth.device.action.CLASS_CHANGED
  12. android.bluetooth.device.action.FOUND
  13. android.bluetooth.device.action.NAME_CHANGED
  14. android.bluetooth.devicepicker.action.DEVICE_SELECTED
  15. android.bluetooth.devicepicker.action.LAUNCH
  16. android.bluetooth.headset.action.AUDIO_STATE_CHANGED
  17. android.bluetooth.headset.action.STATE_CHANGED

然后增加的有

Xml代码
  1. android.intent.action.DOCK_EVENT
  2. android.provider.Telephony.SMS_REJECTED

Api Level 6(SDK 2.0.1)没有改变。

Api Level 7(SDK 2.1)增加的:

Xml代码
  1. android.intent.action.LOCALE_CHANGED

Api Level 8(SDK 2.2)增加的:

Xml代码
  1. android.app.action.ACTION_PASSWORD_CHANGED
  2. android.app.action.ACTION_PASSWORD_FAILED
  3. android.app.action.ACTION_PASSWORD_SUCCEEDED
  4. android.app.action.DEVICE_ADMIN_DISABLED
  5. android.app.action.DEVICE_ADMIN_DISABLE_REQUESTED
  6. android.app.action.DEVICE_ADMIN_ENABLED
  7. android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE
  8. android.intent.action.EXTERNAL_APPLICATIONS_UNAVAILABLE
  9. android.media.SCO_AUDIO_STATE_CHANGED

免责声明:文章转载自《andeoid学习笔记七》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇C++星号的含义Ueditor 关于视频上传相关问题下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

相关文章

基于麒麟座开发板2.0的MQTT实现例程

链接--->https://sanwen8.cn/p/649shZ1.html OneNET现已全面适配标准MQTT协议,相信这一功能的增加会**便于开发者进行设备的接入。 OneNET提供了MQTT的C语言版本的SDK供大家使用,接下来我们将利用该SDK,将MQTT协议移植到麒麟座开发板上,希望这边文章能对希望使用MQTT接入OneNET的开发者提...

微软WPF技术应用与实践系列(窗体与导航+容器+模型+数据绑定配多个应用案例)

课程学习地址:http://www.ibeifeng.com/goods.php?id=160 自从微软推出第一个版本的.NET Framework,已经过去差不多8年了。3.0 是第一个随操作系统发布的框架,它附带在每个Windows Vista中,也可以支持Windows XP SP2 和 Windows Server 2003。由于.NET 2.0和...

C#使用XML文件记录操作日志

记录应用程序的操作日志可以使用数据库、文本文件、XML文件等。我这里介绍的是使用 XML 文件记录操作日志。我觉得使用 XML 记录操作日志有如下几点好处:1. 不占用数据库的空间,可以任意的删除历史操作日志。2. DataTable 可以方面的读入 XML 文件,DataTable 也可以方便的保存为 XML 文件。3. 查看日志方便,可以直接打开 XM...

jenkins下JDK、Maven、Gradle、SVN、Tomcat、SDK安装配置

1.JDK安装与配置: 1)下载jdk,根据安装步骤一直点击下一步进行安装,安装完后配置环境变量 计算机→属性→高级系统设置→高级→环境变量 2)系统变量→新建 JAVA_HOME 变量 ,变量值填写jdk的安装目录 3)系统变量→寻找 Path 变量→编辑, 在变量值最后输入%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; (...

WebOS开发环境搭建

++++++++++++++++++++++++++++++++++++++++++ 本文系本站原创,欢迎转载! 转载请注明出处: http://blog.csdn.net/mr_raptor/article/details/7232339 ++++++++++++++++++++++++++++++++++++++++++ 本篇文章翻译自HP palm开...

Android ListPreference的用法

首先,我们明确,preference是和数据存储相关的。       其次,它能帮助我们方便的进行数据存储!为什么这个地方一定要强调下方便的这个词呢?原因是,我们可以根本就不使用,我们有另外的N种办法可以实现同样的功能!它的出现,相当于为我们提供了一个方便的工具,当然了,这个工具并不是必须的。       preference都应用在什么场景呢?    ...