OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Personal Java/Jeode/J2ME Personal Profile => Topic started by: jeremyhoo on April 24, 2005, 11:32:10 am
-
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
-
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.
-
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.