BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-15-2008, 05:56 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Oct 2007
Model: 7100i
PIN: N/A
Carrier: Dont know
Posts: 195
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Vibrate and give a sound when new information comes

Please Login to Remove!

hi

i have an application which has to be run in the background and keep listening to incoming datas. When any new data comes it has to alert the user with a sound and enabling the buzzer(vibration).

Does anyone know hw to giv an vibration in blackberry when any data comes. Any links , samples, ideas will be really helpful.


Thanks in advance.
Offline  
Old 02-18-2008, 05:13 AM   #2 (permalink)
New Member
 
Join Date: Nov 2007
Model: 8310
PIN: N/A
Carrier: vodafone
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

take a look at net.rim.device.api.system.Alert....
isVibrateSupported() and startVibrate(int duration)

Regards,
Jochen
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.