• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
山高我为峰
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 89 下一页
2016年8月24日
Avoiding memory leaks
摘要: 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
摘要: 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)
inserting a large number of records with SQLiteStatement.
摘要: 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)
Managing SQLite Database
摘要: 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)
Easier SQL with Cupboard
摘要: 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)
Local Databases with SQLiteOpenHelper
摘要: 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)
2016年8月23日
AppCompatActivity、ActionBarActivity、FragmentActivity和Activity的区别
摘要: Activity is the base class of all other activities, I don't think it will be deprecated. The relationship among them is: Activity <<<FragmentActivity  阅读全文
posted @ 2016-08-23 14:53 山高我为峰 阅读(11469) 评论(0) 推荐(0)
Android-Async-Http
摘要: 先来看一下最基本的用法 AsyncHttpClient client = new AsyncHttpClient(); client.get("http://www.google.com", new AsyncHttpResponseHandler() { @Override public void 阅读全文
posted @ 2016-08-23 14:19 山高我为峰 阅读(839) 评论(0) 推荐(0)
如何在Android studio中同时打开多个工程?
摘要: 最近学习Android Studio,想同时打开两个Project。但是点击File->Open之后,原有的Project被关闭掉了。怎么在新的窗口中打开Project呢? 解决: 点击Help->Find Action 阅读全文
posted @ 2016-08-23 10:27 山高我为峰 阅读(1141) 评论(0) 推荐(0)
2016年8月22日
Multi-threading Android Apps for Multi-core Processors – Part 1 of 2
摘要: Can my single-threaded application benefit from multiple cores? How? Even a single-threaded application can benefit from parallel processing on differ 阅读全文
posted @ 2016-08-22 14:13 山高我为峰 阅读(584) 评论(0) 推荐(0)
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 89 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3