By - Nic Raboy
As I continue to port my Ionic Framework tutorials to Ionic 2, I figured it was time to discuss how to make use of the device camera within an application. There are often needs to obtain pictures within an application. Maybe you’re creating an application like Imgur, or maybe you just want to be able to obtain a profile picture. Like I mentioned, I had written a camera tutorial a few years back on how to use the camera in an Ionic Framework application.
This time around we’re going to see how to snap pictures within an Ionic 2 Android and iOS mobile application.
Let’s start by creating a fresh Ionic 2 project. From the Command Prompt (Windows) or Terminal (Mac and Linux), execute the following commands: