摘要: sourceurl:http://www.cnblogs.com/TerryBlog/archive/2010/07/05/1771459.html使用过 SQLite 数据库的童鞋对 Cursor 应该不陌生,如果你是搞.net 开发你大可以把Cursor理解成 Ado.net 中的数据集合相当于dataReader。今天特地将它单独拿出来谈,加深自己和大家对Android 中使用 Cursor 的理解。关于Cursor在你理解和使用 Android Cursor 的时候你必须先知道关于 Cursor 的几件事情:Cursor 是每行的集合。使用 moveToFirst() 定位第一行。你必 阅读全文
posted @ 2011-11-18 10:30 hnrainll 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 1. 继承Threadpackage com.sunplusedu;public class JavaTest { public static void main(String args[]){ new MyThread().start(); int i = 10; for(i = 10; i > 0; i--){ System.out.println("in the main "+i); try { Thread.currentThread(); ... 阅读全文
posted @ 2011-11-18 07:08 hnrainll 阅读(413) 评论(0) 推荐(0) 编辑