上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 41 下一页
摘要: 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 阅读(11492) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-05-05 16:18 zqxLonely 阅读(135) 评论(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 阅读(1280) 评论(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 阅读(2276) 评论(0) 推荐(0) 编辑
摘要: 重写viewbinder 再给simpleadapter设置viewbinder 阅读全文
posted @ 2016-05-05 15:04 zqxLonely 阅读(421) 评论(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 阅读(613) 评论(0) 推荐(0) 编辑
摘要: if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) { //判断sdcard是否存在和是否具有读写权限 try{ String sdcard_path = Environment.getExternalSto... 阅读全文
posted @ 2016-05-05 15:00 zqxLonely 阅读(198) 评论(0) 推荐(0) 编辑
摘要: #includestruct tree{ int data; tree *left,*right;};class Btree{ static int n; static int m;public: tree *root; Btree() { r... 阅读全文
posted @ 2015-10-29 13:13 zqxLonely 阅读(355) 评论(0) 推荐(0) 编辑
摘要: 表达式求值时间限制:3000ms | 内存限制:65535KB难度:4描述ACM队的mdd想做一个计算器,但是,他要做的不仅仅是一计算一个A+B的计算器,他想实现随便输入一个表达式都能求出它的值的计算器,现在请你帮助他来实现这个计算器吧。比如输入:“1+2/4=”,程序就输出1.50(结果保留两位小... 阅读全文
posted @ 2015-10-29 10:47 zqxLonely 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Binary String Matching时间限制:3000ms | 内存限制:65535KB难度:3描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell ho... 阅读全文
posted @ 2015-10-27 10:50 zqxLonely 阅读(176) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 41 下一页