I've been able to copy a pre-existing app, rename it and keep the original. Now able to launch either original or the modified app. Both show up in the Launcher. I'm also doing it from the USB mounted drive. This allows keeping your mod apps running even if updating the original from the app catalog.
First setup the ability to copy app to /media/internal (the usb drive). Props to dsevil.
Look for this...
Add this to end of line above...
Now let's copy the Today Show app...
# mkdir /media/internal/applications (if it doesn't already exist)
# cd /var/usr/palm/applications
# cp -rp com.zumobi.todayshow /media/internal/applications
# cd /media/internal/applications/
We are going to mark modified apps with an 'x' before the app name to distinguish it from the original. Note the 'x' before appname.
# mv com.zumobi.todayshow com.zumobi.xtodayshow
# cd *show
# vi appinfo.json (add x in title and x App as id)
"title": "x Today Show",
keep other lines the same
You could edit this in Linux or with a Windows tool if USB mounting the drive.
# reboot (or orange-sym-r)
Should appear in your app list with both the original App and one ready to modify (press x from launcher). Now you can mount the app copy from Windows and use Windows based tools to edit. Reboot for changes to take effect. Do this with virtually any existing app, internal or 3rd party. If the original apps are updated, you can still keep your mod copy working.
Now you can modify the app, but don't distribute code to others that isn't your own.
To copy internal apps, grab them from /usr/palm/applications .
Use info at your own risk.