Skip to main content

MIDP UI based on CDC UI

11 replies [Last post]
yuzhoumao
Offline
Joined: 2007-05-08
Points: 0

Now CDC based on gtk2.2.4 can run DemoFrame on x86 instead of some bugs in it.

But only CDC based on gtk is not enough whose ui library is AWT.

Now all most all kinds of phones need midp2, and all most all j2me applications are developed for midp2, instead of developed from AWT API.

So a midp implementation (phoneme feature) reuses CDCUI is more important for the current world.

I build midp with linux-fb, but it can only run in qvfb, and can not receive mouse and key events.

The midp should be build based on CDC UI, so it can integrate with gtk event loop and gtk+ drawing.

In the midp source code, we can only find cdcui, but it is based on GCI.

How can midp ui be ported to cdcui based on gtk instead of GCI?

It seems that there is no too much work to do, because there is only two classes in

cdcui : GCIEventListener.java, LCDUIEnvironmentForCDC.jpp.

Who can point out a way to implement cdcui based on gtk?

I have only more than one months experience of javavm:)

Thanks for your help.

Regards
Mao

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
yuzhoumao
Offline
Joined: 2007-05-08
Points: 0

> phonemeadvanced@mobileandembedded.org wrote:
> > Now CDC based on gtk2.2.4 can run DemoFrame on x86
> instead of some bugs in it.
> >
> > But only CDC based on gtk is not enough whose ui
> library is AWT.
> >
> > Now all most all kinds of phones need midp2, and
> all most all j2me applications are developed for
> midp2, instead of developed from AWT API.
> >
> > So a midp implementation (phoneme feature) reuses
> CDCUI is more important for the current world.
> >
> > I build midp with linux-fb, but it can only run in
> qvfb, and can not receive mouse and key events.
> >
> > The midp should be build based on CDC UI, so it can
> integrate with gtk event loop and gtk+ drawing.
> >
> > In the midp source code, we can only find cdcui,
> but it is based on GCI.
> >
> > How can midp ui be ported to cdcui based on gtk
> instead of GCI?
> >
> > It seems that there is no too much work to do,
> because there is only two classes in
> >
> > cdcui : GCIEventListener.java,
> LCDUIEnvironmentForCDC.jpp.
> >
> > Who can point out a way to implement cdcui based on
> gtk?
> >
>
> Hi Mao,
>
> Maybe someone from the phoneME open source community
> can volunteer to
> help you? It would be a good first project for
> someone to lend a hand
> and participate in our community.
>
Yes, it is good idea to register a open source project.
I have apply for a role in this community and will submit contributor agreement to sun. After that I will register a project.

>
> Hinkmond
>
> > I have only more than one months experience of
> javavm:)
> >
> > Thanks for your help.
> >
> > Regards
> > Mao
> >
> >
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail:
> advanced-help@phoneme.dev.java.net

Yes, it is good idea to register a open source project.

I have apply for a role in this communicate.

Hinkmond Wong

Mao wrote:

...
>> LCDUIEnvironmentForCDC.jpp.
>>
>>> Who can point out a way to implement cdcui based on
>>>
>> gtk?
>>
>>>
>>>
>> Hi Mao,
>>
>> Maybe someone from the phoneME open source community
>> can volunteer to
>> help you? It would be a good first project for
>> someone to lend a hand
>> and participate in our community.
>>
>>
> Yes, it is good idea to register a open source project.
> I have apply for a role in this community and will submit contributor agreement to sun. After that I will register a project

Hi Mao,

Great to hear! Let me know after you have submitted your contributor
agreement to Sun, which method you used to submit (Postal Mail, FAX, or
e-mail). I will watch for the record of your signature here at Sun to
show up in our database and then will ask for your diffs of your source
code changes.

This will be great as part of the existing phoneME project instead of a
project on its own, since it is a port of the existing phoneME project
(a subdirectory in our repository, not a different repository).

We can talk about this more after we have confirmed your contributor
signature.

Thanks,

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

yuzhoumao
Offline
Joined: 2007-05-08
Points: 0

