Problems controlling sound volume

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
alexGAzLSp
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 14
Joined: Wed Dec 07, 2011 1:39 pm

Problems controlling sound volume

Post by alexGAzLSp » Wed May 01, 2013 11:07 am

I've built a small timer app for my samsung Note 2 for my gym work. I needed a specialised timer that the standard offerings didn't meet. Also I wanted nice large buttons and numbers - easy to use when flat out during exercise :D . All that went quite smoothly for my first LC android app. However I can't control the volume of sound (either simple or channel) via code or even via the device volume controls even when set the mute. What should I be doing to have programmatic volume control? So far I followed the language dictionary and the Android release notes. Thanks, Alex

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7389
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Problems controlling sound volume

Post by jacque » Thu May 02, 2013 7:10 pm

You'll need to use sound channels on Android. Can you post the relevant part of your script?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply