上一页 1 ··· 8 9 10 11 12 13 14 下一页

2015年1月20日

摘要: 大家都知道,现在安装Android系统的手机版本和设备千差万别,在模拟器上运行良好的程序安装到某款手机上说不定就出现崩溃的现象,开发者个人不可能购买所有设备逐个调试,所以在程序发布出去之后,如果出现了崩溃现象,开发者应该及时获取在该设备上导致崩溃的信息,这对于下一个版本的bug修复帮助极大,所以今天... 阅读全文
posted @ 2015-01-20 16:08 屌丝迷途 阅读(287) 评论(0) 推荐(0) 编辑

2015年1月19日

摘要: 一、准备工作:make_ext4fs、mkuserimg.sh、simg2img,把它们跟要修改的 .img.ext4(或.img)文件放置到同一个目录下二、转换源文件为img格式( .img则略过)使用./simg2img src des命令来转换userdata.img.ext4格式文件终端输入... 阅读全文
posted @ 2015-01-19 11:06 屌丝迷途 阅读(1390) 评论(0) 推荐(0) 编辑

2015年1月16日

摘要: 一、准备工作:解压解打包工具,得到三个文件:make_ext4fs、mkuserimg.sh、simg2img,把它们跟要修改的 .img.ext4(或.img)文件放置到同一个目录下二、转换源文件为img格式( .img则略过)使用./simg2img src des命令来转换system.img... 阅读全文
posted @ 2015-01-16 16:42 屌丝迷途 阅读(15884) 评论(0) 推荐(0) 编辑

2014年12月18日

摘要: 要在打包APK时加入混淆需要在Module中的buid.gradle中加入如下信息 buildTypes { release { minifyEnabled true shrinkResources true pr... 阅读全文
posted @ 2014-12-18 14:24 屌丝迷途 阅读(3375) 评论(0) 推荐(0) 编辑

2014年11月28日

摘要: View vFocus=getWindow().getDecorView().findFocus(); if(vFocus instanceof EditText){ ((EditText) vFocus).setText("当前焦点");} 阅读全文
posted @ 2014-11-28 15:55 屌丝迷途 阅读(901) 评论(0) 推荐(0) 编辑

2014年11月21日

摘要: 1 public void openApp(String packageName, Context context) { 2 PackageManager packageManager = context.getPackageManager(); 3 Int... 阅读全文
posted @ 2014-11-21 14:54 屌丝迷途 阅读(1922) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 安装apk 3 * 4 * @param url 5 */ 6 private void installApk() { 7 File apkfile = new File(apkFilePath); 8 ... 阅读全文
posted @ 2014-11-21 10:47 屌丝迷途 阅读(688) 评论(0) 推荐(0) 编辑

2014年11月20日

摘要: 1 public static final int FLAG_HOMEKEY_DISPATCHED = 0x80000000; 2 3 @Override 4 protected void onCreate(Bundle savedInstanceState) { 5 s... 阅读全文
posted @ 2014-11-20 17:36 屌丝迷途 阅读(496) 评论(0) 推荐(0) 编辑

2014年11月18日

摘要: 1 public class Main4Activity extends Activity { 2 3 private TextView tv1; 4 private Button button1; 5 private RelativeLayout rlMain... 阅读全文
posted @ 2014-11-18 10:49 屌丝迷途 阅读(1108) 评论(0) 推荐(0) 编辑

2014年11月14日

摘要: 1 @Override 2 protected void onCreate(Bundle savedInstanceState) { 3 super.onCreate(savedInstanceState); 4 setContentView(R.layou... 阅读全文
posted @ 2014-11-14 14:10 屌丝迷途 阅读(515) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 下一页

导航