Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BB10 : Globalization doesn't work #11

Open
wants to merge 104 commits into
base: master
Choose a base branch
from

Conversation

mamzellejuu
Copy link

I tried the example below:

<!DOCTYPE HTML>
<html>
  <head>
    <title>getLocaleName Example</title>
    <script type="text/javascript" charset="utf-8" src="cordova-2.9.0.js"></script>
    <script type="text/javascript" charset="utf-8">

    function checkLocale() {
      navigator.globalization.getLocaleName(
        function (locale) {alert('locale: ' + locale.value + '\n');},
        function () {alert('Error getting locale\n');}
      );
    }
    </script>
  </head>
  <body>
    <button onclick="checkLocale()">Click for locale</button>
  </body>
</html>

It always enter in the error callback.

brianleroux and others added 30 commits October 27, 2010 16:56
- Fix ANT issue on Windows 7 x64 systems
- Add persistent JavaScript callbacks
- Update camera API to use persistent callbacks.
- The latest Widget SDK changed the simulator directory
- This is a patch that adds support for the previous
  Widget SDK and the new Widget SDK.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet