08 2015 档案

Vysor:在电脑里控制你的安卓手机
摘要:Vysor是一款可以使用电脑操作安卓手机的谷歌浏览器插件,在chrome中安装了Vysor插件以后,用户就可以使用电脑打开手机的屏幕,在手机的屏幕界面中,用户不仅可以观看,甚至可以使用电脑直接操作手机中的软件https://chrome.google.com/webstore/detail/vyso... 阅读全文

posted @ 2015-08-31 11:23 屌丝迷途 阅读(329) 评论(0) 推荐(0) 编辑

Android 4.4沉浸式状态栏的实现
摘要:要实现Android 4.4上面的沉浸式状态栏要用到开源项目SystemBarTint(https://github.com/hexiaochun/SystemBarTint)public class MainActivity extends Activity { @Override ... 阅读全文

posted @ 2015-08-28 15:45 屌丝迷途 阅读(407) 评论(0) 推荐(0) 编辑

Android Studio no debuggable applications解决方案
摘要:android studio 默认是没有开启debuggable 功能的,在tools里打开该功能即可,Tools->Android->Enable ADB Integration。刚设置完之后可能不会立马出现效果。记得在设备上重新安装一遍自己的程序就OK了。 阅读全文

posted @ 2015-08-25 08:46 屌丝迷途 阅读(423) 评论(0) 推荐(0) 编辑

Android时区及语言代码
摘要:1.设置默认时区PRODUCT_PROPERTY_OVERRIDES += \persist.sys.timezone=Asia/Shanghai\注:搜索“persist.sys.timezone”,并更改其值persist.sys.timezone值域•Marshall Islands马绍尔群岛... 阅读全文

posted @ 2015-08-24 15:21 屌丝迷途 阅读(1622) 评论(0) 推荐(0) 编辑

Android Activity动画
摘要:动画XML文件slide_right_in.xml slide_left_out.xml slide_left_in.xml slide_right_out.xml bottom_in.xmlbottom_out.xml 使用动画styles.xml ... 阅读全文

posted @ 2015-08-17 15:24 屌丝迷途 阅读(227) 评论(0) 推荐(0) 编辑

造成OOM(内存溢出)的几种情况
摘要:数据库Cursor没关。当我们操作完数据库后,一定要调用close()释放资源。构造Adapter没有使用缓存ContentView。@Override public View getView(int position, View convertView, ViewGroup parent) { ... 阅读全文

posted @ 2015-08-14 15:05 屌丝迷途 阅读(2991) 评论(0) 推荐(0) 编辑

导航

点击右上角即可分享
微信分享提示