B4i Code Snippet Control ringer volume - JackKirk    Mar 28, 2016   (1 reaction)   tags: B4i " - music, TTS etc "Ringer" or "ringtones/alerts" - incoming phone call, SMS...-controls-for-ringtones-and-general-audio/ The following code snippet allows you to control the ringer.../6284402/how-to-disable-ios-system-sounds?answertab=votes#tab-top Allows you to change the ringer volume (0 = mute, 1= full). Hides the stupid "ringer volume HUD" (the little grey square... simple B4I example that uses the Camera object to supply a test "ringer" (aka... Bug? Short Vibration not working anymore on Android 15 (Pixel 8 Pro) when haptic feedback is off and duration short - optionexplicit (first post)    Dec 21, 2024 Maybe not a bug, but some apps know how to vibrate short.
isnt there a trick or another way to vibrate short or change the system setting?
i dont want a global setting for everything which is fix. google just thinks to big for mass users, not for special freaks.... B4A Question Short Vibration not working anymore on Android 15 (Pixel 8 Pro) - Erel (first post)    Nov 11, 2024 Untested code:
Private Sub Vibrate(Milliseconds As Long, Aplitude As Int)
Dim VibrationEffect As JavaObject
VibrationEffect = VibrationEffect.InitializeStatic("android.os.VibrationEffect") _
.RunMethod("createOneShot", Array(Milliseconds, Aplitude))
Dim ctxt... B4A Question Notification with vibration - Erel (first post)    Aug 15, 2024 I guess that notification is your only option and you will need to check your device settings and find out why the vibration doesn't work.
Better to use NB6 to create the notifications.... 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 Vibrate phone when asleep - jimseng (first post)    Aug 14, 2023 That's good news. I am using b4xpages.... B4i Code Snippet Play SystemSounds (and Vibration) - Mike1970    May 12, 2021   (6 reactions) Hi, i found this post on the forum from @aeric I slightly modified it to play every sound you want from the systemsounds of iOS, by passing the ID. The id list can be found here: iOSSystemSoundsLibrary Sub PlaySystemSound(id As Int) Dim NativeMe As NativeObject = Me NativeMe.RunMethod("play:", Array(id)) End Sub #If ObjC #import <AVFoundation/AVAudioPlayer.h> - (void) pla... 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 pr... B4i Question Current Ringer Volume - Erel (first post)    Jun 18, 2020 I don't think that it is possible.... B4A Question Disable Notification Vibrate On Foreground Service - Erel (first post)    Feb 16, 2022   (1 reaction) You should set the foreground mode to NEVER if you are calling Service.StartForeground yourself.... Page: 1   2   3   4   5   6   7   |