BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-12-2010, 05:37 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2009
Model: 7100T
PIN: N/A
Carrier: java
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Vibrate device repeatedly

Please Login to Remove!

Hi to all,

i want to vibrate the device repeatedly for incoming call using apis. i have tried to implement it all this functionality in incomingcall(...)function of phonelistener. there is function startvibrate(duration). it vibrate for some duration only. I am trying to call this api again using addalertlistener(), but problem is that i am using this one in thread class which is child class of mainscreen class. so vibratedone(....) is called but it is called after so much long time and it is coming out of incomingcall(...) function of phonelistener.

so my question is that how can i vibrate device in thread for the incoming call.

all suggestion are highly appreciated

with thanx and regards
shakeel
Offline  
Old 01-12-2010, 07:21 AM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2009
Model: 7100T
PIN: N/A
Carrier: java
Posts: 31
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default vibrate repeatedly

hi,

i have done it now i am putting startvibrate() in thread and aftrer that according to one global flag i am disablin it.


thanx again

shakeel
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

DWYER INSTRUMENTS 628-10-GH-P1-E3-S5 Pressure Transducer, 0 to 100
$60.0
DWYER INSTRUMENTS 628-10-GH-P1-E3-S5 Pressure Transducer, 0 to 100 pictureKrautKramer B4S-N 4 MHz Ultrasonic Straight Beam Type Transducer Probe B4S
$375.0
KrautKramer B4S-N 4 MHz Ultrasonic Straight Beam Type Transducer Probe B4S pictureKrautKramer B2S-N 2 MHz Ultrasonic Straight Beam Type Transducer Probe B2S
$275.0
KrautKramer B2S-N 2 MHz Ultrasonic Straight Beam Type Transducer Probe B2S picture10 BPO PIEZOELECTRIC PIEZO TRANSDUCER CRYSTAL 5MHZ PZO-PSPH-5-1
$29.99
10 BPO PIEZOELECTRIC PIEZO TRANSDUCER CRYSTAL 5MHZ PZO-PSPH-5-1  pictureDDC Analog Transducer With Gauge Great Price, Minimal Usage
$25.0
DDC Analog Transducer With Gauge Great Price, Minimal Usage picture






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