Audio Profiling

G Gustavo Costa 2 years 11 months ago
19 1 0

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

Please register or login to post a reply

1 Replies

G Gustavo Costa

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);

CONTACT
Can’t find what you’re looking for?