Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can't tell if you can access hardware features (camera, accelerometer, etc.) with Joshfire. Does anyone know?


Hi, I'm the product manager of the Joshfire Factory.

Most of the templates we provide do not use hardware features. However, because you can import your own application code in the Factory as a "private template", you can access hardware features in deploys that expose them. We are using the excellent Phonegap for our Android, iOS and Blackberry deploys. We automatically inject the Phonegap javascript API to the generated application.

So the answer is yes, in your own application you can call the Phonegap API v1.7 (http://docs.phonegap.com/en/1.7.0/index.html) when deploying natively for iOS and Android.

Additionally, some add-ons specific to a platform inject native code to your application. This is for example the case for SmartAdServer or ShareKit.


I don't know for sure, but according to their FAQ they use PhoneGap behind the scenes for iOS, Android and BlackBerry. PhoneGap often has APIs for some of features you listed, so exposing them through their abstraction is probably quite possible.

PhoneGap have a matrix of features available per device here: http://phonegap.com/about/features




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: