上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: 1 关于wifi的操作主要包括以下几个类和接口:1.1 ScanResult:主要用来描述已经检测出的接入点,包括介入点的地址,介入点的名称,身份认证,频率,信号强度等信息1.2 wifiConfiguration:wifi网络的配置,包括安全配置等1.3 wifiInfo:wifi无线连接的描述,包括接入点,网络连接状态,隐藏的接入点,IP地址,连接速度,mac地址,网络ID,信号强度等信息。1.4 wifiManager:提供了管理wifi连接的大部分API,它主要包括如下内容:a)已经配置好的网络的清单。这个清单可以查看和修改,而且可以修改个别记录的属性b) 当连接中有活动的wi-fi网 阅读全文
posted @ 2011-10-30 15:51 程序学习笔记 阅读(996) 评论(1) 推荐(0) 编辑
摘要: 1. /TestTabWidget/res/layout/main.xml: 1 <?xml version="1.0" encoding="utf-8"?> 2 <TabHost xmlns:android="http://schemas.android.com/apk/res/android" 3 android:id="@android:id/tabhost" 4 android:layout_width="fill_parent" 5 android:layout_he 阅读全文
posted @ 2011-10-30 15:47 程序学习笔记 阅读(3508) 评论(0) 推荐(1) 编辑
摘要: 1. DataBaseOpenHelp: 1 package com.vanceinfo.service; 2 3 import android.content.Context; 4 import android.database.sqlite.SQLiteDatabase; 5 import android.database.sqlite.SQLiteOpenHelper; 6 7 public class DataBaseOpenHelp extends SQLiteOpenHelper 8 { 9 10 private static final String SQLITE_N... 阅读全文
posted @ 2011-10-30 15:44 程序学习笔记 阅读(249) 评论(0) 推荐(0) 编辑
摘要: SpinnerActivity: 1 import android.app.Activity; 2 import android.os.Bundle; 3 import android.view.View; 4 import android.widget.AdapterView; 5 import android.widget.AdapterView.OnItemSelectedListener; 6 import android.widget.ArrayAdapter; 7 import android.widget.Spinner; 8 import android.widget.Text 阅读全文
posted @ 2011-10-30 15:40 程序学习笔记 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 1./TestSharedPreferences/res/layout/main.xml: 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:orientation="vertical" 4 android:layout_width="fill_parent" 5 android 阅读全文
posted @ 2011-10-30 15:36 程序学习笔记 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 1./TestSeekBar/res/layout/main.xml: 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:orientation="vertical" 4 android:layout_width="fill_parent" 5 android:layout_he 阅读全文
posted @ 2011-10-30 15:31 程序学习笔记 阅读(4265) 评论(1) 推荐(0) 编辑
摘要: 1. /TestScrollView/res/layout/main.xml: 1 <?xml version="1.0" encoding="utf-8"?> 2 <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 3 android:id="@+id/scrollview" android:layout_width="fill_parent" 4 android:layout_heig 阅读全文
posted @ 2011-10-30 15:28 程序学习笔记 阅读(503) 评论(0) 推荐(0) 编辑
摘要: RadioGroupRadioButtonActivity: 1 package com.vanceinfo.RadioGroupRadioButton; 2 3 import android.app.Activity; 4 import android.os.Bundle; 5 import android.widget.RadioButton; 6 import android.widget.RadioGroup; 7 import android.widget.Toast; 8 import android.widget.RadioGroup.OnCheckedChangeListen. 阅读全文
posted @ 2011-10-30 15:24 程序学习笔记 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1./TestProgerssDialog/res/layout/main.xml: 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:orientation="vertical" 4 android:layout_width="fill_parent" 5 android:la 阅读全文
posted @ 2011-10-30 14:09 程序学习笔记 阅读(2466) 评论(0) 推荐(0) 编辑
摘要: 1./TestProgressBar/res/layout/main.xml: 1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:orientation="vertical" 4 android:layout_width="fill_parent" 5 android:layou 阅读全文
posted @ 2011-10-30 14:07 程序学习笔记 阅读(390) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页