nonethespinosa / microemu

Automatically exported from code.google.com/p/microemu
0 stars 0 forks source link

Screen painting issues in ME 3.0 android port #73

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by gmi...@gmail.com on 7 Oct 2010 at 10:24

Attachments:

GoogleCodeExporter commented 9 years ago
ME 3.0 on java SE works OK

You can observe problems like taht (missing softkey bar) with GPL midlet MC2:
https://sourceforge.net/projects/microcalc/

Original comment by gmi...@gmail.com on 7 Oct 2010 at 10:26

GoogleCodeExporter commented 9 years ago
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

Original comment by gmi...@gmail.com on 9 Oct 2010 at 1:52

Attachments:

GoogleCodeExporter commented 9 years ago
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.

Original comment by bar...@gmail.com on 12 Oct 2010 at 1:13

GoogleCodeExporter commented 9 years ago
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?

Original comment by bar...@gmail.com on 12 Oct 2010 at 1:16

GoogleCodeExporter commented 9 years ago
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.

Original comment by gmi...@gmail.com on 12 Oct 2010 at 1:22

GoogleCodeExporter commented 9 years ago
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?

Original comment by bar...@gmail.com on 12 Oct 2010 at 1:39

GoogleCodeExporter commented 9 years ago
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

Original comment by gmi...@gmail.com on 12 Oct 2010 at 1:58

Attachments: