会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
狂奔的小狮子
耳 没有喧闹 眼 没有缤纷 嘴 沉默不语 夜 安静依然
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
41
下一页
2016年4月19日
java.io.IOException: open failed: ENOENT (No such file or directory)open failed: EISDIR (Is a directory)
摘要: 这一类的错误,原因一般有两点: 1.没有给相应读写文件权限 2.给了权限,但是文件的路径写的不对,比如少了“/”,这样就会报错了。 Caused by: android.system.ErrnoException: open failed: EISDIR (Is a directory) 这个异常是
阅读全文
posted @ 2016-04-19 11:41 狂奔的小狮子
阅读(14898)
评论(1)
推荐(1)
2016年4月14日
YouTube视频插入Markdown
摘要: 举个例之: 正常YouTube会生成一个<iframe>直接在HTML里面引用即可: 但是,在markdown里面这样写,貌似就不好使了。可以用markdown标准语法写,如下:
阅读全文
posted @ 2016-04-14 15:30 狂奔的小狮子
阅读(1548)
评论(0)
推荐(0)
Android icons集合
摘要: Android icons集合: Be aware that the style changes occur fairly regularly with each major release, so it's always worth checking current guidelines! Gen
阅读全文
posted @ 2016-04-14 11:34 狂奔的小狮子
阅读(335)
评论(0)
推荐(0)
2016年4月13日
Android Studio rename module Can't rename root module
摘要: Android Studio修改工程根目录的时候会报错, rename module Can't rename root module。 主要是该工程已经打开,再命名必须要关闭改工程,就跟正在写一个txt.突然你要重命名,肯定要关闭才能才能实现重命名。 解决方案: 关闭工程,在磁盘目录找到该工程,修
阅读全文
posted @ 2016-04-13 16:53 狂奔的小狮子
阅读(2381)
评论(0)
推荐(0)
2016年4月12日
Toast添加动画
摘要: WindowManger wm =(WindowManger)context.getSystemService(Context.WINDOW_SERVICE); View view = Toast.makeText(context,text,Toast.LENGTH_SHORT).getView(); //设置布局参数 WindowManger.LayoutParams params = ...
阅读全文
posted @ 2016-04-12 21:38 狂奔的小狮子
阅读(948)
评论(0)
推荐(0)
2016年4月5日
FullScreenFragment Code
摘要: package com.dexode.fragment; import android.annotation.TargetApi; import android.app.Activity; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.support.v...
阅读全文
posted @ 2016-04-05 16:38 狂奔的小狮子
阅读(389)
评论(0)
推荐(0)
2016年3月30日
has leaked ServiceConnection com.baidu.location.LocationClient
摘要: new LocationClient 这个的时候 需要用 getApplicationContext。
阅读全文
posted @ 2016-03-30 21:34 狂奔的小狮子
阅读(1886)
评论(1)
推荐(0)
2016年3月29日
android.view.InflateException: Binary XML file line #7: Error inflating class(OOM)
摘要: 由于页面含有ImageView引起的内存溢出。 作如下处理:在OnDestroy中
阅读全文
posted @ 2016-03-29 18:46 狂奔的小狮子
阅读(1406)
评论(0)
推荐(0)
2016年3月26日
Android sample 之模拟重力感应,加速度
摘要: class SimulationView extends View implements SensorEventListener { // diameter of the balls in meters private static final float sBallDiameter = 0.004f; private static fina...
阅读全文
posted @ 2016-03-26 15:21 狂奔的小狮子
阅读(524)
评论(0)
推荐(0)
Android url中文编码问题
摘要: 最近项目遇见一个很奇葩问题,关于URL问题,项目中加载图片,图片的URL含有中文,但是,我的手机可以加载,没问题,同事也都可以,但是测试手机却不可以,加载失败,找到问题,就是URL含有中文问题。 解决方案: 把中文字符encode即可: 方法1: 方法2: 或者 参考: 文/SIMPLE孙鹏(简书作
阅读全文
posted @ 2016-03-26 14:20 狂奔的小狮子
阅读(3219)
评论(0)
推荐(0)
上一页
1
···
8
9
10
11
12
13
14
15
16
···
41
下一页
公告