Page 1 of 1

How do I play sound on touch

PostPosted: Thu Oct 16, 2014 1:40 am
by emgee95x
Hello,

I want to play an audio file on touching an object but I think there's something wrong with it.
It works perfectly when I'm testing ( when you press F5 and it loads the app in your browser ) but once I export it to my android phone It won't work ( I'm using PhoneGap export )
Here's the event that I added, please tell me what's wrong with it.

Image

Re: How do I play sound on touch

PostPosted: Thu Oct 16, 2014 8:21 am
by puntodamar
maybe you didn't use preload,,

Re: How do I play sound on touch

PostPosted: Thu Oct 16, 2014 1:18 pm
by emgee95x
Still not working, can you please walk me through this?
Here's what I did hoping that's what you meant,

Image

Re: How do I play sound on touch

PostPosted: Fri Oct 31, 2014 5:26 pm
by gonzdevour
Same here.
I exported official Space Blaster to Phonegap Build,(C2 r185)
the android apk played no sound.

Samsung Galaxy S2
Android 4.1.2

I searched the whole forum and knew some developers can make sound work on phonegap apk.
please tell me how to do and the testing device.

Re: How do I play sound on touch

PostPosted: Sun Jul 26, 2015 11:25 am
by olkina
The same problem. No sound on Samsung (tested on Galaxy S 4 and on note 3)
https://drive.google.com/file/d/0ByR2TXt1oVtHWURIX0tTQzZpSG8/view?usp=sharing

Construct r208