Android Question user notification sound

Mostez

Well-Known Member
Licensed User
Longtime User
Hello
I would like to know how to make short sound and vibration alert, for example if a critical value entered out of range.
if cVal > 25 then
sound
vibrate
end if

Thanks
 

JohnC

Expert
Licensed User
Longtime User
Last edited:
Upvote 0

Mostez

Well-Known Member
Licensed User
Longtime User
I did not find vibrate method in phone library!
B4X:
Dim aPhone as Phone
aPhone.vibrate 'not found
 
Upvote 0

Mostez

Well-Known Member
Licensed User
Longtime User
sorry Erel, but I did not find that too, my B4A version is 9.80 and phone library version is 2.5
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…