Options for a simple camera app


#1

Hi, I’m really new to Ionic, just getting started.
I want to do a very simple app that takes a picture and sends it to a HTTP REST service. So all I need is to take a picture and do an HTTP Post and evaluate the success/fail response.

What would be a good approach for doing this app with Ionic ? Is there anything special that Ionic provides me to help on this ?

What should I use for the camera part ?
What should I use for the HTTP POST part ?


#2

there cordova plugin for both

You should use these plugins

For capturing image use: org.apache.cordova.camera
For http post : org.apache.cordova.file-transfer

here is useful links for your reference
https://bmpradeep.wordpress.com/2013/01/02/capturing-and-uploading-an-image-to-the-web-server-in-phonegap-based-application/

https://ziyedbd.wordpress.com/2013/04/30/capture-image-and-upload-to-server-using-phonegap/