Erel B4X founder Staff member Licensed User Longtime User Nov 21, 2010 #2 Add a reference to the Phone library and then: Code: Copy Dim p As Phone p.Vibrate(1000) 'one second Upvote 0
agraham Expert Licensed User Longtime User Nov 21, 2010 #3 Make sure the Phone library is checked in the Libraries tab in the IDE. Code: Copy Sub Globals 'These global variables will be redeclared each time the activity is created. 'These variables can only be accessed from this module. Dim Phone1 As Phone End Sub .... Phone1.Vibrate(1000) ' 1000mSecs EDIT :- Snap! - again! Upvote 0
Make sure the Phone library is checked in the Libraries tab in the IDE. Code: Copy Sub Globals 'These global variables will be redeclared each time the activity is created. 'These variables can only be accessed from this module. Dim Phone1 As Phone End Sub .... Phone1.Vibrate(1000) ' 1000mSecs EDIT :- Snap! - again!