Android V4.4.2 not producing sound

Bugs will be moved here once resolved.

Post » Mon Apr 25, 2016 11:31 pm

Problem Description
The version 4.4.2 (KitKat) Android does not play sound. And we believe that all versions prior to 5.0 do not produce sound.

Attach a Capx
https://drive.google.com/file/d/0B6C0RF ... sp=sharing

Description of Capx
Simply plays a sound when the button is pressed.

Steps to Reproduce Bug
  • Step 1
    Touch the button to play the sound
  • Step 2
  • Step 3 etc.

Observed Result
I am testing a sound .m4a and .ogg, compatible with smart phone. We export the project with "Cordova", "4.0+ (Ice Cream Sandwich) Crosswalk" and we exported to "Universal VS2013 Windows Phone 8.1".
Android compilation was done in cocoon.io.
This project is a test for Anadroid phones in version 4.4.2 and 5.1.1. And in Windows Phone 8.1.
On phones Windows Phone 8.1 and Android 5.1.1, the sound is played perfectly fine.
But in the Android 4.4.2 phone the sound is played.
We believe that all versions prior to 5.0 of Android the sound does't works.

Expected Result
Play the sound on phone platforms

Affected Browsers
  • Chrome: (YES/NO)
    NO
  • FireFox: (YES/NO)
    Not testing
  • Internet Explorer: (YES/NO)
    NO

Operating System and Service Pack
Windows 10 Pro
Phones: Android 4.4.2/5.1.1, Windows Phone 8.1

Construct 2 Version ID
R227
B
27
S
10
G
2
Posts: 39
Reputation: 2,869

Post » Tue Apr 26, 2016 10:22 am

You need to build with Crosswalk support for sound to work on Android 4.x. It's applied automatically on PhoneGap Build and the latest Intel XDK with the new project format, but otherwise I think you need to manually enable it. Closing as I'm assuming you've just built without Crosswalk.
Scirra Founder
B
399
S
236
G
89
Posts: 24,525
Reputation: 195,382

Post » Tue Apr 26, 2016 5:48 pm

I built it with Crosswalk in Construct 2 export but it did not function. What you mean? I dont understand...

Ashley wrote:You need to build with Crosswalk support for sound to work on Android 4.x. It's applied automatically on PhoneGap Build and the latest Intel XDK with the new project format, but otherwise I think you need to manually enable it. Closing as I'm assuming you've just built without Crosswalk.
B
27
S
10
G
2
Posts: 39
Reputation: 2,869

Post » Wed Apr 27, 2016 4:56 pm

Have you tried any other build services? I suspect this is a problem with cocoon.io, probably that it just built without Crosswalk, which would cause this exact problem. Nobody else has reported any trouble, so I think you should either report this to cocoon.io or try a different build system.
Scirra Founder
B
399
S
236
G
89
Posts: 24,525
Reputation: 195,382

Post » Thu Jun 02, 2016 5:03 am

@Ashley
I built app without crosswalk
without Crosswalk it gives a small size apk
I want a try with this
but sound is not playing What should I do for playing sound without Crosswalk
Image
B
68
S
40
G
48
Posts: 680
Reputation: 34,066


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests