Skip to main content

Does Phoneme advace support eRCP ?

5 replies [Last post]
sagar44
Offline
Joined: 2009-06-27
Points: 0

I am able to run eRCP applications using phoneme, but i found few issues like, any string input on Textbox/QueryDialog appends the one extra character at the end of the line and appends the special character on the title bar too.
I think, this may be problem of string representation, Do any body has idea about it?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
surfeit
Offline
Joined: 2005-03-01
Points: 0

Hi, all. This could be seen as a small bug. I have shown how to run the eRCP (and orz full OSGI, eSWT) under the Windows Mobile platform at [1]. Check it and run your first eRCP program!

best regards,
Jin

[1] http://jmj-eclipse.blogspot.com/2009/10/running-ercp-with-phoneme-advanc...

simum
Offline
Joined: 2009-07-17
Points: 0

How can you managed to run eRCP with phoneME advanced (MR2)?
I tryed to run it even adding the eswt jar in the classpath but the VM crash just after few seconds from start.
thanks

yhilem
Offline
Joined: 2004-10-31
Points: 0

I too encounter the same problem.

moovida
Offline
Joined: 2004-09-09
Points: 0

Hi, not sure if I should resurrect this forum message or post a new one.

I am also getting mad with this problem. I opened an issue in the eRCP bugzilla but I am really not sure if that will trigger something.

Is there any chance to get this fixed on the phoneME side? Did anyone find a solution to the problem?

The eRCP application on WM6 is not usable, since the labels are all affected.

Best regards,

Andrea

davyp
Offline
Joined: 2007-01-03
Points: 0

Hi Andrea,

I fixed this in my phoneME builds for Windows Mobile.

Technically though, it is an issue with the eSWT implementation. It falsely
assumes that GetStringChars returns a null terminated Unicode string. Maybe
J9 does, but phoneME does not. The JNI spec says that Unicode strings are not
null terminated, whereas UTF-8 strings are (and GetStringChars uses
Unicode strings)

See sectopm 3.2.4 in:
http://java.sun.com/docs/books/jni/html/objtypes.html

Cheers,
Davy