Skip to main content

how to integrate MIDP-2.0 with pMEF

6 replies [Last post]
asif_kalim
Offline
Joined: 2007-11-30

Hi,
Is it possible to use MIDP-2.0 with pMEF? if yes then pls guide me the steps to build MIDP-2.0 with pMEF.

thanks,
asif

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
asif_kalim
Offline
Joined: 2007-11-30

Can you give me an idea that how can i build pMEF to develop|run IMlets(based on IMP-NG).

Thanks,
asif

akz003
Offline
Joined: 2006-10-13

Asif,

phoneME Feature MR2 is MIDP 2.0 (uplifted to 2.1) running on top of CLDC 1.1.

Although you correctly said the IMP is a subset for MIDP and you might be able to develop\run IMlets, there are no specific configuration to build phoneME Feature as IMP compliant stack. Sorry. There were no such a requirement set for the product.

Did you try to use phoneME Feature as is for IMP application testing? What are the failures did you get so far?

Regards
Kostya

asif_kalim
Offline
Joined: 2007-11-30

Hi Kostya,
Thanks for the information, i built pMEF MIDP based on cldc1.1, as i built using linux_fb_gcc, when i try to execute runPhoneME on target, it asks for the missing device on target board. I need some help to build MIDP without lcdui package. Because only in that case i could be able to install, run and test an IMlet on the target board.

Also the other thing that i need to know is when i use System.out.println("") to get some output from the IMlet, i noticed that it goes to gc. What could be the ways to get output of an IMlet.

it would be really helpful for me if you can refer me a document about IMlet development.

thanks and regards,
asif

strim
Offline
Joined: 2006-10-20

Hi Asif,

I suggest you to look at the sources of phoneME Feature, in particular at the
library /src/highleveleui/fb_port. This library has interface include/fbport_export.h,
and a few alternative implementations: fb, qvfb, directfb. If you build linux_fb_gcc for
some ARM device, "fb" implementation is selected by default. It tries to open /dev/fb0
device and to init input devices (keyboard, ...) You can provide your own implementation
of fb_port library with stubbed initializations and dummy screen operations. It should work
for headless devices.

Regards,
Strim

akz003
Offline
Joined: 2006-10-13

Dear Asif,

Sorry, I am not sure I got your question - MIDP is one of two core technologies used in pMEF.
Could you clarify your question.

Regards
Kostya

asif_kalim
Offline
Joined: 2007-11-30

Hi Kostya,
I meant to say that can i build MIDP-2.0 on top of cldc 1.1. Actually i need to develop IMlets using IMP-NG that is a subset of MIDP-2.0, because the runPhoneME version is 1.2, and it seems that it refers to MIDP-1.1.

Thanks,
asif