Object documentation: PhoneVibrate B4A Question PhoneVibrate and Android 14 - BlueVision (first post)    Mar 28, 2024
I can hardly call that an improvement.
It was meant sarcastic. However, there are so many odd thin... B4A Question PhoneVibrate Not Work in Android 11 - cb56 (first post)    Mar 6, 2023 Sorry, I was using too low a time (5 milliseconds) which worked well on the Samsung S8 with Android 9, while on the Samsung S20 with Android 11 I had to raise it to at least 25 milliseconds.
It is probably a phone problem and not related to the Android version.
You can close, thank you... B4A Question How to use PhoneVibrate in phone library - Erel (first post)    Apr 25, 2017   (2 reactions)   tags: B4A Works fine here. Tested on Android 7.1.... B4i Question Tactile response - TheRealMatze    Dec 30, 2021 phonevibrate with 5ms duration. This is far away from excellent, but better than nothing. On B4i is phonevibrate not available, is there anything else i can use?
Thanks!
Regards
Matthias... B4A Question Default message sound - francoisg    Jul 22, 2015 Hi, I am using the following code to play a "message" ringtone. Sub makeNotificationsound ' ** Vibrate ... Dim pv As PhoneVibrate pv.Vibrate(1000) ' ** Play default authentication sound ... Dim mp As MediaPlayer mp.Initialize ' ** Use ringtone manager to get default sound ... Dim rm As RingtoneManager mp.Load(rm.GetContentDir, rm.GetDefault(rm.TYPE_NOTIFICATION)) mp.Play End Sub After upgrading to Android 5.02, I get the following... B4A Code Snippet "Raise left hand" - tracking with Smartwatch (WearOS) - Watchkido1    Aug 18, 2023   (3 reactions) Process_Globals Private nid As Int = 1 Private lock As PhoneWakeState 'Private pl As SimpleExoPlayer Dim ps As PhoneSensors Dim X,Y,Z As Float Private counter As Long 'Dim v As PhoneVibrate Dim b As Beeper Public Provider As FileProvider End Sub Sub... If z < 9300 And z > -2000 Then Dim v As PhoneVibrate...) v.Vibrate(600) ' If LEDCorona.KVS2.Get("Beepsound") Then... B4A Question user notification sound - Erel (first post)    Jun 4, 2020   (1 reaction) The correct type is PhoneVibrate.... B4A Question Check if a phone call is in progress? - Inman    Nov 10, 2019 I am working on an app that is required to vibrate when an incoming phone call comes. I detected incoming call using PhoneEvents_PhoneStateChanged function, checking it's STATE=RINGING. I can vibrate the device with PhoneVibrate as well. But I want to make sure I don't vibrate on an incoming call if the user is already on a phone call. So my question is how to detect if a phone call is already in progress. I see a java code in the stackoverflow post below but it is from 2011. I hope... B4A Question Simple Vibrate command? - DonManfred (first post)    Jan 12, 2019   (1 reaction) 1. Use the Forumsearch should always be a thing to try.
https://www.b4x.com/android/forum/pages/results/?query=PhoneVibrate
The first result is the link to the documentation.
https://www.b4x.com/android/help/phone.html#phonevibrate
The HTML Filename is the Library where phonevibrate belongs to.... B4A Question Vibrate phone when asleep - jimseng (first post)    Aug 13, 2023 I have unlocked it myself.
And I am using:
Dim pv As PhoneVibrate
pv.Vibrate(1000) to vibrate... it will receive any serial data when paused. However. Using
Dim awake As PhoneWakeState
awake.KeepAlive... Page: 1   2   3   4   5   6   7   |