Jamey McElveen
Jamey McElveen

Reputation: 18305

Can a hosted application leverage the PhoneGap API?

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, Android Market, etc.

Is it possible to use the 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.

Upvotes: 2

Views: 528

Answers (3)

TNC
TNC

Reputation: 5386

In addition to what has been answer it will also depend on your application store offering. If you're intending to offer the app in the iPhone App Store, these kind of apps aren't permitted. In the guidelines it states that apps that basically launch a browser or UIWebView will be rejected.

Additionally, you could always create the app as a "home screen" app, that runs without the chrome, etc on the iPhone. Hope this helps.

Upvotes: 0

Lukasz Madon
Lukasz Madon

Reputation: 14994

Short answer

No. You need to add pctures upload logic in each framework

Upvotes: 1

Related Questions