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
i have done it now i am putting startvibrate() in thread and aftrer that according to one global flag i am disablin it.
|All times are GMT -5. The time now is 11:00 PM.|
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.