ICEmobile
  1. ICEmobile
  2. MOBI-181

Android container not working on 4.0 phone

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Final
    • Fix Version/s: EE 1.0 RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      Android 4.0

      Description

      Container is not working on Android 4.0 phone. Looks like a javascript problem of some sort.

      Logging from container startup shows...

      03-01 14:24:40.000: E/Web Console(5597): Uncaught ReferenceError: ice is not defined at null:1
      03-01 14:24:40.243: E/Web Console(5597): Uncaught TypeError: Cannot call method 'loadAssetFile' of undefined at null:1
      03-01 14:24:40.243: E/Web Console(5597): Uncaught ReferenceError: ice is not defined at null:1
      03-01 14:24:40.571: E/Web Console(5597): Viewport argument value "device-width;" for key "width" not recognized. Content ignored. at http://mobileshowcase.icemobile.org/mobileshowcase/showcase.jsf:4

        Activity

        Steve Maryka created issue -
        Hide
        Steve Maryka added a comment -

        Fixed 2 issues:

        1) Native JavaScript was looking for "form" in formOf(), but on android 4.0 the element name is in upper case "FORM". Changed to be case insensitive.

        2) C2DM startup failing with null pointer when clearPendingNotifications is called before the notificationIntent is initialized.

        Show
        Steve Maryka added a comment - Fixed 2 issues: 1) Native JavaScript was looking for "form" in formOf(), but on android 4.0 the element name is in upper case "FORM". Changed to be case insensitive. 2) C2DM startup failing with null pointer when clearPendingNotifications is called before the notificationIntent is initialized.
        Steve Maryka made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s EE 1.0 RC1 [ 10317 ]
        Resolution Fixed [ 1 ]
        Steve Maryka made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Steve Maryka
            Reporter:
            Steve Maryka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: