| Issue 73: | Screen painting issues in ME 3.0 android port | |
| 3 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. create .apk with ME 3.0 and install it in android emulator 2. see that on startup sometimes only part of screen is painted, and no LWUIT softkey bar is shown. screenshots ME 3.0 vs ME 2.0.5 are attached 3. What is the expected output? What do you see instead? See screenshot from ME 2.0.5 What version of the product are you using? On what operating system? ME 3.0 from trunk Android SDK 2.2. [mixa@mixa-dell target]$ java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.1) (ArchLinux-6.b18_1.8.1-1-i686) OpenJDK Server VM (build 14.0-b16, mixed mode) Please provide any additional information below. Screenshots attached, midlet attached
Oct 7, 2010
#1
gmi...@gmail.com
Oct 9, 2010
I created test midlet from eclipse samples (in MTJ). I'm attaching eclipse project for your testing. The issue is following - after splash screen, an empty canvas is shown with 1 command "exit". The softkey area with "exit" command is shown OK in ME in java SE, but after converting to android app, the softbar is not shown. I think it is the same issue. The TestCanvas.jad can be found in 'deployed' folder
Oct 12, 2010
In the TestCanvas.zip case the exit command is removed automatically by the MicroEmulator. We decided to remove Command.EXIT commands because Android applications doesn't exit by design.
Oct 12, 2010
If you test LWUIT application on ME 3.0, what happens when you press the menu button? Can you observe the commands overlay sliding up on top of your canvas?
Oct 12, 2010
nothing happens when I press menu button, and LWUIT screen works as usual (focus remains there, arrow keys change selected item). Looks like menu button (and BACK) are ignored.
Oct 12, 2010
It might be that on Android platform LWUIT uses runtime check how to render the softkey bar which is not compatible with ME. Which version of LWUIT do you use?
Oct 12, 2010
Yes, it might be. I use LWUIT 1.3 but I took it from SVN, and I think it is almost 1.4. I think it should be the same for the official 1.4. with ME 2.5 it was rendered OK, so it may be an issue on ME side as well. Also, there is not only softbar or screen size issue - other parts of screen are not painted (and get painted after I move selection on LWUIT screen, so not painted areas gets updated later). See attached |