2017年3月2日
摘要: 以下代码可以跳转到应用详情,可以通过应用详情跳转到权限界面(6.0系统测试可用)private void getAppDetailSettingIntent(Context context) { Intent localIntent = new Intent(); localIntent.addFl 阅读全文
posted @ 2017-03-02 13:13 依米妮 阅读(416) 评论(0) 推荐(0) 编辑
  2016年12月19日
摘要: 放个周末,一来就遇到一个奇葩的问题,“Error:(1, 0) The android gradle plugin version 2.3.0-alpha1 is too old, please update to the latest version”,折腾老久,后来终于解决了,这里做个记录,免得 阅读全文
posted @ 2016-12-19 11:01 依米妮 阅读(1360) 评论(0) 推荐(0) 编辑
  2016年11月26日
摘要: java.lang.ArrayIndexOutOfBoundsException: length=3; index=3 at android.widget.AbsListView$RecycleBin.addScrapView(AbsListView.java:6588) at android.wi 阅读全文
posted @ 2016-11-26 21:31 依米妮 阅读(3849) 评论(0) 推荐(0) 编辑
  2016年9月26日
摘要: oK,已解决,So easy的问题,这就是粗心啊....... 阅读全文
posted @ 2016-09-26 16:33 依米妮 阅读(412) 评论(0) 推荐(0) 编辑
  2016年7月7日
摘要: 最近在学后台,用Myeclipse ,那么问题来了,Myeclipse 总是喜欢报 js 文件的错误,这就很烦了,看着也不舒服。 查看资料后,解决方法如下: 项目【鼠标右键】 -> MyEclipse -> manage validation -> Excluded resources -> 找到忽 阅读全文
posted @ 2016-07-07 21:02 依米妮 阅读(208) 评论(0) 推荐(0) 编辑
  2016年5月28日
摘要: --1.组函数--COUNT():用来统计记录的条数 如果没有记录,返回 0--COUNT函数可以根据一列或多列进行计算,没有排重功能--统计EMP表一共有多少条记录select count(empno) from emp;select count(*) from emp; --统计EMP中一共有多 阅读全文
posted @ 2016-05-28 10:39 依米妮 阅读(298) 评论(0) 推荐(0) 编辑
摘要: --1.字符函数--UPPER(string|column) 可以将字符转成大写select upper('helloword') from dual;select upper(ename) from emp; --LOWER(string|column) 将指定的字符串转换成小写select lo 阅读全文
posted @ 2016-05-28 09:20 依米妮 阅读(236) 评论(0) 推荐(0) 编辑
  2016年5月26日
摘要: --1.简单的数据查询语句--查询所有的员工的信息select * from emp;--查询员工的姓名和工作职位select ename,job from emp;--姓名和工作以中文的形式显示出来select ename "姓名",job "工作职位" from emp;select ename 阅读全文
posted @ 2016-05-26 21:48 依米妮 阅读(391) 评论(0) 推荐(0) 编辑
  2016年5月21日
摘要: 1、使用 entrySet() Set entrys = map.entrySet(); Iterator it = entrys.iterator(); while(it.hasNext()){ //Map 的 内部类 Entry entry = (Entry) it.next(); System 阅读全文
posted @ 2016-05-21 16:56 依米妮 阅读(124) 评论(0) 推荐(0) 编辑
  2016年5月12日
摘要: 写java代码的时候,经常会遇到的情况就是输入输错了怎么办?大部分想的是用一个if判断,但是用if判断的话我们就无法让用户再次输入,因为if语句程序执行后就会直接退出程序。因此要想实现循环就要用while(),将输入语句放到里面实现循环。关于输入,一共有两种方式: <1>使用字符串输入 --> 使用 阅读全文
posted @ 2016-05-12 18:51 依米妮 阅读(407) 评论(0) 推荐(0) 编辑