BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Vibrate device repeatedly (http://www.blackberryforums.com/developer-forum/216490-vibrate-device-repeatedly.html)

syedshakeel2004 01-12-2010 04:37 AM

Vibrate device repeatedly
 
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

syedshakeel2004 01-12-2010 06:21 AM

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


All times are GMT -5. The time now is 12:58 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.