I'm trying to build a webOS 3.0.2 app using PhoneGap 1.0. I'm doing my best to avoid webOS-specific things, but my app does need to run a javascript service when on a webOS device.
I can't find any documentation on how to create and package a simple JavaScript service in this situation. HP's documentation doesn't mention services when dealing with PhoneGap, and PhoneGap's documentation doesn't mention webOS services at all. The 'Hello World' service described in HP's documentation seems to have been written for webOS 2.0, and pulls in large swaths of webOS-specific code -- exactly what I'mn trying to avoid by using PhoneGap in the first place.
What should I be doing?