cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1743) Globalization.getDateNames will crash Android 2.2 applications
Date Thu, 25 Oct 2012 14:39:12 GMT

     [ https://issues.apache.org/jira/browse/CB-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Simon MacDonald resolved CB-1743.
---------------------------------

    Resolution: Fixed

I did what I said I was going to do.
                
> Globalization.getDateNames will crash Android 2.2 applications
> --------------------------------------------------------------
>
>                 Key: CB-1743
>                 URL: https://issues.apache.org/jira/browse/CB-1743
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: Android
>    Affects Versions: Master
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>             Fix For: 2.2.0
>
>
> The Globalization.getDateNames Java code relies on Android API level 9 (Android 2.3)
methods. Specifically Calendar.getDisplayNames(). I'm adding a check in the Globalization
plugin so when someone calls Globalization.getDateNames() on Android 2.2 or earlier the error
callback is invoked instead of having the application crash.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message