cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-6011) Cordova Media doesn't work properly on Kindle Fire (Android 2.3)
Date Mon, 17 Feb 2014 15:56:26 GMT

    [ https://issues.apache.org/jira/browse/CB-6011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903329#comment-13903329
] 

Joe Bowser edited comment on CB-6011 at 2/17/14 3:55 PM:
---------------------------------------------------------

Just because you're blocked doesn't mean we're blocked.  Issues on a single device are given
a minor status unless it's a flagship device, or a Samsung Device, since there's so many of
them.

Given that FireOS doesn't have to pass Android CTS it's totally possible.


was (Author: bowserj):
Just because you're blocked doesn't mean we're blocked.  Issues on a single device are given
a minor status unless it's a flagship device, or a Samsung Device, since there's so damn many
of them.

Given that FireOS doesn't have to pass Android CTS it's totally possible.

> Cordova Media doesn't work properly on Kindle Fire (Android 2.3)
> ----------------------------------------------------------------
>
>                 Key: CB-6011
>                 URL: https://issues.apache.org/jira/browse/CB-6011
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 3.3.0
>         Environment: Kindle Fire (1st generation ), Based on Android OS 2.3.3
>            Reporter: Thibault Durand
>            Priority: Minor
>
> Hello,
> I have an issue with my Kindle Fire (Android 2.3)
> First, i've managed to create a sample app to reproduce the bug: https://github.com/mosalingua/cordova-sampleapp-bug-media-sound-kindle
> You can download the apk here : https://github.com/mosalingua/cordova-sampleapp-bug-media-sound-kindle/raw/master/platforms/android/bin/HelloWorld-debug.apk
> This app just has a button to play a sound, and we can visualise the Media Callback when
they are called. 
> And the problem is that on the Kindle Fire (Based on Android OS 2.3.3), the callback
mediaSuccess isn't called. 
> I've tested on these devices:
>  -> Kindle Fire (1st GEN), Android 2.3.3 => KO
>  -> Nexus 7, Android 4.4 => OK
>  -> Samsung Galaxy S1, Android 2.3.3 => OK 
>  -> Samsung Galaxy S2, Android 4.0.4 => OK
> As i've released my app on Amazon, i'm currently blocked on this platform to keep releasing
update, my last update was based on cordova 2.7, which worked fine on Kindle.
> I've dug into the Media Plugin, and i've find out that in the AudioPlayer.java , the
setState method is working just fine, and send this message to the javascript part with the
correct status ( 4 == MEDIA_STOPPED ):
> cordova.require('org.apache.cordova.media.Media').onStatus('c5f1ec7b-9cdf-0a49-3f62-0def8bd2d9b2',
1, 4);
> But, when i put a console.log in the Media.onStatus callback in the Media.js file, i
don't get anything, it seems that the message isn't caught.
> So my question is : Do you see how that could be possible ?
> Thanks, i can give you more information if needed.
> Best regards,
> Thibault



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message