I am building a hosted mobile application so I can write once and deploy to many mobile platforms. My plan is to write a native application with a single screen that is a browser that navigates to my hosted application. Of course this is so our application is in the [App Store](http://en.wikipedia.org/wiki/App_Store_%28iOS%29), [Android Market](http://en.wikipedia.org/wiki/Android_Market), etc.

Is it possible to use the [PhoneGap](http://en.wikipedia.org/wiki/PhoneGap)  JavaScript so my hosted applications can use local APIs? For example, I would like to be able to upload pictures taken from the camera.