摘要: 由于在Android 7.0 采用了StrictMode API政策禁,其中有一条限制就是对目录访问的限制。 这项变更意味着我们无法通过File API访问手机存储上的数据,也就是说,给其他应用传递 file:// URI 类型的Uri,可能会导致接受者无法访问该路径,并且会会触发 FileUriE 阅读全文
posted @ 2018-07-14 01:43 邱海传 阅读(758) 评论(0) 推荐(0) 编辑
摘要: import java.security.SecureRandom; import java.util.Random; public class RandomString { public static final String SOURCES = "ABCDEFGHIJKLMNOPQRSTUVWX 阅读全文
posted @ 2017-11-05 22:28 邱海传 阅读(9681) 评论(0) 推荐(0) 编辑
摘要: import java.io.FileInputStream; import javax.swing.JApplet; import sun.audio.AudioPlayer;import sun.audio.AudioStream; public class Sound1 extends JAp 阅读全文
posted @ 2017-10-31 04:41 邱海传 阅读(16712) 评论(3) 推荐(0) 编辑
摘要: import org.eclipse.swt.widgets.Display;import org.eclipse.swt.widgets.Shell;import org.eclipse.swt.widgets.Composite;import org.eclipse.swt.SWT;import 阅读全文
posted @ 2017-10-28 00:46 邱海传 阅读(1623) 评论(0) 推荐(0) 编辑
摘要: 解决办法网址:https://jingyan.baidu.com/article/1876c852be0380890b137627.html 阅读全文
posted @ 2017-10-24 03:01 邱海传 阅读(785) 评论(0) 推荐(0) 编辑
摘要: package cn.net.ching; import java.io.ByteArrayOutputStream;import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; import ja 阅读全文
posted @ 2017-10-23 12:10 邱海传 阅读(9016) 评论(0) 推荐(0) 编辑
摘要: 开始我的博客旅行。 阅读全文
posted @ 2017-10-20 18:31 邱海传 阅读(102) 评论(0) 推荐(0) 编辑