goldmagnet Member Licensed User Longtime User Feb 5, 2014 #1 Hi Anyone know how to play the standard camera shutter noise ? I can't find it declared as a resource anywhere ? I am trying to avoid bundling a sound file. Thanks Huw
Hi Anyone know how to play the standard camera shutter noise ? I can't find it declared as a resource anywhere ? I am trying to avoid bundling a sound file. Thanks Huw
JTmartins Active Member Licensed User Longtime User Feb 5, 2014 #2 The camera system sound is located in /system/media/audio/ui File name camera_click.ogg I think you need to be rooted to access this folder. Upvote 0
The camera system sound is located in /system/media/audio/ui File name camera_click.ogg I think you need to be rooted to access this folder.
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2014 #3 This code does work on an unrooted device: B4X: Dim mp As MediaPlayer mp.Initialize mp.Load("/", "system/media/audio/ui/camera_click.ogg") mp.Play Though it is safer to copy it and include it in your app. Upvote 0
This code does work on an unrooted device: B4X: Dim mp As MediaPlayer mp.Initialize mp.Load("/", "system/media/audio/ui/camera_click.ogg") mp.Play Though it is safer to copy it and include it in your app.