![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
90天后再改昵称
技术改变世界
展开
-
All Android permission
android.permission.ACCESS_CHECKIN_PROPERTIES• 允 许读写访问”properties”表在checkin数据库中,改值可以修改上传 ( Allows read/write access to the “properties” table in the checkin database, to change values that get upload原创 2012-09-24 22:54:35 · 472 阅读 · 0 评论 -
Android-如何让service 不会被第三方kill
最近写service的时候,用360等第三方安全任务管理软件清理缓存的时候总是会kil掉服务,于是找了解决方案Notification notification = new Notification(R.drawable.icon, "服务开启", System.currentTimeMillis());notification.flags|= Notification.FLAG_N转载 2014-03-18 11:45:10 · 1032 阅读 · 0 评论 -
megre和viewstub
1、megre是替代framelayout的布局,主要是优化了真布局的重复结构,2.viewstub是一个设置灵活控制控件显示和隐藏的控件 通常view的显示隐藏使用Visitable的属性,虽然隐藏了,但是对象还是实例化了,也是消耗了内存,这个控件正好解决了这个问题ViewStub是一个轻量级的View,它一个看不见的,不占布局位置,占用资源非常小的控件。可以为ViewStu原创 2014-03-18 11:57:54 · 631 阅读 · 0 评论