会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
rose_jeff
博客园
首页
新随笔
联系
订阅
管理
2018年6月5日
使用HttpURLConnection发送MMS注意事项
摘要: 以联通卡为例: 1.关闭手机wifi 2.开启数据流量 3.apn选择3gwap(选择3gnet会连接不到10.0.0.172:80,具体原因还不清楚)
阅读全文
posted @ 2018-06-05 14:34 rose_jeff
阅读(208)
评论(0)
推荐(0)
2018年5月29日
Android res目录结构介绍
摘要: 项目 res/ 目录内支持的资源目录。 位图文件(.png、.9.png、.jpg、.gif)或编译为以下可绘制对象资源子类型的 XML 文件: 位图文件 九宫格(可调整大小的位图) 状态列表 形状 动画可绘制对象 其他可绘制对象 请参阅 可绘制对象资源。 要以原始形式保存的任意文件。要使用原始 I
阅读全文
posted @ 2018-05-29 15:33 rose_jeff
阅读(507)
评论(0)
推荐(0)
Uiautomator授权
摘要: executeShellCommand("pm grant packageName permissionName");
阅读全文
posted @ 2018-05-29 11:33 rose_jeff
阅读(156)
评论(0)
推荐(0)
2018年5月24日
获取ITelephony 对象
摘要: Method method = null;IBinder binder = null;try { method = Class.forName("android.os.ServiceManager").getMethod("getService", String.class); binder = (
阅读全文
posted @ 2018-05-24 17:06 rose_jeff
阅读(107)
评论(0)
推荐(0)
2017年11月27日
whats is the difference between UIObject and UIObject2
摘要: From: https://stackoverflow.com/questions/40881680/whats-is-the-difference-between-uiobject-and-uiobject2-other-than-uiautomator-2/45336756#45336756 W
阅读全文
posted @ 2017-11-27 16:31 rose_jeff
阅读(366)
评论(0)
推荐(0)
2017年8月24日
Java连接Mongo或Redis DB注意事项
摘要: 之前遇到一个问题,使用, Jedis jedis = new Jedis(redisHost, redisPort); 这种方式连接Redis DB时,始终连接不上,后面发现是redisPort的原因,因为Redis数据库的端口是6379,我在 使用Docker开启Redis时,使用的如下方式: r
阅读全文
posted @ 2017-08-24 18:46 rose_jeff
阅读(188)
评论(0)
推荐(0)
TestNG中BeforeClass/AfterClass/BeforeMethod/AfterMethod中异常后不会继续执行TC的处理方式
摘要: 1.精确抛出异常 package com.rose.test.testng;import org.testng.annotations.AfterMethod;import org.testng.annotations.Test;public class LocalTest { @AfterMeth
阅读全文
posted @ 2017-08-24 18:35 rose_jeff
阅读(1038)
评论(0)
推荐(0)
2016年11月10日
Jenkins+ANT+TestNG环境搭建
摘要: 环境准备: Ubuntu 16.04 系统,配置TestNG环境,安装ant,jenkins,我是使用命令方式安装的: 安装ant: sudo apt install ant 安装Jenkins: wget -q -O - https://jenkins-ci.org/debian/jenkins-
阅读全文
posted @ 2016-11-10 15:25 rose_jeff
阅读(852)
评论(0)
推荐(0)
公告