导航

2010年6月2日

摘要: Occasionally, you might need to store a file in a database. The usual approach is to save the file to disk and then update the record in the database that points to the corresponding file name. Androi... 阅读全文

posted @ 2010-06-02 22:15 Enrico Zhang 阅读(307) 评论(0) 推荐(0) 编辑

摘要: Before you access one, you should know a few things about an Android cursor:  A cursor is a collection of rows.  You need to use moveToFirst() because the cursor is positioned before the first row.... 阅读全文

posted @ 2010-06-02 21:17 Enrico Zhang 阅读(593) 评论(0) 推荐(0) 编辑

摘要: Now you know that to retrieve data from a content provider you need to use URIs supplied by that content provider. Because the URIs defined by a content provider are unique to that provider, it is imp... 阅读全文

posted @ 2010-06-02 21:15 Enrico Zhang 阅读(575) 评论(0) 推荐(0) 编辑