- 博客(6)
- 资源 (2)
- 收藏
- 关注
翻译 多条Notification更新,保持位置不变
In the Notification class, there is a public field called when. According to the API: The timestamp for the notification. The icons and expanded views are sorted by this key. The default
2012-11-05 22:01:17
478
转载 如何避免ConcurrentModificationException 异常
Java Collection classes are fail-fast which means that if the Collection will be changed while some thread is traversing over it using iterator, the iterator.next() will throw a ConcurrentModificati
2012-11-05 11:45:52
562
转载 android系统信息(内存、cpu、sd卡、电量、版本)获取
出处:http://gqdy365.iteye.com/blog/1066113 一、内存(ram): android的总内存大小信息存放在系统的/proc/meminfo文件里面,可以通过读取这个文件来获取这些信息: public void getTotalMemory() { String str1 = "/proc/meminfo"; String str2="";
2012-07-30 21:01:03
987
转载 Android CoverFlow
It's been a while now and I've been pretty busy with life, work, and other things, but at last here's a new version of the coverflow widget that I released a while back. There's not really much new fu
2012-07-02 18:49:54
1072
原创 Android 安卓 ViewPager中使用Gallery!
本次开发项目过程中,要在ViewPager中使用Gallery。遇到一个问题Gallery无法滑动,猜想应该是焦点问题,在网上搜到如下方法: http://www.eoeandroid.com/thread-176552-1-1.html mPager.setOnTouchListener(new View.OnTouchListener() { @Override
2012-07-02 17:55:19
2524
4
原创 获取未安装apk的信息
从网上看到的方法,后来偶得灵感,精简了一下,不敢独享,与大家分享下! /** * Get Apk File Information * @param context * @param apkPath : apk file path * @return : such as icon, name */ public static ApkInfo getApkInfo
2012-04-26 16:37:04
704
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人