自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(3)
  • 收藏
  • 关注

原创 安卓测试网络是否连通

Runtime runtime = Runtime.getRuntime(); try { Process p = runtime.exec("ping -c 2 www.baidu.com"); int ret = p.waitFor(); Thread.sleep(1000); System.out.println("查询到的网络访问码是::" + ret); ...

2018-05-30 15:12:58 1059

原创 设置diaog.builder的透明度

AlertDialog.Builder builder=new AlertDialog.Builder(this); builder.setTitle("找回密码"); builder.setMessage("你的账号是:"+name+"\n你的密码是:"+string1); builder.setPositiveButton("取消",null); AlertDialog show = buil

2017-05-21 17:28:54 231

原创 欢迎使用CSDN-markdown编辑器

notificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); //创建消息推送者 NotificationCompat.Builder builder=new NotificationCompat.Builde

2017-05-20 16:49:24 223

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除