• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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()`:

 
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic