自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

谁与争锋的专栏

循序渐进才能赢得时间,细水长流才能直达永恒

  • 博客(3)
  • 资源 (7)
  • 收藏
  • 关注

原创 android中使用static、application、本地存取数据的问题

在android开发中,我们经常使用在类中使用static存取数据,但是这有一个很大的问题,就是static变量存取的数据经常被回收,不像JavaSE,可能android的虚拟机的设计有所不同。比如我们把登陆的信息存在static的变量中,然后就无缘无故就发生了NullPointerException异常,这就很可能我们的用户信息被回收,所以用static变量存取数据在android开发中有一个很

2015-05-31 16:25:31 4598 3

原创 Unable to instantiate fragment make sure class name exists, is public, and has an empty constructor

Unable to instantiate fragment make sure class name exists, is public, and has an empty constructor that is public

2015-05-31 15:30:44 5125

原创 android使用inSampleSize、inScaled、inDensity、inTargetDensity对图片进行缩放

一般来说,在android中对图片进行缩放,我们使用以下的代码: public Bitmap resizeImage(Bitmap bitmap, int w, int h) { Bitmap BitmapOrg = bitmap; int width = BitmapOrg.getWidth(); int height = BitmapOrg.getHeight(); int

2015-05-04 23:27:46 7693 6

Android不规则图形点击提示选中不同区域的源码

Android不规则图形点击提示选中不同区域的源码,详情请见http://blog.csdn.net/lovexieyuan520/article/details/50679306

2016-02-17

android使用Fragment实现底部菜单使用show()和hide()来切换以保持Fragment状态的源码

android使用Fragment实现底部菜单使用show()和hide()来切换以保持Fragment状态,详情请参看http://blog.csdn.net/lovexieyuan520/article/details/50594271

2016-01-27

SwipeRefreshLayout配合RecyclerView实现下拉刷新和上拉加载更多的Demo源码

SwipeRefreshLayout配合RecyclerView实现下拉刷新和上拉加载更多以及没有数据的显示这个demo的源码,详情请参看:http://blog.csdn.net/lovexieyuan520/article/details/50589412

2016-01-26

异常崩溃信息上报库ACRA(Application Crash Reports for Android)

异常崩溃信息上报库ACRA(Application Crash Reports for Android),使用详情请查看http://blog.csdn.net/lovexieyuan520/article/details/44983109

2015-04-10

在android所有版本中显示overflow效果

在android所有版本中一直显示overflow效果的解决方案,详情查看http://blog.csdn.net/lovexieyuan520/article/details/37833639

2014-07-16

openfire开发

用于Openfire导入eclipse中clustering缺少的coherence.jar,coherence-work.jar,tangosol.jar三个jar包,详情查看http://blog.csdn.net/lovexieyuan520/article/details/37743433

2014-07-13

ViewFlipper案例

使用ViewFlipper做的一个案例,可以使用按钮切换也可以使用手指滑动切换

2013-08-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除