Re:Ask HN: Back end engineer trying to build a mobile app, w...
by abhimskywalker on Sunday August 17, 2014 @09:13AM
(#8189314)
I agree with the above, and additionally you can check out http://ionicframework.com/ to build once for web (with backend REST API) and then port it to iOs and Android pretty easily. They offer nice-looking UI elements as well specially suited for mobile use cases.
I found porting a simple angularjs based webapp to android and iOs pretty easy (thought only tested it as development prototype).
Should be worth checking out.
From reading your replies to other comments, it sounds like you want access to a phone's local resources, and you are possibly interested in using web technologies. I would look into Apache Cordova (aka PhoneGap) or something similar (there are many). This allows you to build once with HTML/CSS/JS, and then distribute via Android/iOS and more (differentiation being each platform would need specific front end JS code to access the phone's local resources). This approach is commonly used in conjunction with a back end that accepts API Requests (aka front end makes Ajax request, back end responds with Data). I'm using this approach for one of my current projects.