文件名称:BroadcastReceiver
介绍说明--下载内容均来自于网络,请自行研究使用
本範例將運用BroadcastReceiver 的特性,來實作取得手機電池計量的程式;程式中將藉由註冊BroadcastReceiver 時設定的IntentFilter(android.content.IntentFilter),來捕捉系統發出的 Intent.ACTION_BATTERY_CHANGED 這個Action,再藉此取得手機電池的計量結果。-This example will use BroadcastReceiver features, to implement a program to obtain cell phone battery meter program will set the time by up BroadcastReceiver IntentFilter (android.content.IntentFilter), to capture the system sends the Intent.ACTION_BATTERY_CHANGED this Action, and then by This made the measurement results of cell phone batteries.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BroadcastReceiver\.classpath
.................\.project
.................\.settings\org.eclipse.jdt.core.prefs
.................\.........\org.eclipse.jdt.ui.prefs
.................\AndroidManifest.xml
.................\bin\classes.dex
.................\...\EX06_02.apk
.................\...\irdc\ex06_02\EX06_02$1.class
.................\...\....\.......\EX06_02$2.class
.................\...\....\.......\EX06_02$3.class
.................\...\....\.......\EX06_02.class
.................\...\....\.......\R$attr.class
.................\...\....\.......\R$drawable.class
.................\...\....\.......\R$id.class
.................\...\....\.......\R$layout.class
.................\...\....\.......\R$string.class
.................\...\....\.......\R.class
.................\...\resources.ap_
.................\default.properties
.................\gen\irdc\ex06_02\R.java
.................\res\drawable\icon.png
.................\...\layout\main.xml
.................\...\values\color.xml
.................\...\......\strings.xml
.................\src\irdc\ex06_02\EX06_02.java
.................\bin\irdc\ex06_02
.................\gen\irdc\ex06_02
.................\src\irdc\ex06_02
.................\bin\irdc
.................\gen\irdc
.................\res\drawable
.................\...\layout
.................\...\values
.................\src\irdc
.................\.settings
.................\assets
.................\bin
.................\gen
.................\res
.................\src
BroadcastReceiver
.................\.project
.................\.settings\org.eclipse.jdt.core.prefs
.................\.........\org.eclipse.jdt.ui.prefs
.................\AndroidManifest.xml
.................\bin\classes.dex
.................\...\EX06_02.apk
.................\...\irdc\ex06_02\EX06_02$1.class
.................\...\....\.......\EX06_02$2.class
.................\...\....\.......\EX06_02$3.class
.................\...\....\.......\EX06_02.class
.................\...\....\.......\R$attr.class
.................\...\....\.......\R$drawable.class
.................\...\....\.......\R$id.class
.................\...\....\.......\R$layout.class
.................\...\....\.......\R$string.class
.................\...\....\.......\R.class
.................\...\resources.ap_
.................\default.properties
.................\gen\irdc\ex06_02\R.java
.................\res\drawable\icon.png
.................\...\layout\main.xml
.................\...\values\color.xml
.................\...\......\strings.xml
.................\src\irdc\ex06_02\EX06_02.java
.................\bin\irdc\ex06_02
.................\gen\irdc\ex06_02
.................\src\irdc\ex06_02
.................\bin\irdc
.................\gen\irdc
.................\res\drawable
.................\...\layout
.................\...\values
.................\src\irdc
.................\.settings
.................\assets
.................\bin
.................\gen
.................\res
.................\src
BroadcastReceiver