摘要:
Android applications are, at least on the T-Mobile G1, limited to 16 MB of heap. It's both a lot of memory for a phone and yet very little for what so 阅读全文
posted @ 2016-08-24 14:44
山高我为峰
阅读(208)
评论(0)
推荐(0)
摘要:
Persisting Data to the Device Edit PagePage History Overview The Android framework offers several options and strategies for persistence: Shared Prefe 阅读全文
posted @ 2016-08-24 14:08
山高我为峰
阅读(265)
评论(0)
推荐(0)
摘要:
Below is a demo application I wrote that creates 100 records programmatically, inserts them using one of two methods, and then displays the time the o 阅读全文
posted @ 2016-08-24 12:28
山高我为峰
阅读(303)
评论(0)
推荐(0)
摘要:
Approach #1: Use a Singleton to Instantiate the SQLiteOpenHelper Declare your database helper as a static instance variable and use the Singleton patt 阅读全文
posted @ 2016-08-24 12:11
山高我为峰
阅读(217)
评论(0)
推荐(0)
摘要:
Overview Cupboard is a way to manage persistence in a sqlite instance for your app. It was written by Hugo Visser. His talk on the library can be foun 阅读全文
posted @ 2016-08-24 11:41
山高我为峰
阅读(311)
评论(0)
推荐(0)
摘要:
Overview For maximum control over local data, developers can use SQLite directly by leveraging SQLiteOpenHelper for executing SQL requests and managin 阅读全文
posted @ 2016-08-24 11:02
山高我为峰
阅读(286)
评论(0)
推荐(0)
浙公网安备 33010602011771号