• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Taking Picture / Choosing from Gallery not working properly

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a button that should let me take or choose 4 pictures and display each in their respective ImageViews instantly. This means I could choose to take the first picture, choose the second, choose the third and take the fourth; etc..

My code works so that the four `URI`s are stored in an `ArrayList` and pulled from there for display. Weirdly, only the pictures I chose from gallery show up. i.e. I chose my first picture from gallery and took the other three pictures; only the first displays. I have debugged and I am successfully getting a `URI` back from "taken" pictures. What's more, these pictures are also found in my gallery.

Please take a look at my code and see where I go wrong.

`takePictureIntent()`:

   


`onActivityResult()`:

 
 
Seriously? That's what you're going with? I prefer this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic