
android
文章平均质量分 65
lzynihao
这个作者很懒,什么都没留下…
展开
-
android sdk 介绍
<br />1、打开下载的E:/android-sdk-windows/docs/guide 下面的index.html 文档,就看到了英文版的sdk介绍 <br />下面是截图:<br /><br />可以选择性的读一下相关的内容。如 what is android ? Developing 中的Tools 中的内容。<br />2、在Managing Projects 的子菜单的From Eclipse with ADT 中有如何creating an android project 和 setting原创 2011-05-25 22:16:00 · 537 阅读 · 0 评论 -
DatePicker 和DatePickerDialog和AutoCompleteTextView
1、创建一个按钮监听click事件。2、click事件中显示Dialog .3、监听器,用户监听用户点下DatePikerDialog的set按钮时,所设置的年月日 注意:月份是从0开始的,日期是从1开始的。注意加一。1、声明一个AutoCompleteTextView 在布局中2、在res/layout文件夹中新建一个布局文件,名为list_item声明一些样式3、需要ArrayAdapte原创 2011-06-30 19:14:00 · 483 阅读 · 0 评论 -
android Spinner (like flex combox)
一、spinner 的创建1、首先在布局中声明:android:layout_height="wrap_content" />2、在strings.xml中声明一个数组 Mercury Venus Venus Venus Venus3、创建一个A一个ArrayAdapter:ArrayAdapter adapter= ArrayAdapter.createFormResource(this,R.原创 2011-06-30 16:51:00 · 2510 阅读 · 0 评论 -
wifi and socket and service
wifi 就是一种无线联网的技术,无线路由器。wifi 网卡的状态需要常量表示:1.WIFI_STATE_DISABLED:不可用2.WIFI_STATE_DISABLING :正在被关闭WifiManger wifiManger = (WifiManger)Context .getSystemSERVICE(service.WIFI_SERVICE)socket ServerSocket原创 2011-06-29 23:03:00 · 762 阅读 · 0 评论 -
android程序调试和访问网络进行下载
1、开发视频调试程序。logcat 和flex中的trace差不多。2、SQLiteDatabase File Explorer 可以通过pull和push 进行填入和输出一个文件。3、对以sorry! The application sqlite has sttopped unexpectedly . 如何去查找问题的错误,需要日志log。点击DDMS 中logcat中E W I D V 进行查原创 2011-06-28 07:18:00 · 956 阅读 · 0 评论 -
部分接口和类的学习
1、Handler的基本概念 A Handler allows you to send and process Message and Runnable objects associated with a threads MessageQueue. Handler handler = new Handler();handler.post(updateThread);//调用Han原创 2011-06-27 08:16:00 · 414 阅读 · 0 评论 -
android-Handler 初体验
1、Handler的基本概念 A Handler allows you to send and process Message and Runnable objects associated with a threads MessageQueue. Handler handler = new Handler();handler.post(updateThread);//调用Handler的p原创 2011-06-21 17:02:00 · 426 阅读 · 0 评论 -
android -fanfou-project-source study
1、android.database.Cursor is a interface ,this interface provides random read-write access to the result set returned by a database query . Cursor implementations are not required to be synch原创 2011-06-20 16:20:00 · 661 阅读 · 0 评论 -
Activity 生命周期
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 /* Style Def原创 2011-06-10 01:21:00 · 443 阅读 · 0 评论 -
简单的Activity和Intent
1、Activity和用户关系比较密切,用于创建窗口,布局等。可以阅读一下英文doc,创建一个activity要 extends Activity;2、一个Intent对象包含一组信息:Componentname (Activity 的名字)Action (动作 like :ACTION_CALL,详细查找API)Data CategoryExtras (用于传键值对)Flags创建Intent对象 需要new 3、自定义的Activity02和Other原创 2011-06-03 00:44:00 · 522 阅读 · 0 评论 -
android环境配置
1、下载并安装jdk。2、下载eclipse并安装android的插件。网址: http://dl-ssl.google.com/android/eclipse ;3、安装 android sdk and avd manager ,下载对应的sdk版本和api4、配置virtual device 将安装好的sdk 选择一个配置好。5、在eclipse 中的新建的android 工程里面,配置工程的通过properties 勾选android的target 和java bulid path。6、编写程序测原创 2011-05-23 23:02:00 · 398 阅读 · 0 评论 -
Tizen Developer website
The webpage is simple and easy to explore.https://developer.tizen.org/原创 2012-07-25 13:26:10 · 316 阅读 · 0 评论