When you use the Symbol device (TC700H) hard trigger, it opens DataWedge with a beeping sound and shows the scanned barcode. However, when I apply a profile in my application, the beeping sound disappears. I would like to be able to control the beep sound. I have noticed that there is a audio manager in the profile list of features but I cannot make it to work. I did not find any tutorial or any examples anywhere about this subject using the profile manager.
I am using Visual Studio 2015, a broadcast profile and Xamarin android.
I just wish there were more examples in the website to address configurations with profiling.
Thank you
Audio Profiling |
1 Replies
I have tried everything for the past 2 months. By chance today I saw somebody post about playing audio and I have found a solution by pure luck and try and error.
If helps anybody, here is how I have managed to find a solution:
// Initialize the audio manager
AudioManager audioManager = (AudioManager)context.GetSystemService(Context.AudioService);
// And when you want to play the beeping sound notification
audioManager?.AdjustVolume(Adjust.Same, VolumeNotificationFlags.PlaySound);