如题....
android.provider这个包里面根本就没有Telephony这个类啊...求高手指点...
还有android.intent.action.BATTERY_CHANGED 、 android.intent.action.BOOT_COMPLETED
android.provider这个包里面根本就没有Telephony这个类啊...求高手指点...
还有android.intent.action.BATTERY_CHANGED 、 android.intent.action.BOOT_COMPLETED
解决方案 »
- Contacts导入Eclipse 出现错误
- 菜鸟请教,关于eclipse中从一个activity跳转到另一个activity运行unfortunately activity has stopped时提示
- 再问关于runnable的问题
- android EditText 类型转换为Int的问题??
- CTS报错
- 调试android程序时如何查看手机内存使用情况?
- Hierarchy Viewer查看Android应用Option Menu时MenuItem id错误
- 我晕啊。。百度地图。。。,不同界面相同代码-------有的能拿到地理位置有的不能。。。什么原因啊
- 【醒目】求助,怎么在一个listview的适配器中去刷新另一个listview
- android 调用webservice没有查询结果
- 求助!!!类似下拉菜单的控件,有木有??
- android 3.2模拟器怎么反应这么慢?
Telephony.java 是隐藏的。。所以看不到 /***
0519
* Broadcast Action: A new text based SMS message has been received
0520
* by the device. The intent will have the following extra
0521
* values:</p>
0522
*
0523
* <ul>
0524
* <li><em>pdus</em> - An Object[] od byte[]s containing the PDUs
0525
* that make up the message.</li>
0526
* </ul>
0527
*
0528
* <p>The extra values can be extracted using
0529
* {@link #getMessagesFromIntent(Intent)}.</p>
0530
*
0531
* <p>If a BroadcastReceiver encounters an error while processing
0532
* this intent it should set the result code appropriately.</p>
0533
*/
0534
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
0535
public static final String SMS_RECEIVED_ACTION =
0536
"android.provider.Telephony.SMS_RECEIVED";
0537
public static final String ACTION_BATTERY_CHANGED = "android.intent.action.BATTERY_CHANGED";
public static final StringACTION_PRE_BOOT_COMPLETED="android.intent.action.PRE_BOOT_COMPLETED";
都是在Intent类里啊
Telephony.java 是隐藏的。。所以看不到
请问我把源码调出来,然后文件查看调成隐藏可见,为什么还是看不到这个类呢,而且为什么这个action常量要定义在Telephony中啊?
/**
40
* The Telephony provider contains data related to phone operation.
41
*
42
* @hide
43
*/@hide 隐藏标签。。
表示不对外公开 内部使用文件应该在 /frameworks/base/core/java/android/provider/Telephony.java