- 博客(20)
- 收藏
- 关注
原创 Sophix冷热补丁小结
a).Sophix冷热补丁无效Scene 1..不能修改Sophix自身代码,和Application的attachBaseContext(),onCreate中的Sophix设置代码; 2..四大组件,主题资源(res资源文件可以修改)的修改得不到热更新。四大组件可以在AndroidMenifest中预留几个tempActivity,tempService,tempBR,tempCp==处理可
2017-10-16 17:48:47
571
原创 android奇异
1.以兼容模式使用GridLayout时,Remember that if you want to use this v7.widget.GridLayout you must import this library adding compile ‘com.android.support:gridlayout-v7:25.0.0’ to gradle2.fraglayout 只响应最上层点击事件,不
2017-10-10 16:18:03
294
原创 android ipc通讯基础疑问点二
三。Binder基础点 1.AIDL文件并不是实现Binder的必需品。如果是我们手写的Binder,那么在服务端只需要创建一个BookManagerImpl的对象并在Service的onBind方法中返回即可。 2.Binder连接断裂(称之Binder死亡)。。Binder运行在服务端进程,如果服务端进程由于某种原因异常终止,就出现Bindr连接断裂,会导致我们的远程调用失败。 Binde
2017-04-13 15:16:02
268
原创 android ipc通讯基础疑问点一
一。多进程问题: 1.四大组件只能通过android:process=”:remote”属性这一种方式实现多进程; 进程名以“:”开头的进程属于当前应用的私有进程,其他应用的组件不可以和它泡在同一个进程中,而进程名不以“:”开头的进程属于全局进程,其他应用通过ShareUID方式可以和它跑在同一个进程中。 2.每个应用分配了一个独立的虚拟机,或者说为每个进程都分配了一个独立的虚拟机,不同的虚拟
2017-04-12 16:42:38
350
原创 Android 内存检测
1.内存溢出和内存泄漏的区别: http://blog.youkuaiyun.com/u013435893/article/details/50608190 2.MAT工具 http://blog.youkuaiyun.com/yxz329130952/article/details/50288145 3.神器LeakCanary的简单使用: http://www.cnblogs.com/Fndroid/p/59
2017-03-29 11:56:27
225
原创 android ReactNative 浅尝辄止
集成react-native 参照此处 http://reactnative.cn/docs/0.42/integration-with-existing-apps.html#content 编译出错,参照此处 http://blog.youkuaiyun.com/liu__520/article/details/52817016我的demo地址:https://github.com/dany2fiona/
2017-03-17 17:27:54
190
转载 转:: 深入理解WeakHashmap
标签:SoftReference WeakReference WeakHashmap finilize http://mikewang.blog.51cto.com/3826268/880775 WeakHashmap (一) 查看API文档,WeakHashmap要点如下: 1. 以弱键 实现的基于哈希表的 Map。在 WeakHashMap 中,当某个键不再正常使用时,将自动移除其条目。
2017-01-23 11:47:02
198
原创 android viewpager嵌套viewpager点击滑动
https://www.zybuluo.com/xujun94/note/546272
2017-01-22 11:40:51
703
原创 [Android] Gallery选中变大效果的实现
http://www.jianshu.com/p/9149df5ea106 第三方控件:EcoGallery。 https://github.com/wuzhendev/android-wgallery
2017-01-17 14:37:46
1216
原创 android 登录框隐藏显示密码
if(isChecked){ //如果选中,显示密码 editText1.setTransformationMethod(HideReturnsTransformationMethod.getInstance()); }else{ //否则隐
2017-01-05 11:33:25
365
原创 android 开发中使用的java 日期格式 毫秒问题
java 日期格式 毫秒博客分类: java参考URL:http://www.busfly.net/csdn/post/java_string_fomat_date_time_simpledateformat.html 关键代码:Java代码 收藏代码 java.text.SimpleDateFormat sdf=new java.text.SimpleDateFormat(“yyyy-MM-
2016-12-26 18:10:35
321
原创 android xampp study ---1
1.必要知识:html,php http://www.runoob.com/html/html-tutorial.html http://www.runoob.com/php/php-install.html
2016-06-06 11:39:42
351
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人