Posted by msc2000
on February 23, 2010 at 1:03 AM PST
I'm trying to integrate our JSR 184 & prototype JSR 297 implementations into phoneME on Win32. I want to use the phoneME plugin in JME SDK 3.0 to run and test everything. To do so I need to understand the MIDP graphics set up and how the pixels get delivered to the screen. I have the following difficulty.
The Javacall APIs javacall_lcd_init and javacall_lcd_flush (& etc.) are making what appear to be RPC calls through LIME. I write "appear" because one of the parameters passed to the "drawRGB16" RP is a pointer to the off-screen buffer which was allocated by a regular malloc call. I have not been able to find the recipient of these LIME calls. I need to modify the part that gets the pixels to the screen as well as the MIDP graphics so need to understand the complete chain.
Is the recipient of these LIME calls the binary only emulator.exe (one of which is included in both the phoneME emulator package and the JME SDK package)?
If not, where is it?
If so, can I use win32app_export.c (which looks like it will display the emulator screen itself) instead of jcapp_export.c and still run with the JME SDK IDE? How do I build and run using win32app_export.c?
There are no details of the implementation of jcapp_export.c and use of LIME in any of the phoneME or commercial documentation or this forum.