06 2014 档案

摘要:方法一:[delphi]usesComObj,DateUtils;functionGetInternetTime:string;varXmlHttp:OleVariant;datetxt:string;DateLst:TStringList;mon:string;timeGMT,GetNetTime... 阅读全文
posted @ 2014-06-30 15:53 老榕树 阅读(331) 评论(0) 推荐(0) 编辑
摘要:import android.app.Activity;import android.app.AlertDialog;import android.app.Dialog;import android.content.DialogInterface;import android.os.Bundle;i... 阅读全文
posted @ 2014-06-29 16:09 老榕树 阅读(289) 评论(0) 推荐(0) 编辑
摘要:http://developer.android.com/tools/sdk/eclipse-adt.html 要求 22.3https://dl.google.com/android/android-sdk_r22.3-windows.ziphttp://dl.google.com/android... 阅读全文
posted @ 2014-06-24 16:58 老榕树 阅读(131) 评论(0) 推荐(0) 编辑
摘要:WebBrowser自动填充打开文件对话框2013年06月24日⁄代码⁄ 共 1456字 ⁄ 字号小中大⁄暂无评论⁄ 阅读 882 views 次在使用WebBrowser编写自动表单填写软件的时候,不知道大家是否遇到国填写文件选择表单的情况。遇到这种情况的时候,无法直接队Html元素赋值,必须模拟... 阅读全文
posted @ 2014-06-24 16:56 老榕树 阅读(809) 评论(0) 推荐(0) 编辑
摘要:Android Service 服务(一)—— Service一、 Service简介Service是android 系统中的四大组件之一(Activity、Service、BroadcastReceiver、ContentProvider),它跟Activity的级别差不多,但不能自己运行只能后台... 阅读全文
posted @ 2014-06-20 09:39 老榕树 阅读(191) 评论(0) 推荐(0) 编辑
摘要:有按钮的ListView但是有时候,列表不光会用来做显示用,我们同样可以在在上面添加按钮。添加按钮首先要写一个有按钮的xml文件,然后自然会想到用上面的方法定义一个适配器,然后将数据映射到布局文件上。但是事实并非这样,因为按钮是无法映射的,即使你成功的用布局文件显示出了按钮也无法添加按钮的响应,这时... 阅读全文
posted @ 2014-06-19 22:18 老榕树 阅读(698) 评论(0) 推荐(0) 编辑
摘要:main.xml item.xml 主要代码public class MainActivity extends Activity {private ListView listView; @Override protected void onCreate(Bundle s... 阅读全文
posted @ 2014-06-18 18:08 老榕树 阅读(584) 评论(0) 推荐(0) 编辑
摘要:Android listview与adapter用法listview与adapter用法博客分类:android一个ListView通常有两个职责。(1)将数据填充到布局。(2)处理用户的选择点击等操作。第一点很好理解,ListView就是实现这个功能的。第二点也不难做到,在后面的学习中读者会发现,... 阅读全文
posted @ 2014-06-13 23:29 老榕树 阅读(1099) 评论(0) 推荐(0) 编辑
摘要:........... .................contact_item.xml 读取通讯录信息 返回ArrayList>public ArrayList> readContacts() { ArrayList> lstMap = new ArrayL... 阅读全文
posted @ 2014-06-13 10:31 老榕树 阅读(236) 评论(0) 推荐(0) 编辑
摘要:public void testInsert() { ContentValues values = new ContentValues();/* * 首先向RawContacts.CONTENT_URI执行一个空值插入,目的是获得系统返回的rawContactId */ Uri rawContact... 阅读全文
posted @ 2014-06-12 16:51 老榕树 阅读(970) 评论(2) 推荐(1) 编辑
摘要:设置读取权限 主要代码public void readContacts() { Cursor cursor = this.getContentResolver().query( ContactsContract.Contacts.CONTENT_URI, null, null, null... 阅读全文
posted @ 2014-06-12 16:31 老榕树 阅读(554) 评论(0) 推荐(0) 编辑
摘要:try { HttpGet httpRequest = new HttpGet(edtUrl.getText() .toString()); HttpClient httpclient = new DefaultHttpClient(); HttpResponse res... 阅读全文
posted @ 2014-06-12 15:23 老榕树 阅读(183) 评论(0) 推荐(0) 编辑
摘要:谢谢管理员 很喜欢这个界面 昵称也能使用 阅读全文
posted @ 2014-06-12 15:16 老榕树 阅读(104) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示