`
grass_dcm
  • 浏览: 41266 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论
文章列表
Android上获得语言的方法: String language = Locale.getDefault().getLanguage(); String language = Context.getResources().getConfiguration().locale.getLanguage();
WM手机应用:http://aray.cn/archives/category/windows-mobile/windows-mobile-roms XDA智能手机网:http://www.xda.cn/index.php 灵通163:http://www.lt163.com/wm/soft/Index.html 安卓星空:http://www.starandroid.com/ http://cn.engadget.com/2011/01/07/ces-2011-blackberry-playbook/
如何将整个分支替换服务器端分支 git 操作 git push origin vv:sandbox/woody3525 -f 强制push到某分支 git push origin :sandbox/woody3525 表示删除此分支 类似git status 查看改变的文件目录 git log --name-status 查看相邻的diff git log -p git checkout 分支 git cherry-pick git rebase -i HEAD~3 git reset --hard git branch -av ...
Activity,Service属于主线程,在主线程中才能更新UI,如toast等。其他线程中不能直接使用,这时可以使用Handler来处理,Handler可以在Activity和Service中。 其实平常一般都是使用AsyncTask的,而并非Thread和Handler去更新UI,这里说下它们到底有什么区别,我们平时应该使用哪种解决方案。从Android 1.5开始系统将AsyncTask引入到android.os包中,过去在很早1.1和1.0 SDK时其实官方将其命名为UserTask,其内部是JDK 1.5开始新增的concurrent库,做过J2EE的网友可能 ...
摘录自http://www.eoeandroid.com/archiver/tid-495.html原文地址 在java程序中,执行shell // /**delete all files for a dir*/ // public static void deleteDirAndCludeAllFile(String deletePath){ // try { // execCommand("busybox ls -la"); // execCommand("rm -r /local/.information"); // L ...
Global site tag (gtag.js) - Google Analytics