-1

I am currently developing one application that allow user to send report of any job. Beside this i want to send also a image of work. How to send image from sender to receiver in android studio OR which is the best way to implement this features?

Meli
  • 362
  • 3
  • 6
  • 19

1 Answers1

0

Your report is probably one of most common type: XML or JSON, if its true, You can encode your image as Base64, and put that string into your report.

EDIT

Here you can find how to convert any image to Base64 String. That string you can put into your message as an variable.

Community
  • 1
  • 1
Artur Szymański
  • 1,519
  • 18
  • 21
  • Thanks Artur for fast respond, can u give me any example or link that i can have a look? – Meli Oct 15 '15 at 06:58