D Deleted member 103 Guest Jan 1, 2015 #1 Hi, what is the equivalente of SetVolume/GetVolume in B4i? Code: oldVolume=phone1.GetVolume(phone1.VOLUME_MUSIC) phone1.SetVolume(phone1.VOLUME_MUSIC,phone1.GetMaxVolume(phone1.VOLUME_MUSIC) * plyVolume,False)
Hi, what is the equivalente of SetVolume/GetVolume in B4i? Code: oldVolume=phone1.GetVolume(phone1.VOLUME_MUSIC) phone1.SetVolume(phone1.VOLUME_MUSIC,phone1.GetMaxVolume(phone1.VOLUME_MUSIC) * plyVolume,False)
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2015 #2 It is more complicated in iOS. You are using MediaPlayer then you can change the mp.Volume property. It is possible to show a standard slider that will allow the user to change the volume. I can add this feature to the media library (or phone library). Upvote 0
It is more complicated in iOS. You are using MediaPlayer then you can change the mp.Volume property. It is possible to show a standard slider that will allow the user to change the volume. I can add this feature to the media library (or phone library).
D Deleted member 103 Guest Jan 1, 2015 #3 It is possible to show a standard slider that will allow the user to change the volume. I can add this feature to the media library (or phone library). Click to expand... That would be great, thank you. Upvote 0
It is possible to show a standard slider that will allow the user to change the volume. I can add this feature to the media library (or phone library). Click to expand... That would be great, thank you.
John Woodsmall Active Member Licensed User Longtime User Oct 3, 2015 #4 How do i re-set the volumn to normal after it has been lowered by the operating system without permission? the api.ai program somehow lowers it by itself. Barely hear it. Upvote 0
How do i re-set the volumn to normal after it has been lowered by the operating system without permission? the api.ai program somehow lowers it by itself. Barely hear it.
Erel B4X founder Staff member Licensed User Longtime User Oct 4, 2015 #5 It is not possible to programmatically change the system volume. You can only change the volume of MediaPlayer playback. Upvote 0
It is not possible to programmatically change the system volume. You can only change the volume of MediaPlayer playback.
JackKirk Well-Known Member Licensed User Longtime User Mar 28, 2016 #6 Erel said: It is not possible to programmatically change the system volume. You can only change the volume of MediaPlayer playback. Click to expand... I have 2 volume control solutions: (1) "General audio" - music, TTS etc: https://www.b4x.com/android/forum/threads/control-general-audio-volume.65118/(2) "Ringer" or "ringtones/alerts" - incoming phone call, SMS arrivals, other notifications AND pseudo camera shutter sound: https://www.b4x.com/android/forum/threads/control-ringer-volume.65140/Regards... Last edited: Mar 28, 2016 Upvote 0
Erel said: It is not possible to programmatically change the system volume. You can only change the volume of MediaPlayer playback. Click to expand... I have 2 volume control solutions: (1) "General audio" - music, TTS etc: https://www.b4x.com/android/forum/threads/control-general-audio-volume.65118/(2) "Ringer" or "ringtones/alerts" - incoming phone call, SMS arrivals, other notifications AND pseudo camera shutter sound: https://www.b4x.com/android/forum/threads/control-ringer-volume.65140/Regards...