上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 43 下一页
摘要: 在webview中,我们需要获取网站的favicon.ico图标,但是默认状态下,WebChromeClient中的onReceivedIcon方法获取到的icon总是为null;webview.getFavicon();获得到的还是null,这个就奇怪了,于是经过一番google,发现老外也遇到了 阅读全文
posted @ 2016-05-06 17:52 zqxLonely 阅读(1262) 评论(0) 推荐(0)
摘要: 前一个activity跳转到后一个activity设置code: 重写前一个activity的onActivityResult方法: 后一个activity跳转到前一个activity设置code: 阅读全文
posted @ 2016-05-06 15:54 zqxLonely 阅读(381) 评论(0) 推荐(0)
摘要: 设置从当前页面打开链接,而不是跳转到系统默认浏览器打开: 阅读全文
posted @ 2016-05-06 11:42 zqxLonely 阅读(310) 评论(0) 推荐(0)
摘要: SQLite操作类: SQLite初始化: SQLite插入数据: SQLite查询数据: 阅读全文
posted @ 2016-05-05 17:02 zqxLonely 阅读(282) 评论(0) 推荐(0)
摘要: Calendar calendar=Calendar.getInstance(); //获取当前时间,作为图标的名字 String year=calendar.get(Calendar.YEAR)+""; String month=calendar.get(Calendar.MONTH)+1+""; String day=... 阅读全文
posted @ 2016-05-05 16:48 zqxLonely 阅读(11518) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-05-05 16:18 zqxLonely 阅读(139) 评论(0) 推荐(0)
摘要: listview_bookmark.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView parent, View view, int position, long id) { ... 阅读全文
posted @ 2016-05-05 15:33 zqxLonely 阅读(1291) 评论(0) 推荐(0)
摘要: public void onItemClick(AdapterView<?> arg0, View view, int position, long arg3) X, Y两个listview,X里有1,2,3,4这4个item,Y里有a,b,c,d这4个item。 如果你点了b这个item。如下: 阅读全文
posted @ 2016-05-05 15:27 zqxLonely 阅读(2298) 评论(0) 推荐(0)
摘要: 重写viewbinder 再给simpleadapter设置viewbinder 阅读全文
posted @ 2016-05-05 15:04 zqxLonely 阅读(434) 评论(0) 推荐(0)
摘要: String sdcard_path=Environment.getExternalStorageDirectory().getCanonicalPath(); String file_path=sdcard_path+"/xinyuelantu/browser/favicon/test.jpg"; bitmap= BitmapFactory.de... 阅读全文
posted @ 2016-05-05 15:01 zqxLonely 阅读(620) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 43 下一页