List of sessions - / droidkaigi
Control the *sound of Android (Nishimy)*
Android volume settings are a feature that varies from device to device. Silent mode in particular varies widely depending on the device. In some cases, you may need to have certain permissions granted to unmute the device. This session will explain what kind of differences exist in how to set the device volume for each device.
Also, when controlling the volume of Android, it is necessary to use appropriately some attributes (AudioAttributes). I will introduce the different types of AudioAttributes and explain which Audio Attributes should be used in which situations. and which AudioAttributes should be used in which situations. Then, I will explain what you should pay attention to when controlling the volume.
As you can see, controlling sound in Android is surprisingly complex. In this session, I will talk about how to successfully control sound from the application side.
How to change the volume on Android
Device differences around volume
Silent mode
Permissions related to volume control
How to use AudioAttributes
Things to keep in mind when controlling volume
DroidKaigi 2023 Session timetable/Slide link - https://2023.droidkaigi.jp/en/timetab...
---------
DroidKaigi is a conference tailored for Android developers. It took place on the 14, 15, and 16 of September 2023.
All participants at DroidKaigi are required to agree with the DroidKaigi Code of Conduct.
This will be enforced on social media and YouTube comments and chats as well:
https://portal.droidkaigi.jp/en/about...
DroidKaigi 2023 and more - https://2023.droidkaigi.jp/
DroidKaigi Twitter - / droidkaigi
#Android #DroidKaigi
----
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.