上一页 1 ··· 5 6 7 8 9 10 11 下一页

2017年4月6日

adb not responding. if you'd like to retry then please manually kill adb.exe and click 'restart',restart

摘要: 最近Android Studio老是提示一个问题,adb not responding. if you'd like to retry then please manually kill adb.exe and click 'restart',restart没用,kill-server和start- 阅读全文

posted @ 2017-04-06 12:54 yaolunhui 阅读(556) 评论(0) 推荐(0)

2017年4月1日

弹出异地登录dialog

摘要: final AlertDialog dlg = new AlertDialog.Builder(LoginActivity.this).create();dlg.show();Window window = dlg.getWindow();if(window!=null){ window.setCo 阅读全文

posted @ 2017-04-01 09:16 yaolunhui 阅读(135) 评论(0) 推荐(0)

2017年3月30日

反编译,修改jar文件

摘要: 一、使用反编译工具JD-GUI(JD-GUI相关操作见Java 反编译class文件)打开要修改的jar包(如update.jar),找到jar包中要修改的class文件(如a.class) 二、打开Eclipse新建一个Java工程(如demo),并添加一个类(如A.java:该类名与a.clas 阅读全文

posted @ 2017-03-30 21:05 yaolunhui 阅读(1118) 评论(0) 推荐(0)

进程方式启动Activity

摘要: <activity android:name=".ArticleActivity" android:screenOrientation="portrait" android:process=":articleactivity" > <intent-filter> <action android:na 阅读全文

posted @ 2017-03-30 13:56 yaolunhui 阅读(179) 评论(0) 推荐(0)

2017年3月27日

设置程序语言

摘要: Locale locale = new Locale(language);Locale.setDefault(locale);Configuration config = getResources().getConfiguration();DisplayMetrics metrics = getRe 阅读全文

posted @ 2017-03-27 14:53 yaolunhui 阅读(274) 评论(0) 推荐(0)

程序间保存数据SharedPreferences

摘要: SharedPreferences sp = getSharedPreferences("config", MODE_PRIVATE);String cacheToken = sp.getString("loginToken", "");if (!TextUtils.isEmpty(cacheTok 阅读全文

posted @ 2017-03-27 14:52 yaolunhui 阅读(124) 评论(0) 推荐(0)

listview右边显示 abcd快速选择

摘要: android:fastScrollEnabled="true" 阅读全文

posted @ 2017-03-27 09:43 yaolunhui 阅读(120) 评论(0) 推荐(0)

2017年3月23日

显示密码

摘要: 第一种if(checkbox_password.isChecked()){ mPasswordEdit.setInputType(InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD); //选择显示密码}else { //不显示 mPasswordEdit. 阅读全文

posted @ 2017-03-23 08:32 yaolunhui 阅读(263) 评论(0) 推荐(0)

2017年3月20日

欢迎界面动画

摘要: DisplayImageOptions 阅读全文

posted @ 2017-03-20 12:41 yaolunhui 阅读(101) 评论(0) 推荐(0)

2017年3月17日

web get Post测试

摘要: postMan(chrome应用) 阅读全文

posted @ 2017-03-17 16:10 yaolunhui 阅读(71) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 11 下一页

导航