`
fancybiy
  • 浏览: 7915 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
  #1 pool 实现参考 android.util.Poolable; android.util.Pool; android.util.Pools; android.util.PoolableManager; 参考例子:android.view.VelocityTracker   #2 onAnimationEnd不被调用问题 当在方法中直接创建Animation时,某些情况下会出现onAnimationEnd不被调用的情况。 解决方法:利用XML配置animation,不会出现此问题。   #3 备份ubuntu tar cvpzf backup.tgz -- ...
转自http://chroya.iteye.com/blog/761084    如果大家在非黑色背景下使用ListView控件时,Android默认可能在滚动ListView时这个列表控件的背景突然变成黑色。这样可能导致程序的黑色的背景和主程序的主题既不协调。解决的方法Google在设计Android时也考虑了,在Layout的ListView中加入 android:cacheColorHint="#00000000" 的属性即可。
最近在致力于NFC的开发,所以有些许体会在这里记录下来。 手机NFC离我们越来越近,虽然目前国内手机NFC还不是很普及,但是在日本手机支付已经成为一种成功的商业模式,我相信在不远的将来手机NFC周边将产生各种应用及服 ...
下面的部分内容来源于《Unlocking Android》一书:   要了解HTTPClient,我们先看一下如何使用核心类来执行HTTP GET和POST方法请求,此处我们结合使用Apache的ResonseHandler和Android的Handler,在与用户界面不同的线程中发起网络请求。     // new a Handler to receive the response by HTTP request. private final Handler mHandler = new Handler() { public void handleMessage(Messa ...
Hv a rest at first~ 相信大家都了解android tab架构,在这里不多说。 假设对于tab有这样的需求,你会提出怎样的解决方案呢? 一堆tabs,每个tab中又有多个view来显示数据,可以在tabs以及views之间相互跳转,回退。 让我们来一步 ...
From article of android developers site :) Android applications are, at least on the T-Mobile G1, limited to 16 MB of heap. It's both a lot of memory for a phone and yet very little for what some developers want to achieve. Even if you do not plan on using all of this memory, you should use as l ...
Global site tag (gtag.js) - Google Analytics