It is necessary that everyone who opens the application has a button to add a photo and everyone can upload, the photo is added to the general ribbon (as in the ingram).

How to implement it and where to start?

Closed due to the fact that the issue is too general for participants Yuriy SPb , cheops , Vladyslav Matviienko , tutankhamun , Denis Sep 29 '16 at 6:34 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • one
    I have a computer, how to make GTA5 on it . Start by breaking the task into pieces. Then solve each problem separately. To blind all together further. - Vladyslav Matviienko

1 answer 1

  1. Create a button.
  2. Hang a click listener on it.
  3. By pressing, get a photo somehow (via camera, gallery, explorer etc)
  4. After receiving the pictures send it to the server.
  5. In the tape, make a request to the server to receive addresses of photos.
  6. After receiving the addresses - display them in the list.
  • How to send a photo to the server? - Martinez Toni
  • @MartinezToni is usually done with a POST request, transfer the file as a value to the -l parameter. - Yuriy SPb
  • And how the picture is written in the database? - Martinez Toni
  • In the database, write the path to the picture. No need to hob file in DB - YuriySPb