10 2012 档案

摘要:Windows 7 英文版 中文乱码Windows 7 Explorer StopedRemove the arrow icon of shortcut查看占用文件的程序1.Windows 7 英文版 中文乱码Control Pannel-->Clock, Language, and Region-->Administrative-->Change system locale-->Select Chinese (PRC)2.Windows 7 Explorer Stopedsolution:open IE explorer 设置->管理加载项->禁用可疑项这 阅读全文
posted @ 2012-10-30 22:11 Qiengo 阅读(230) 评论(0) 推荐(0)
摘要:Tool CommandDos Command删除文件夹 rmdir /s删除子目录 所有指令加 /? 查看可选参数按Date显示 dir /od (od :order by date)按Name显示 dir /on显示所有分区:diskpart->listvolume(Ctrl+C :exit diskpart mode)显示所有网络映射:net use搜索文件:dir /s *txt(在当前目录和所有字目录列出所有以txt结束的文件)如果要在DOS下访问网上邻居,需要用到net use命令此命令的语法是:NET USE[devicename | *] [\\computername\ 阅读全文
posted @ 2012-10-25 10:14 Qiengo 阅读(766) 评论(0) 推荐(0)
摘要:在libgdx 中 桌面版运行的很好,但是到了android版的时候有时候会发现在android上按返回键后再直接进入游戏中会出现空白画面的情况。这是因为程序的资源没有清理干净的原因,有可能是在程序中使用了 HashMap保存texture等,但是在程序退出时没有 clear HashMap,也可能是哪里用了单例模式,里面的资源释放不掉,等等因素。比较麻烦的做法就是手动将它们逐一清除了。第二种方法就是在android端处理,在Activity处加上 public void onDestroy() { super.onDestroy(); DefaultLog... 阅读全文
posted @ 2012-10-24 14:40 Qiengo 阅读(240) 评论(0) 推荐(0)
摘要:A:Static library文件Android.mk:LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)LOCAL_MODULE := hello-jniLOCAL_SRC_FILES := hello-jni.cinclude $(BUILD_S... 阅读全文
posted @ 2012-10-23 14:27 Qiengo 阅读(5005) 评论(2) 推荐(0)
摘要:A.Drawable1.Background for icon,view,color bg_(type)_(name).xml/png bg_color_gray.xml bg_color_round_gray.xml bg_btn_wooden.png bg_btn_store_dt.p... 阅读全文
posted @ 2012-10-11 14:48 Qiengo 阅读(496) 评论(0) 推荐(0)
摘要:UseonSaveInstanceState() to save the states of the activity and resume it in onCreate()Usually you restore your state inonCreate(). It is possible to restore it inonRestoreInstanceState()as well, but not very common. (onRestoreInstanceState()is called afteronStart(), whereasonCreate()is called befor 阅读全文
posted @ 2012-10-02 14:53 Qiengo 阅读(442) 评论(0) 推荐(0)