Details
-
Type: Bug
-
Status: Closed
-
Priority: 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
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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.