摘要: 准备工作在以前一篇博客中写过了:http://www.cnblogs.com/rainday1/p/5305469.html 但是官网下载的最新jar包不需要单独导入定位包,而且有些类过时了,所以这里面的方法可能与上一篇有点不一样 工程结构: 0.准备类 TTSController.java pac 阅读全文
posted @ 2016-06-01 19:48 下雨天rain 阅读(4626) 评论(0) 推荐(0) 编辑
摘要: public static Point point = new Point();//获取屏幕的大小 getWindowManager().getDefaultDisplay().getSize(point); public int XLength=point.x; //X轴的长度 public in 阅读全文
posted @ 2016-06-01 19:18 下雨天rain 阅读(227) 评论(0) 推荐(0) 编辑