Poll

Have you added a Java App to one of the tabs (Java, Applications, other) before?

No.  Never wanted to.
2 (33.3%)
No.  Wanted to, but didn't have time to figure it out or don't know how
1 (16.7%)
Yes
3 (50%)

Total Members Voted: 0

Author Topic: How do you add Java app to the Applications/Java tab list?  (Read 2001 times)

TonyOlsen

  • Hero Member
  • *****
  • Posts: 554
    • View Profile
    • http://www.userdimensions.com/Tony/Resume.html
How do you add Java app to the Applications/Java tab list?
« on: April 23, 2004, 10:42:39 am »
How do you a Java app to the applications or Java tab list?

When you run IPK\'s they automatically create an icon on one of the various tabs.  Do I have to create an IPK for a Java app to get it added?  If so, how do you do that?
Tony Olsen
Ferris@Myself.Com
Resume
Zaurus SL-C860 QTopia
2 GB Static CF
1 GB MMC (although it isn't working yet)
My Quest: To get an x86 emulator working on my Zaurus and to have my Zaurus replace my laptop as my MAIN computer
Publically available Videos for the default Zaurus SL-C860 video player

doseas

  • Full Member
  • ***
  • Posts: 207
    • View Profile
    • http://
How do you add Java app to the Applications/Java tab list?
« Reply #1 on: April 23, 2004, 04:44:40 pm »
You need to add a .desktop file to the /home/QtPalmtop/apps/<tab_name> directory.  Assign to the \"EXEC=\" line the name of the script that starts your java application.  The \"standard\" naming convention for this script is \"runappname\", where \"appname\" is the name of your application.

Example runappname script:
$QPEDIR/bin/evm -Xprogressbar -XappName=$0 -cp $QPEDIR/java/myappname.jar myclassname

Java apps that install as IPKs usually do this for you (ex: jcryptpad, shoppinglist, etc.)