Ionic Native: Accessing iOS Photos and Android Gallery, Part I



By Alex

Taking photos with my phone is awesome. I’ve probably taken at least a dozen of my dog just today. Check it out:

IMG_0196

But what’s even more awesome is that we live in the future, where the apps on our phones and tablets let us do all kinds of cool stuff with those photos. So as an app developer, how can you participate in this amazing World of Tomorrow? To start, your app needs to be able to access the photos on your device.

In today’s post, we’ll take a look at the first of two ways to easily get images from the Gallery on Android and Photos on iOS in Ionic 2 with Ionic Native.

Ionic Native Camera Plugin


As a user, picking a photo from the native photo app is already a pretty great experience, so let’s look at how we can integrate that into our apps. Thanks to the Ionic Native Camera plugin it’s super easy. In a previous blog post, we looked at how to use the Camera plugin to take a new photo, but that’s not all it does! It also allows us to open the device’s native photo app, and access any picture selected by the user.

Read the full article...

Share on Google Plus

About www. codeandyou.com

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments :

Post a Comment