随笔分类 -  android

摘要:修改xml字体:window→Preferences→General→Colors and Fonts→Basic→Text Font 阅读全文
posted @ 2015-03-20 14:59 galoishelley 阅读(177) 评论(0) 推荐(0)
摘要:PC 下载 *****.apk 通过adb直接安装到android系统 阅读全文
posted @ 2015-03-20 13:43 galoishelley 阅读(353) 评论(0) 推荐(0)
摘要:启动android模拟器时.有时会报The connection to adb is down, and a severe error has occured.的错误.在网友说在任务管理器上把所有adb.exe关闭掉.重启eclipse.但试过不管用.所以在外国网站上找到一种可行的方法:1.先把ec... 阅读全文
posted @ 2015-03-20 09:18 galoishelley 阅读(136) 评论(0) 推荐(0)
摘要:1- df命令查看文件系统的磁盘空间占用情况shell@android:/ # adb shelldf2- 找到data文件夹, 上传adb push /data/SogouInput_android_tv_4.7.5_znds.apk3- 下载adb pull /data/SogouInput_a... 阅读全文
posted @ 2015-03-18 15:42 galoishelley 阅读(314) 评论(0) 推荐(0)
摘要:reference:http://blog.csdn.net/djcken/article/details/7801966 阅读全文
posted @ 2015-02-25 11:25 galoishelley 阅读(316) 评论(0) 推荐(0)
摘要:reference:http://blog.csdn.net/leewenjin/article/details/17386265 阅读全文
posted @ 2015-02-16 14:21 galoishelley 阅读(139) 评论(0) 推荐(0)
摘要:在开发中,常常会碰到这种情况,打开一个activity后,第一个文本框自动获得焦点,同时会弹出软键盘输入框,这样很影响用户体验,现在来看解决方法。 我们先来看看为什么会出现上述情况,原因很简单,文本框默认是会获得焦点的,获得焦点之后当然会继续弹出输入框,等待输入,针对此原因,我们可... 阅读全文
posted @ 2015-02-10 14:15 galoishelley 阅读(392) 评论(0) 推荐(0)
摘要:String str_f = str.substring(0, 1); int i = (Integer.parseInt(str.substring(1)) + 1); // 数字补齐0 DecimalFormat df = new DecimalFormat("0000"); Stri... 阅读全文
posted @ 2015-02-09 16:00 galoishelley 阅读(1282) 评论(0) 推荐(0)