- 浏览: 123012 次
文章分类
- 全部博客 (121)
- confluence (1)
- android (77)
- PHP (6)
- java (21)
- mysql (3)
- dos (1)
- 传感器 (2)
- 获取电话薄信息 (3)
- 正则表达式 (1)
- 网络 (1)
- 蓝牙 (1)
- 图片 (4)
- intent (3)
- 注意 (1)
- eclipce (1)
- plugins (1)
- dialog (4)
- zip (1)
- sd卡 (1)
- ui (1)
- Camera (1)
- draw (1)
- activity (2)
- launchMode (1)
- 安全 (1)
- Button (1)
- ImageTextButton (1)
- paint (1)
- network (1)
- popupwindow (1)
- jquery (1)
- ant (1)
- notifaction (1)
- Rating (1)
- ListView (3)
- editText (1)
- doc (1)
- jdk (1)
- animation (1)
- sign (1)
- 签名 (1)
- 广播 (1)
- textview (4)
- 删除线 (1)
- 城市列表 (1)
- IDE (1)
- Eclipse (1)
- pixels (2)
- px (1)
- 静默安装 (1)
- Android截屏 (1)
- eclipcetheme (1)
- scroll (1)
- ActivityGroup (1)
- sqlite (1)
- webview (3)
- PullToRefreshListView (1)
- cache (1)
- java引用 (1)
- 命名空间 (1)
- httpClient (1)
- 开源控件 (0)
- sms (1)
- 文字水平滚动 (1)
- 正则 (1)
- 理论知识 (1)
- 属性 (0)
- openfire (1)
- 面试 (1)
- 继承的优缺点 (1)
- PowerDesigner (1)
- 数字格式化 (1)
- andriod (1)
- webservice (1)
- 记录 (0)
- share (0)
- 开源 (1)
最新评论
/** 关 于vv.vibrate(new long[]{10, 100, 20, 200}, -1); 表示停10ms, 震100ms, 停20ms,震200ms -1 表示不重复! 非-1表示从指定的下标开始重复震动;如第二个参数是0, 则一圈一圈的循环震动下去了; 如果是2,这第一遍震动后,从“20”这个参数开始再循环震动! */ Vibrator vv=(Vibrator) getApplication().getSystemService(Service.VIBRATOR_SERVICE); vv.vibrate(500);//震半秒钟 vv.vibrate(new long[]{10, 100, 20, 200}, -1);
发表评论
-
使用Android进行分享
2014-04-21 14:22 01.简单的分享文本 Intent sendIntent = ... -
android:descendantFocusability用法简析
2013-11-25 10:11 0开发中很常见的一个问题,项目中的listview不 ... -
Android 的应用程序的优先级和进程状态
2013-11-04 12:29 2201回收资源的时候,进 ... -
去掉listview顶部和底部阴影(高光部分)
2013-11-13 11:04 652/** * 去掉listview顶部和底部阴影(高光 ... -
Android的5个进程等级 .
2013-10-22 17:00 654来自:http://blog.csdn.net/ ... -
使用TextView 使用文字水平滚动
2013-09-26 15:12 611/** * * <b>功能名:< ... -
SMS研究(转)记录地址
2013-09-22 15:20 689拦截短信 作者:bingzhi更新于 07月26日访问(70 ... -
ListView 隐藏滚动条及基本属性
2013-09-09 22:25 1209由于这两天在做listView的东西,所以整理出来一些我个 ... -
android 编辑框过滤文本
2013-09-05 13:48 520public class EditOnKeyListener ... -
HttpClient The target server failed to respond
2013-09-04 17:50 14729关于HttpClient 出现 The target ser ... -
android webview的三种加载方式
2013-08-28 17:20 529//打开本包内asset目录下的index.html文件 ... -
TextView的一些高级显示
2013-08-20 10:41 3861. 自定义字体可 ... -
命名空间
2013-08-19 18:18 7201.需要在AndroidManifest.xml添加自己的 ... -
java 4种引用
2013-08-16 09:20 6861.强引用本章前文介绍的引用实际上都是强引用,这是使用最普遍 ... -
清除 webView 存在的缓存!
2013-08-15 17:27 738CookieSyncManager.createInstan ... -
使用 PullToRefreshListView 分页问题.
2013-08-15 12:05 2245使用PullToRefreshListView分页刷新问题, ... -
清除webview产生的缓存
2013-08-15 10:03 1501/** * 删除应用缓存(/data/data/包名/ ... -
读取assets或者raw目录下的sqlite数据库
2013-08-14 17:46 956public class DbManager { pr ... -
使用 ActivityGroup 加载多个Activity
2013-08-14 15:13 6561.mTabClassArray 数组中存放的是Activi ... -
监听 ScrollView 滑动到底部
2013-08-13 15:52 8971.给ScrollView添加 OnTouchListene ...
相关推荐
Android Vibrator手机震动服务实现文档.rar
Vibrator手机震动服务 - 小小程序员 - 博客频道 - CSDN.pdf,太多无法一一验证是否可用,程序如果跑不起来需要自调,部分代码功能进行参考学习。
安卓开发-Vibrator手机震动服务 - 小小程序员 - 博客频道 - CSDN
Vibrator控制手机震动的Demo,博客示例的源代码。
android 手机震动的节奏 Vibrator
主要介绍了Android Vibrator调节震动代码实例,本文直接给出实现代码,代码中包含详细注释,需要的朋友可以参考下
源码参考,欢迎下载
Android vibrator方法关闭和打开振动功能,通过Android vibrator方法设置不同的参数,来关闭和打开手机振动功能: ToggleButton tb2 = (ToggleButton)findViewById(R.id.tb2); //获得ToggleButton对象 tb2....
android震动(vibrator)系统开发全过程.docx
介绍了Android 如何定制vibrator的各种震动模式M 具体方法,有需要的朋友可以参考一下
Android中手机震动的设置(Vibrator)的步骤: a、通过系统服务获得手机震动服务,Vibrator vibrator = (Vibrator)getSystemService(VIBRATOR_SERVICE); b、得到震动服务后检测vibrator是否存在: vibrator....
Android打开震动,设置震动等级,关闭震动。
安卓手机震动功能如何实现源码,就是触发手机的震动功能
本节我们介绍的是Vibrator(振动器),是手机自带的振动器,其实就是Android给我们提供的用于机身震动的一个服务!当收到推送消息的时候我们可以设置震动提醒。
Android 指定手机号的手机震动模式自定义实例,请看以下的代码片段: RadioButton rbMeeting;//会议模式 RadioButton rbNormal;//正常模式 Button bAdd;//添加按钮 EditText et;//输入框 TextView tv;//...
调用Android系统的震动,只需要一个类 那就是Vibrator ,这个类在hard包中,一看系统级的服务,又要通过manifest.xml文件设置权限了 <?xml version=1.0 encoding=utf-8?> <manifest xmlns:android=...
Vibrator是Android给我们提供的用于机身震动的一个服务哦 更多详情可见官方API文档:Vibrator 如何使用? 首先添加震动权限: <uses android:name=android.permission.VIBRATE> 获得Vibrator实例: Vibrator ...