> Mao wrote:
>
> ...
> >> LCDUIEnvironmentForCDC.jpp.
> >>
> >>> Who can point out a way to implement cdcui based
> on
> >>>
> >> gtk?
> >>
> >>>
> >>>
> >> Hi Mao,
> >>
> >> Maybe someone from the phoneME open source
> community
> >> can volunteer to
> >> help you? It would be a good first project for
> >> someone to lend a hand
> >> and participate in our community.
> >>
> >>
> > Yes, it is good idea to register a open source
> project.
> > I have apply for a role in this community and will
> submit contributor agreement to sun. After that I
> will register a project
>
> Hi Mao,
>
> Great to hear! Let me know after you have submitted
> your contributor
> agreement to Sun, which method you used to submit
> (Postal Mail, FAX, or

The contributor agreemen has been sent by email.
I have sent a email to you at 2007/6/29 about this matter.
Did you receive my email?

> e-mail). I will watch for the record of your
> signature here at Sun to
> show up in our database and then will ask for your
> diffs of your source
> code changes.
>
> This will be great as part of the existing phoneME
> project instead of a
> project on its own, since it is a port of the
> existing phoneME project
> (a subdirectory in our repository, not a different
> repository).
>
Whether or not a new project does no matter.
It will be good to support GTK in phoneme.

> We can talk about this more after we have confirmed
> your contributor
> signature.
>
>
> Thanks,
>
> Hinkmond
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail:
> advanced-help@phoneme.dev.java.net

Hinkmond Wong

Hi Mao,

