Porting from iOS to Android - first time issues...
Posted: Wed May 29, 2013 3:00 pm
Hi Androids.
First post here. I have an LC iOS app (v5.5.5, OSX) in review at Apple. While this was happening I had a naive notion that I would spend the review time tweaking for Android. I know, I know...
So here are my key issues - if anyone has some insight in how to address any of them I'd really appreciate any wisdom:
- I have web scroller native controls displaying content (images, styled text and links). In the iOS version the CSS is interpreted and displays fine. However, in Android, the text is not displaying the correct font. The font is included in the build and displays fine within the rest of the UI.
- I have been making the background of these native scrollers transparent by doing this:
mobileControlSet sBrowserId, "opaque", false
mobileControlSet sBrowserId, "backgroundColor", "0,0,0,0"
This works nicely in iOS but doesn't at all in Android. Is this possible in Android?
- I am pointing to a local asset within the HTML I am using for each scroller display. I'm using the specialFolderPath thus:
put (specialFolderPath("engine") & slash & "Media/footer.png") into tImageURL
put "<p><img src = ""E&tImageURL"E&" width = ""E&"50""E&"></p>" into tS
Again, works in iOS, not in Android - missing.
- It's *extremely* slow when moving to eg. maps or graphic heavy menus (cards using multiple alpha elements with some minor glow effects). All media is embedded and preloaded. All glows are 'box1' and simple (switching these effects off has no significant effect). The panning map graphic I am using is large: 2048 x 1276 pix. I have the acceleratedRendering of the stack to TRUE. Are there any simple settings I'm not setting here to have it load and display in a reasonable time?
I'm a bit under pressure here to get this Android version wrapped asap so I'd really appreciate any help. Thanks!
Kind regards, Paul.
First post here. I have an LC iOS app (v5.5.5, OSX) in review at Apple. While this was happening I had a naive notion that I would spend the review time tweaking for Android. I know, I know...
So here are my key issues - if anyone has some insight in how to address any of them I'd really appreciate any wisdom:
- I have web scroller native controls displaying content (images, styled text and links). In the iOS version the CSS is interpreted and displays fine. However, in Android, the text is not displaying the correct font. The font is included in the build and displays fine within the rest of the UI.
- I have been making the background of these native scrollers transparent by doing this:
mobileControlSet sBrowserId, "opaque", false
mobileControlSet sBrowserId, "backgroundColor", "0,0,0,0"
This works nicely in iOS but doesn't at all in Android. Is this possible in Android?
- I am pointing to a local asset within the HTML I am using for each scroller display. I'm using the specialFolderPath thus:
put (specialFolderPath("engine") & slash & "Media/footer.png") into tImageURL
put "<p><img src = ""E&tImageURL"E&" width = ""E&"50""E&"></p>" into tS
Again, works in iOS, not in Android - missing.
- It's *extremely* slow when moving to eg. maps or graphic heavy menus (cards using multiple alpha elements with some minor glow effects). All media is embedded and preloaded. All glows are 'box1' and simple (switching these effects off has no significant effect). The panning map graphic I am using is large: 2048 x 1276 pix. I have the acceleratedRendering of the stack to TRUE. Are there any simple settings I'm not setting here to have it load and display in a reasonable time?
I'm a bit under pressure here to get this Android version wrapped asap so I'd really appreciate any help. Thanks!
Kind regards, Paul.