文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > 麦子学院Android开发教程TelephonyManager类的使用
侵权投诉

麦子学院Android开发教程TelephonyManager类的使用

Android开发教程TelephonyManager类的使用

Android中经常会涉及到TelephonyManager类的使用,下面我们来看看相关的代码:

main.xml布局文件

java代码:

1. <?xml version="1.0" encoding="utf-8"?>

2. <LinearLayout

xmlns:android="doc.guandang.net;

3. android:orientation="vertical"

4. android:layout_width="fill_parent"

5. android:layout_height="fill_parent">

6.

7.

8. <ScrollView

9. android:fillViewport="true"

10. android:layout_width="fill_parent" 11. android:layout_height="fill_parent">

12.

13. <ListView

14. android:id="@+id/listView"

15. android:layout_width="fill_parent"

16. android:layout_height="fill_parent" />

17. </ScrollView>

18. </LinearLayout>

复制代码

array.xml文件

java代码:

1. <?xml version="1.0" encoding="utf-8"?>

2. <resources>

3.

4. <string-array name="listItem">

5. <item>设备编号</item>

6. <item>SIM卡国别</item>

7. <item>SIM卡序列号</item>

8. <item>SIM卡状态</item>

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email