>> Great to hear! Let me know after you have submitted
>> your contributor
>> agreement to Sun, which method you used to submit
>> (Postal Mail, FAX, or
>
> The contributor agreemen has been sent by email.
> I have sent a email to you at 2007/6/29 about this matter.
> Did you receive my email?

The e-mail goes to another department here at Sun and gets processed.
After it is processed your name will appear at:

https://sca.dev.java.net/CA_signatories.htm

I do not see your name there yet. When I do see your name on the above
list, I'll request your source code diffs for committing to the phoneME
repository.

Please notify me if you see your name get processed and appear on the
URL above before I see it.

Thanks,

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

yuzhoumao
Offline
Joined: 2007-05-08
Points: 0

> Hi Mao,
>
> >> Great to hear! Let me know after you have
> submitted
> >> your contributor
> >> agreement to Sun, which method you used to submit
> >> (Postal Mail, FAX, or
> >
> > The contributor agreemen has been sent by email.
> > I have sent a email to you at 2007/6/29 about this
> matter.
> > Did you receive my email?
>
> The e-mail goes to another department here at Sun and
> gets processed.
> After it is processed your name will appear at:
>
> https://sca.dev.java.net/CA_signatories.htm
> do not see your name there yet. When I do see your
> name on the above
> ist, I'll request your source code diffs for
> committing to the phoneME
> repository.
>
> Please notify me if you see your name get processed
> and appear on the
> URL above before I see it.

I have sent the image scaned, but there is no any reply.
My name is not shown on the URL.
What's matter?

>
> Thanks,
>
> Hinkmond
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail:
> advanced-help@phoneme.dev.java.net

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
>> Hi Mao,
>>
>>>> Great to hear! Let me know after you have
>> submitted
>>>> your contributor
>>>> agreement to Sun, which method you used to submit
>>>> (Postal Mail, FAX, or
>>> The contributor agreemen has been sent by email.
>>> I have sent a email to you at 2007/6/29 about this
>> matter.
>>> Did you receive my email?
>> The e-mail goes to another department here at Sun and
>> gets processed.
>> After it is processed your name will appear at:
>>
>> https://sca.dev.java.net/CA_signatories.htm
>> do not see your name there yet. When I do see your
>> name on the above
>> ist, I'll request your source code diffs for
>> committing to the phoneME
>> repository.
>>
>> Please notify me if you see your name get processed
>> and appear on the
>> URL above before I see it.
>
> I have sent the image scaned, but there is no any reply.
> My name is not shown on the URL.
> What's matter?

Hi Mao,

I'm cc'ing Eric Renaud here at Sun who takes care of the Sun
Contributor's Agreements.

Eric, can you see if wereceived Mao Yuzhao's signed SCA form yet?

His e-mail is yuzhoamao@dev.java.net.

Thanks,

Hinkmond

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

yuzhoumao
Offline
Joined: 2007-05-08
Points: 0

> phonemeadvanced@mobileandembedded.org wrote:
> >> Hi Mao,
> >>
> >>>> Great to hear! Let me know after you have
> >> submitted
> >>>> your contributor
> >>>> agreement to Sun, which method you used to
> submit
> >>>> (Postal Mail, FAX, or
> >>> The contributor agreemen has been sent by email.
> >>> I have sent a email to you at 2007/6/29 about
> this
> >> matter.
> >>> Did you receive my email?
> >> The e-mail goes to another department here at Sun
> and
> >> gets processed.
> >> After it is processed your name will appear at:
> >>
> >> https://sca.dev.java.net/CA_signatories.htm
> >> do not see your name there yet. When I do see
> your
> >> name on the above
> >> ist, I'll request your source code diffs for
> >> committing to the phoneME
> >> repository.
> >>
> >> Please notify me if you see your name get
> processed
> >> and appear on the
> >> URL above before I see it.
> >
> > I have sent the image scaned, but there is no any
> reply.
> > My name is not shown on the URL.
> > What's matter?
>
>
> Hi Mao,
>
> I'm cc'ing Eric Renaud here at Sun who takes care of
> the Sun
> Contributor's Agreements.
>
> Eric, can you see if wereceived Mao Yuzhao's signed
> SCA form yet?
>
> His e-mail is yuzhoamao@dev.java.net.
>

Hi Eric:

I have sent the scaned image of Contributor's Agreements by email:
yuzhoumao##gmail.com, not using yuzhoumao##dev.java.net .

thanks you all
regards
Mao

>
> Thanks,
>
> Hinkmond
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail:
> advanced-help@phoneme.dev.java.net

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> Now CDC based on gtk2.2.4 can run DemoFrame on x86 instead of some bugs in it.
>
> But only CDC based on gtk is not enough whose ui library is AWT.
>
> Now all most all kinds of phones need midp2, and all most all j2me applications are developed for midp2, instead of developed from AWT API.
>
> So a midp implementation (phoneme feature) reuses CDCUI is more important for the current world.
>
> I build midp with linux-fb, but it can only run in qvfb, and can not receive mouse and key events.
>
> The midp should be build based on CDC UI, so it can integrate with gtk event loop and gtk+ drawing.
>
> In the midp source code, we can only find cdcui, but it is based on GCI.
>
> How can midp ui be ported to cdcui based on gtk instead of GCI?
>
> It seems that there is no too much work to do, because there is only two classes in
>
> cdcui : GCIEventListener.java, LCDUIEnvironmentForCDC.jpp.
>
> Who can point out a way to implement cdcui based on gtk?
>

Hi Mao,

Maybe someone from the phoneME open source community can volunteer to
help you? It would be a good first project for someone to lend a hand
and participate in our community.

Hinkmond

> I have only more than one months experience of javavm:)
>
> Thanks for your help.
>
> Regards
> Mao
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

yuzhoumao
Offline
Joined: 2007-05-08
Points: 0

I know the first implementation of midp is based on gtk/X about on 2001 year.

Why Sun not release these source code.

It does not matter there are some compiling errors and bugs.

Does Sun has this plan?

Regards
Mao

Hinkmond Wong

phonemeadvanced@mobileandembedded.org wrote:
> I know the first implementation of midp is based on gtk/X about on 2001 year.
>

Do you mean the MIDP 1.0 Reference Implementation, or do you mean the
Wireless Toolkit (WTK) from 2001? They are two different
implementations, one being an implementation to be used as a reference
starting point for porting a real implementation and the other as an
emulator (WTK). Having an emulator on GTK makes sense, but not a
reference implementation, since the majority of MIDP devices do not have
GTK as their graphical toolkit, so that wouldn't be a good starting
point for most VM/platform developers.

Hinkmond

> Why Sun not release these source code.
>
> It does not matter there are some compiling errors and bugs.
>
> Does Sun has this plan?
>
> Regards
> Mao
>

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

yuzhoumao
Offline
Joined: 2007-05-08
Points: 0

> phonemeadvanced@mobileandembedded.org wrote:
> > I know the first implementation of midp is based on
> gtk/X about on 2001 year.
> >
>
> Do you mean the MIDP 1.0 Reference Implementation, or
> do you mean the
> Wireless Toolkit (WTK) from 2001? They are two

Sorry, I am not sure about that, I just heard about it, because I have
only one month experience of KVM, so maybe my questions sound stupid:)
I have no idea about basic knowlege of KVM.
Maybe just like you said that is just an emulator.

> different
> implementations, one being an implementation to be
> used as a reference
> starting point for porting a real implementation and
> the other as an
> emulator (WTK). Having an emulator on GTK makes
> sense, but not a
> reference implementation, since the majority of MIDP
> devices do not have
> GTK as their graphical toolkit, so that wouldn't be a
> good starting
> point for most VM/platform developers.
>
> Hinkmond
>

Yes, majority of MIDP devices do not have GTK before.
But now more and more companies and hackers use GTK
to develope mobile devices.

> > Why Sun not release these source code.
> >
> > It does not matter there are some compiling errors
> and bugs.
> >
> > Does Sun has this plan?
> >
> > Regards
> > Mao
> >
>
> ------------------------------------------------------
> ---------------
> To unsubscribe, e-mail:
> advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail:
> advanced-help@phoneme.dev.java.net