自定义博客皮肤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)
  • 收藏
  • 关注

原创 android各种格式文件的打开(代码)

public Intent getIntent(File file, String str) { Intent intent; Uri uri; intent = new Intent("android.intent.action.VIEW"); intent.addCategory("android.intent.category.DEFAULT"); i

2016-12-08 14:08:26 1614

原创 android私有存储目录下的文件如何让其他程序有权限打开

解决方法:1这段代码是关键:public void shell() { Process p; int status = -1; try { p = Runtime.getRuntime().exec("chmod 777 " + file); status = p.waitFor(); } catch (IOException

2016-11-30 10:42:29 2788 1

原创 Context-Menu.Android库的使用(修改显示位置)

这个库ios版可以直接调用系统api,android需要修改相关源码,我是修改为右下显示,解决方法:1.修改fragment_menu:LinearLayout android:id="@+id/wrapper_buttons" android:layout_width="wrap_content" android:layout_height="wrap_con

2016-11-30 10:20:37 1521 1

空空如也

空空如也

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

TA关注的人

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