OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => Cxx0 General discussions => Topic started by: TonyOlsen on April 23, 2004, 10:42:39 am

Title: How do you add Java app to the Applications/Java tab list?
Post by: TonyOlsen 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?
Title: How do you add Java app to the Applications/Java tab list?
Post by: doseas 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.)