上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 34 下一页
摘要: 1,在官方文档 docs/reference/android/view/View.OnTouchListener.html 中对OnTouchListener的描述 Interface definition for a callback to be invoked when a touch even 阅读全文
posted @ 2016-02-04 16:05 f9q 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1.Activity,ViewGroup,View的关系 本文按层次比喻,ViewGroup与其中的View的关系不是父子,而是上下层。父子描述继承关系更准确些。 最下层是Activity,Activity上面是一系列ViewGroup,ViewGroup上面是View。 事件总是从Activity 阅读全文
posted @ 2016-02-02 16:38 f9q 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 症状: toast正常构造,调用show时,不显示。 1 View tabMeItem = tabHost.findViewById(R.id.tab_me_xc); 2 tabMeItem.setOnClickListener(new View.OnClickListener() { 3 @Ove 阅读全文
posted @ 2016-01-29 23:07 f9q 阅读(2013) 评论(0) 推荐(0) 编辑
摘要: ViewGroup的下面这个属性可以控制。 原文: android:descendantFocusability Defines the relationship between the ViewGroup and its descendants when looking for a View to 阅读全文
posted @ 2016-01-29 22:16 f9q 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1,从view得到LayoutParams params LayoutParams params = view.getLayoutParams(); 2,可以从用params.height得到当前view的高度,宽度等, int het = params.height; 3,可以利用params更改 阅读全文
posted @ 2016-01-29 13:01 f9q 阅读(456) 评论(0) 推荐(0) 编辑
摘要: ①②③④⑤⑥⑦⑧⑨⑩ ⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳ ㉑㉒㉓㉔㉕㉖㉗㉘㉙㉚ ㉛㉜㉝㉞㉟㊱㊲㊳㊴㊵㊶㊷㊸㊹㊺㊻㊼㊽㊾㊿ 阅读全文
posted @ 2016-01-15 22:39 f9q 阅读(2592) 评论(0) 推荐(0) 编辑
摘要: 1.准备工作 下载支援包到本地。 在 <sdk>/android-sdks/extras/android/support/v7 下包含两个目录「 m2repository,support 」 m2repository包含android studio 使用的支援包源码,其中都是可被android st 阅读全文
posted @ 2016-01-15 15:11 f9q 阅读(269) 评论(0) 推荐(0) 编辑
摘要: http://opensource.org/ 阅读全文
posted @ 2016-01-12 22:58 f9q 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1.RenderScript RenderScript is a framework for running computationally intensive tasks at high performance on Android. RenderScript is primarily orien 阅读全文
posted @ 2016-01-08 23:42 f9q 阅读(298) 评论(0) 推荐(0) 编辑
摘要: Support Library Setup How you setup the Android Support Libraries in your development project depends on what features you want to use and what range... 阅读全文
posted @ 2016-01-08 23:26 f9q 阅读(791) 评论(0) 推荐(0) 编辑
摘要: 1.各支援包简介表 包名 v4 提供了最多的api <sdk>/extras/android/support/v4/ y Multidex 把DEX文件生成apk <sdk>/extras/android/support/multidex/ n v7 appcompat 在v4上增加action b 阅读全文
posted @ 2016-01-08 22:57 f9q 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 1.Support Library The Android Support Library package is a set of code libraries that provide backward-compatible versions of Android framework APIs a 阅读全文
posted @ 2016-01-08 15:56 f9q 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 用apktool反编译apk后,得到一个目录,里面有smali文件,可以对其修改,然后用apktool重新生成一个未签名的apk。 如,把smali文件中的广告部分去掉或改成自己的。 命令如下:与破解不同的是d变成了b 阅读全文
posted @ 2016-01-07 14:39 f9q 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 转自 : http://blog.sina.com.cn/s/blog_5674d18801019i89.html 1.应用场景 Smali代码注入只能应对函数级别的移植,对于类级别的移植是无能为力的。具体的说,如果你想修改一个类的继承、包含关系,接口结构等是非常困难的。但对于修改类成员变量访问控制 阅读全文
posted @ 2016-01-07 14:28 f9q 阅读(2231) 评论(0) 推荐(0) 编辑
摘要: from http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html Dalvik opcodes Author: Gabor Paller Vx values in the table denote a Dalvik register. Dep 阅读全文
posted @ 2016-01-07 14:23 f9q 阅读(501) 评论(0) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 34 下一页