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  




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