- 博客(10)
- 资源 (7)
- 收藏
- 关注
原创 android 修改包名
eclipse 中右键工程 - android tools - rename application package - 在对话框中输入新名字-
2013-12-30 11:41:28 717
原创 android 编译源码错误
external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration find: ../../vendor/unbundled_google/libs/gcm/gcm-client/src: No such file or
2013-12-29 21:37:23 2174 1
原创 android apk 打包
1.生成keystore keytool -genkey -alias peter -keypass 111111 -keyalg RSA -keysize 1024 -validity 2000 -keystore /Users/peter/Desktop/peter.keystore -storepass 111111 将peter.keystore 复制到项目根目录下。 参考:ht
2013-12-23 16:10:00 788
原创 android 的activity中addContentView 和 setContentView 的区别
activity 中 addContentView 和 setContentView 的区别是什么? 调用 setContentView 会把 内容区全部清空。然后显示添加的view。 调用addContentView 在内容区视图不变,新增加添加的view到parentView;
2013-12-20 18:22:32 6068
原创 eclipse 修改背景颜色
因为eclipse的背景色默认是白色,长期使用eclipse的程序员。会感到很疲劳。 color theme给我们带来了福音。 eclipse help 中install 插件的网址: http://eclipse-color-theme.github.io/update/
2013-12-20 15:55:30 862
转载 反编译apk生成程序的源代码和图片、XML配置、语言资源等文件
如果是只是汉化软件,这将特别有用。 首先还是下载工具,这次用到的是apktool,下载地址: http://code.google.com/p/android-apktool/,apktool-1.0.0.tar.bz2和apktool-install-windows-2.1_r01-1.zip两个包都要下。 具体步骤: 将下载的两个包解压到同一个文件夹下,应该会有三个文
2013-12-19 16:27:02 803
转载 反编译Apk得到Java源代码
首先要下载两个工具: dex2jar和JD-GUI,前者是将apk中的classes.dex转化成Jar文件,而JD-GUI是一个反编译工具,可以直接查看Jar包的源代码。 以下是下载地址: dex2jar:http://laichao.googlecode.com/files/dex2jar-0.0.7-SNAPSHOT.zip JD-GUI:http://laicha
2013-12-19 16:25:31 605
原创 如何实现android ScrollView ListView的回弹效果
首先android 系统本身是支持这个功能的。 android 从 API9 2.3以后 view类提供了个方法overScrollBy() 方法中的参数 maxOverScrollY 默认是0. 修改成自己想要的就ok了。 @Override protected boolean overScrollBy(int deltaX, int deltaY, int
2013-12-19 10:28:51 1228
原创 eclipse package explorer 自动定位打开的文件
点击package explorer 右侧的小三角 在菜单中选中有左右黄箭头的 link with editor
2013-12-13 10:21:38 3885
原创 webview 获取内容高度?
webview 获取内容高度? mWebView.getContentHeight()*mWebView.getScale()
2013-12-12 17:04:21 1273
test exception
2014-03-04
exception 测试
2014-03-03
TestAddView
2014-01-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人