Thread: OK ROM comes
View Single Post
Member: scm6079
at: 04:02 AM 06/10/2009
Whoo hoo!!!

My first application works!! I'm so excited! It's just a pretty "hello world" application with a few simple command tests - but hey - it's a working application on the pre!

Here are the steps I took:
* Enable dev mode, log in as root
* Remount the / partition for read write with the command:
mount -n -o remount,rw /
* Started by picking an application I didn't care much about - i choose the nascar app.
* Found that application's directory: /usr/palm/applications/com.handson.app.nascar/
* remove the imports for stuff I didn't need/want
* created a new home view that displays my app
* Added controller / additional code as needed (for me just a couple functions, mostly copied from other apps)
* Saved all the changes. I edited the files on the device with vi.
* Rebooted my phone
* started the application by clicking on the existing application icon.
* Sat back and smiled as my simple application worked.

The api in the js really seems pretty nice. Palm did a good job. Honestly, this is much cleaner than when I was going through the earlier palm os stuff for my i500 / i330 apps.

_Scott