PDA

View Full Version : HTML5 and JavaScript wrapped in Cocoa




cpuin
May 18, 2013, 04:21 AM
Hi,

1.I would like to make an native app for Mac OS using HTML5 and JavaScript.
I would like to see some example of XCode project which launches a simple local index.html page.

2.Is there any additional requirements from Apple (like Cordova for iOS) or it could be this for the App store?

3.Any way to access reading/writing of files thru javascript?

Many thanks!!!



dan1eln1el5en
May 18, 2013, 01:01 PM
I just started using PhoneGap.

I know there is a few others out there.
Basically you make a small localserver and have a "www" folder that you add HTML and Javascript into, seems like PhoneGap is the most supported use though, since it's backed by Adobe.

cpuin
May 18, 2013, 03:03 PM
Many thanks for the replay.

I downloaded and generated a Mac OS XCode project, but i can't find a documentation for PhoneGAP for Mac OS, but only for iOS, Android.....

For example i would like to know how can i save, read and write a sqlite file with JavaScript.