Sound on Android & PhoneGap

Get help using Construct 2

Post » Thu Dec 01, 2011 5:10 am

I was wondering, if anyone gotten sound to work on an Android tablet? I have an Acer Iconia a500, I have also tried it on my droid incredible and my girlfriend's mytouch 4g I can't get it to work on any of them.

I have been trying to get it to work for a while now and have looked all over the forums and can't seem to get it to work. I can get it to play in the browser, but not when it built an apk with phonegap.

From what I've read it can only play one sound at a time, and that's perfect for what I'm looking to do, but so far no luck. So here's what I'm wondering,

1. Has anyone gotten sound to work on their android device?

2. If you have gotten it to work, would you mind posting a .capx that I could download and see what I might be doing wrong?

3. Here is a link to my .capx file too, what it's supposed to do is at the start of the frame play music. The sprite on the screen will rotate too, that's it really.
http://dl.dropbox.com/u/6759226/sound%20tests.capx

So if anyone has any suggestions I would truly appreciate it. I'm super stuck on this one.


Thanks!

B
24
S
4
G
5
Posts: 19
Reputation: 4,193

Post » Thu Dec 01, 2011 1:12 pm

Sound support on mobiles is pretty poor at the moment - I haven't done much testing on Android but on iOS it can only play one sound at a time and only seems to want to play sounds on user-initiated events like taps and touches, so the same might apply to Android.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Thu Jun 07, 2012 10:00 pm

hi @Ashley i have an iPad and and Iphone , no sounds at all.
is there a tutorial or an example somewhere ?
thank you
B
30
S
8
G
9
Posts: 30
Reputation: 8,693


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], mercuryus and 19 guests