Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Testing Swing on iPAQ

 
Fernando Sanz
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Michael Yuan:

Yes, it is possible to use J2SE in PDAs. But PDA is dead already -- the future is PDA-phone combo devices. The network you have on PDA phones is still vastly different from J2SE PC world. J2SE and J2ME make different assumptions about the networks. Does J2SE give you SMS/MMS, Location services, calendar services, ligtweight database, lightweight web services and such?

As Michael said in a previous thread, Swing can run on PDAs, but it's supposed to be too slow.
I was wondering about how slow Swing applications can run on a normal Pocket PC. So I'd like to run a small program in my iPAQ.
Would anyone know how to run Swing on a Pocket PC?
Thanks
 
Jarek Foltynski
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To run Swing on Ipaq you can install linux familiar and Sun's Blackdown jre 1.3.1. See more info on http://www.handhelds.org/z/wiki/JavaOnIPAQ.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello jjjj,
please change your display name according to the javaranch naming policy. Thanks.
 
Jarek Foltynski
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I already did that. Thanks!
 
Fernando Sanz
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by jjjj fffffff:
To run Swing on Ipaq you can install linux familiar and Sun's Blackdown jre 1.3.1. See more info on http://www.handhelds.org/z/wiki/JavaOnIPAQ.

Thanks Jarek, I'm opening the link right now.
I'll post later on (maybe tomorrow morning, probably late tonight) if it worked
Michael: BTW, I'm sure you've said before that you've seen some PDAs running Swing, do you happen to know of some "easy" way to get Swing on an iPAQ?
edit: I got this message from the link An error was encountered while publishing this resource. Would you double check just in case? thanks
[ October 28, 2003: Message edited by: Fernando Sanz ]
 
Fernando Sanz
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind about the link, it was just a "." at the end of it, and I didn't notice it at first
 
Fernando Sanz
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by jjjj fffffff:
To run Swing on Ipaq you can install linux familiar and Sun's Blackdown jre 1.3.1. See more info on http://www.handhelds.org/z/wiki/JavaOnIPAQ.

Jarek, when it say "Sun's Blackdown", is it a JVM which will run only under Linux? Therefore, I'd have to uninstall PocketPC and install Linux on my PDA?
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Fernando Sanz:
Michael: BTW, I'm sure you've said before that you've seen some PDAs running Swing, do you happen to know of some "easy" way to get Swing on an iPAQ?

No easy way ... I think SavaJe used to have a J2SE runtime for iPaq before they move to smartphone based solutions. I do not know whether the software is still available for download. But you can ask them.
Also, JSR 209 aims to add Swing and Java 2D APIs as optional packages to Personal Profile based devices. But I guess the implementation is still at least 1 year away.
I think Jarek's Linux based solution is good too.
But none of them is easy.
 
Fernando Sanz
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Michael Yuan:

No easy way ... I think SavaJe used to have a J2SE runtime for iPaq before they move to smartphone based solutions. I do not know whether the software is still available for download. But you can ask them.
Also, JSR 209 aims to add Swing and Java 2D APIs as optional packages to Personal Profile based devices. But I guess the implementation is still at least 1 year away.
I think Jarek's Linux based solution is good too.
But none of them is easy.

Thanks Michael. It seems like we'll have to wait for Personal Profile 1.1 to have an easy way to test Swing on PDAs.
I'll try the JSR 209
thanks!
Fernando
 
Jarek Foltynski
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the Blackdown project is for Java on Linux. To install it on Ipaq you will have to install linux Familiar there. The installation is generally easy and smooth (see users opinions at http://www.handhelds.org/z/wiki/HandheldsUsers). And honestly I like it much better then Windows CE.
I did install java 1.3.1 a few days ago, but I haven't yet made Swing or AWT to work. I am new to linux, and I encountered an error about missing library. Probably easy fix for someone better oriented.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jarek Foltynski:
And honestly I like it much better then Windows CE.
I did install java 1.3.1 a few days ago, but I haven't yet made Swing or AWT to work. I am new to linux, and I encountered an error about missing library. Probably easy fix for someone better oriented.

Yeah, that is why most people do not mess with Linux themselves. I hope that IBM and Motorola's Linux handhold/smartphone solutions will be successful. I have seen prototypes of the IBM Linux PDA playing a full length MPEG4 movie. It looks very good.
 
Jarek Foltynski
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With installation of Familiar I had absolutely no problems even without my experience with Linux.
The java seemed to work ok with previous version of familiar (e.g. opinion from this site: http://www.coderanch.com/t/226390/JME/Mobile/Java-Compaq-iPaq), but there is no much activity recently in this topic. I have java command like working great, and that is what I need, so I did not worry much about Swing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic