Make sure the Phone library is checked in the Libraries tab in the IDE.
B4X:
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.