Live data from Hacker News

PhoneGap - Javascript API to access iPhone GeoLocation, Accelerometer, etc

phonegap.com

11–14 of 14 posts

Re: PhoneGap - Javascript API to access iPhone GeoLocation, Accelerometer, etc

#11
Currently to use PhoneGap you do have to get the app on app store and the URL for the initial page is hard coded in the app. it is nice though since you get a headless browser with no address bar etc. you could make your own web browser based on it that exposed the apis to all web pages.

Re: PhoneGap - Javascript API to access iPhone GeoLocation, Accelerometer, etc

#12

Currently to use PhoneGap you do have to get the app on app store and the URL for the initial page is hard coded in the app. it is nice though since you get a headless browser with no address bar etc. you could make your own web browser based on it that exposed the apis to all web pages.

Such a browser was tried, and rejected. It violates Apple's "policy" on duplicating built in functionality.

Re: PhoneGap - Javascript API to access iPhone GeoLocation, Accelerometer, etc

#13
post #12

Currently to use PhoneGap you do have to get the app on app store and the URL for the initial page is hard coded in the app. it is nice though since you get a headless browser with no address bar etc. you could make your own web browser based on it that exposed the apis to all web pages.

Such a browser was tried, and rejected. It violates Apple's "policy" on duplicating built in functionality.

I read on the project's mailing list that an application that embedded the browser was accepted:

http://groups.google.com/group/phonegap/browse_thread/thread...

Re: PhoneGap - Javascript API to access iPhone GeoLocation, Accelerometer, etc

#14
This is freaking amazing. I found a tutorial that was this same concept (a UIWebView wrapper on some AJAX), but I wasn't able to get it to work.

Luckily, I don't need to get my app approved by Apple. It's just an personal thing, so I should be able to use ad-hoc. As far as I can tell, it's running properly in the simulator. Now I just need to figure out the dev license.

Thanks!

Post reply on HN