会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zgz345
博客园
::
首页
::
博问
::
闪存
::
新随笔
::
联系
::
订阅
::
管理
::
公告
上一页
1
···
3
4
5
6
7
8
9
10
11
···
15
下一页
2014年10月30日
Android性能优化
摘要: 转载留用http://www.trinea.cn/android/layout-performance/
阅读全文
posted @ 2014-10-30 15:39 zonyZhang
阅读(190)
评论(0)
推荐(0)
2014年10月22日
Unable to execute dex: method ID not in [0, 0xffff]: 65536
摘要: http://ingramchen.io/blog/2014/09/prevention-of-android-dex-64k-method-size-limit.html
阅读全文
posted @ 2014-10-22 18:53 zonyZhang
阅读(2977)
评论(0)
推荐(0)
2014年8月25日
Android下载速度计算
摘要: long startTime = System.currentTimeMillis(); // 开始下载时获取开始时间long curTime = System.currentTimeMillis();int usedTime = (int) ((curTime-startTime)/1000);i...
阅读全文
posted @ 2014-08-25 14:40 zonyZhang
阅读(4304)
评论(0)
推荐(0)
2014年8月22日
Android中不混淆类中函数
摘要: 情况一:混淆不同的函数aTest、bTest-keep class com.zony.Test { void aTest(byte[], int, int); void bTest(String, int, int);}情况二:混淆相同的函数aTest(aTest参数不同)错误混淆方式:...
阅读全文
posted @ 2014-08-22 18:51 zonyZhang
阅读(3204)
评论(0)
推荐(0)
2014年8月12日
Android中Parcelable接口用法
摘要: 1. Parcelable接口Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must ...
阅读全文
posted @ 2014-08-12 15:43 zonyZhang
阅读(260)
评论(0)
推荐(0)
2014年7月16日
开启Ubuntu Linux下VirtualBox访问USB功能
摘要: 解决方法如下:1、增加用户组usbfssudo groupadd usbfs2、查看usbfs用户组的gidcat /etc/group | grep usbfsusbfs:x:1002:3、把当前用户增加到usbfs组sudo gedit /etc/group把usbfs:x:1002:修改为us...
阅读全文
posted @ 2014-07-16 11:40 zonyZhang
阅读(192)
评论(0)
推荐(0)
2014年7月9日
PagerSlidingTabStrip 高亮选中标题
摘要: 1、选中标题后,高亮标题@Override public void onPageSelected(int position) { setSelectTextColor(position); if (delegatePageListener !...
阅读全文
posted @ 2014-07-09 18:10 zonyZhang
阅读(4173)
评论(0)
推荐(1)
2014年6月26日
新装linux配置
该文被密码保护。
阅读全文
posted @ 2014-06-26 19:03 zonyZhang
阅读(1)
评论(0)
推荐(0)
2014年6月13日
Android 嵌套GridView,ListView只显示一行的解决办法
摘要: 重写ListView、GridView即可:public class MyListView extends ListView { public MyListView(Context context) { // TODO Auto-generated method stub ...
阅读全文
posted @ 2014-06-13 14:47 zonyZhang
阅读(5424)
评论(0)
推荐(0)
Android WindowManager 监听返回键及home键
摘要: 一、监听home键盘,Android Home键系统负责监听,捕获后系统自动处理。有时候,我们需要监听home键处理自己的逻辑,监听方法如下: /** * 监听home键广播 */ private final static BroadcastReceiver homeLi...
阅读全文
posted @ 2014-06-13 13:35 zonyZhang
阅读(15329)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
15
下一页