2012年3月1日
摘要: (一)requestWindowFeature(Window.FEATURE_NO_TITLE);// 填充标题栏具体的操作是: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE);// 填充标题栏 setContentView(R.layout.main); requestWindowFeature(); 这句需要在setConten... 阅读全文
posted @ 2012-03-01 20:03 明月照我心 阅读(593) 评论(0) 推荐(0) 编辑
  2012年2月10日
摘要: 使用SQLite数据库执行模糊查询实现: (1)使用db.query方法查询// select * from users where name like %searcherFilter% ;public List<HashMap<String, Object>> queryByLike(String searcherFilter) { Cursor cursor = db.query(TABLE_NAME, null, "name like '%" + searcherFilter + "%'", null, nu 阅读全文
posted @ 2012-02-10 13:58 明月照我心 阅读(2279) 评论(0) 推荐(0) 编辑