摘要: 1.为什么用Genymotion? Genymotion使用x86构架的android系统,在PC上跑起来速度快的飞起,部署速度比真机还快,还有谁? 2.下载Genymotion. Genymotion用户注册必须的,因为使用的时候也是要登录的 Gen... 阅读全文
posted @ 2015-11-03 11:24 Yusuzhan 阅读(404) 评论(1) 推荐(0) 编辑
摘要: 1.震动是系统的服务,首先需添加震动权限 2.实现震动方法代码 public static void sendVibrater(Context mContext) { // 间隔震动 Vibrator mVibrator = (Vibrator) mContext ... 阅读全文
posted @ 2015-11-03 10:55 Yusuzhan 阅读(442) 评论(0) 推荐(0) 编辑
摘要: public static void sendSound(Context mContext) { //上下文 Uri mUri= RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); //获取系统默... 阅读全文
posted @ 2015-11-03 10:34 Yusuzhan 阅读(1731) 评论(0) 推荐(0) 编辑
Fork me on GitHub