rfresh Well-Known Member Licensed User Longtime User Jul 8, 2012 #1 I'm using the commands Code: Copy p.SetRingerMode(p.RINGER_NORMAL) p.SetRingerMode(p.RINGER_VIBRATE) respectively to make my phone ring or vibrate, but how would I make it ring and vibrate at the same time? I can't set both of these parameters at the same time right? Thanks...
I'm using the commands Code: Copy p.SetRingerMode(p.RINGER_NORMAL) p.SetRingerMode(p.RINGER_VIBRATE) respectively to make my phone ring or vibrate, but how would I make it ring and vibrate at the same time? I can't set both of these parameters at the same time right? Thanks...
Erel B4X founder Staff member Licensed User Longtime User Jul 8, 2012 #2 p.RINGER_NORMAL should play a sound and vibrate the phone if the user has set it to vibrate in the settings page. Upvote 0
p.RINGER_NORMAL should play a sound and vibrate the phone if the user has set it to vibrate in the settings page.
J jeronimovilar2 Member Licensed User Longtime User Sep 21, 2012 #3 How to vibrate? I have a countdown-timer and i´d like to vibrate when the time is 0 (zero). How can i do? sorry my english? Upvote 0
How to vibrate? I have a countdown-timer and i´d like to vibrate when the time is 0 (zero). How can i do? sorry my english?
G genesi Active Member Licensed User Longtime User Sep 21, 2012 #4 you should open a new thread From Wiki Code: Copy Sub Process_Globals Dim Vibrate As PhoneVibrate ' For phone vibration End Sub Sub Button_Click Vibrate.Vibrate (50) ' Vibrate phone for 50 ms ... End Sub Mario Upvote 0
you should open a new thread From Wiki Code: Copy Sub Process_Globals Dim Vibrate As PhoneVibrate ' For phone vibration End Sub Sub Button_Click Vibrate.Vibrate (50) ' Vibrate phone for 50 ms ... End Sub Mario
J jeronimovilar2 Member Licensed User Longtime User Sep 27, 2012 #5 THANK YOU, but... Work fine, but how can i do for vibrate AND a ring (alarm or bell)? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Sep 27, 2012 #6 Please start a new thread for this question. Upvote 0
W wheretheidivides Active Member Licensed User Longtime User Oct 27, 2012 #8 So for the newbees (like me), you have to also add the library 'phone' into your projrct. 1) From IDE click on 'libs' at bottom right od screen. 2) checkmark the 'phone' When you do you will see the red code 'vibrate' turn blue (coorect color). Upvote 0
So for the newbees (like me), you have to also add the library 'phone' into your projrct. 1) From IDE click on 'libs' at bottom right od screen. 2) checkmark the 'phone' When you do you will see the red code 'vibrate' turn blue (coorect color).