ligi / PassAndroid

Android App to view passes
GNU General Public License v3.0
821 stars 134 forks source link

Import images from Camera #168

Open mchwalisz opened 7 years ago

mchwalisz commented 7 years ago

It would be nice to have a possibility to capture all images (header, footer, etc.) directly from camera (with cropping option).

ligi commented 7 years ago

Thanks for the feedback - can you elaborate on your use-case?

mchwalisz commented 7 years ago

I wanted to add Store Cards to the app and tried to reuse header and footer images for front and back of the card. I know I could snap a picture and search for it in the files but have seen in other apps it is possible to hook up to the camera directly and snap a photo from there, next it was possible to crop the photo and use it as such. It would be much easier to add stuff in such a way.

You could also not only scan the barcode on the ticket but take a picture of the whole ticket for review (if not all info is stored in barcode and you don't want to type everything).

I'm pretty sure one could interface to camera app, so it would ease up development.

Hades32 commented 6 years ago

First: thanks for the great app!

Recently I have begun to use it to get rid of all barcode based cards in my (physical) wallet. But having to first take a picture and then search for it in PassDroid is needlessly cumbersome. I assume there is an Android photo picker that has camera included...