发布时间:2016-04-11 19:59:11
https://github.com/Trinea/android-open-project......【阅读全文】
发布时间:2016-04-11 11:00:38
http://www.jayfeng.com/2016/03/18/%E4%BD%A0%E5%BA%94%E8%AF%A5%E7%9F%A5%E9%81%93%E7%9A%84%E9%82%A3%E4%BA%9BAndroid%E5%B0%8F%E7%BB%8F%E9%AA%8C/......【阅读全文】
发布时间:2016-01-20 17:55:45
1.adb shell am dumpheap <processname> /sdcard/<FileName>文件,将文件抓取下来2.adb pull /sdcard/<FileName> .这个文件。将这个文件放在\android-sdk\platform-tools目录下。3.在命令行(dos/linux terminal)中执行hprof-conv.exe <FileName> <newFileName>.hprof文件。这里需要转换的原因是因为Android的虚拟机dalvik.........【阅读全文】
发布时间:2014-11-25 15:13:34
private void forceShowOverflowIcon(boolean isShow) {try { ViewConfiguration config = ViewConfiguration.get(this); java.lang.reflect.Field menuKeyField = ViewConfiguration.class.getDeclaredField("sHasPermanentMenuKey"); if (menuKeyField != null) { menuKeyField.setAcc.........【阅读全文】
发布时间:2014-11-21 17:37:43
private void setOptionsMenuVisible(int visibility) {int id = Resources.getSystem().getIdentifier("split_action_bar", "id", "android");View optionsMenu = findViewById(id);if (optionsMenu != null) {optionsMenu.setVisibility(visibility);}}......【阅读全文】