Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jeremyhoo

Pages: [1]
1
Personal Java/Jeode/J2ME Personal Profile / SWT support
« on: April 26, 2005, 02:47:03 am »
Quote
Quote
Yes it's possible, go to this site to have a look.
http://www.eclipse.org/articles/Article-sm.../pocket-PC.html
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76707\"][{POST_SNAPBACK}][/a][/div]

No. Thats PocketPC not Zaurus, not Linux. SWT needs a native part which contains the widget bindings (SWT <-> native GUI).

-Mag1c
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76726\"][{POST_SNAPBACK}][/a][/div]

well, my swt application works fine on my pocket pc , system is win ce 2003.
jvm is jeode, j9 and pjava.

if you run linux on zaurus, perhaps it would not work.

2
Personal Java/Jeode/J2ME Personal Profile / SWT support
« on: April 25, 2005, 04:15:33 am »
Yes it's possible, go to this site to have a look.
http://www.eclipse.org/articles/Article-sm.../pocket-PC.html

3
Quote
Quote
Hi, I use java to parse a xml file and then get the URL from the file.

I want to open this URL in a browser. But I can't find a good method.

I try Runtime.exec, but the windows CE 2003 can't deal the stdin and stdout so it always's throws Exceptions.

Then I try to use JNI to call a dll file which created to open the browser.

But in the Jeode CDC enviroment, It always throws an java.lang.unsatisfiedlink error. Though I try all the method to locate the dll file.

So I wonder If anyone have encountered this problem.

anyone has fufilled it?

HJ
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76625\"][{POST_SNAPBACK}][/a][/div]

If this is an applet, then in the html code, you can embedd java script to open a Url that you pass from java (java can pass javascript a hashtable with a single entry: URL page)....Only I am not sure of this ability in j2me, etc.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=76653\"][{POST_SNAPBACK}][/a][/div]

Well I think with applet we can use the getAppletContext().showDocument method to open link in the browser. but unfortunately this is a stand alone java application. So I wonder if it's possible for embedded java to do this.

4
Hi, I use java to parse a xml file and then get the URL from the file.

I want to open this URL in a browser. But I can't find a good method.

I try Runtime.exec, but the windows CE 2003 can't deal the stdin and stdout so it always's throws Exceptions.

Then I try to use JNI to call a dll file which created to open the browser.

But in the Jeode CDC enviroment, It always throws an java.lang.unsatisfiedlink error. Though I try all the method to locate the dll file.

So I wonder If anyone have encountered this problem.

anyone has fufilled it?

HJ

Pages: [1]