1

im making an android application which requires a user to register using a form , the form must take in a username , email and a users chosen image. The image can be obtained either by using the camera or by browsing a directory. My question is what would be the best way to implement this on a form . For the email and username I am using a the EditText class , I was planning on using a spinner for the choice of image selection but I am unsure how I would return the image to the form. I know I can start activity for result but I want to visually display the chosen image in the form , either using a path or a thumbnail or something ?

any ideas on the best way to go about this ?

Shpongle
  • 983
  • 1
  • 9
  • 14

1 Answers1

0

I would say the best way to go about this would prbably be to use an image chooser and then return the selected image. An example of this can be seen here

Community
  • 1
  • 1
ninjasense
  • 13,756
  • 19
  • 75
  • 92