We have to create an application for iPhone and Android as a school assignment. None of us have any experience with building an iPhone app. We want to create the app with HTML and Javascript. Is it possible to access the hardware using JavaScript? Do we have to build an Android and iPhone app apart from each other so we have another base to build on?
Since I saw a tutorial on Youtube where you use Eclipse to make an Android app as you would always do with the R.view method and related methods.
Instead of importing XML you import HTML5 and CSS but we are afraid we can’t access any hardware such as the camera or acceleration.
Native html app can’t access mobile’s hardware directly, but you can use phonegap. It works as intermediate layer between phone OS and HTML app.