- 博客(7)
- 资源 (1)
- 收藏
- 关注
转载 Android 内存管理 Environment
Environment类中提供了几个静态常量用于标识外部存储的状态,这些状态都是String类型 MEDIA_BAD_REMOVAL 在没有挂载前存储媒体已经被移除。 MEDIA_CHECKING 正在检查存储媒体。 MEDIA_MOUNTED 存储媒体已经挂载,并且挂载点可读/写。 MEDIA_MOUNTED_READ_ONLY 存储媒体已经挂载,挂载点只读。 MEDIA_NOFS 存
2015-12-31 11:35:06
260
原创 欢迎使用优快云-markdown编辑器
欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来,用它写博客,将会带来全新的体验哦: Markdown和扩展Markdown简洁的语法 代码块高亮 图片链接和图片上传 LaTex数学公式 UML序列图和流程图 离线写博客 导入导出Markdown文件 丰富的快捷键 快捷键 加粗 Ctrl + B 斜体 Ctrl + I 引用 Ctrl
2015-12-31 11:32:12
266
原创 launch app from browser
android:host="com.manboker.headportrait" android:path="/open" android:scheme="http" /> intent:#Intent;action=com.manboker.headportrait;e
2015-04-13 16:42:35
441
原创 InitLanguage
public static void InitLanguage(Resources res) { Locale locale = Locale.getDefault(); if(locale.getLanguage().equalsIgnoreCase("zh")) { Configuration cfg = new Configuration(); cfg.locale = Loc
2015-02-12 10:21:34
314
原创 时间比较
// Collections.sort(topicListContent, new // Comparator() { // @Override // public int compare(CommunitySpecificUserListBean lhs, // CommunitySpecificUserListBean rhs) { // SimpleDateFormat dateF
2014-12-16 11:33:28
277
原创 图片截取
public Bitmap cropCircleBm(Bitmap bitmap){ int bitW = bitmap.getWidth(); int bitH = bitmap.getHeight(); float diameter = bitW>bitH ? bitH : bitW; float circleCenterX = bitW/2; float circleCente
2014-12-02 16:15:28
304
转载 旋转动画
private RotateAnimation animation; //旋转动画 private RotateAnimation reverseAnimation; //旋转动画 animation = new RotateAnimation(0, -180, RotateAnimation.RELATIVE_TO_SELF, 0.5f, RotateAni
2014-11-28 15:03:01
344
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