0

In my Android Studio app I can take pictures which are saved in a bitmap. This bitmap I want to send to my web service (asp.net c#) so that I can save it there. I am working with retrofit and until now I was able to send my Complex datatype (Info) to my Controller. Now the only way I see to send my bitmap to my web service is to convert it to a String which I did like this: How to convert a Base64 string into a BitMap image to show it in a ImageView?

but now when I add the bitmap as string, my controller isn´t reached anymore. Even when I make it url conform. Any Idea why or if there is an other way to send a bimap?

Community
  • 1
  • 1
HHHH
  • 49
  • 11

1 Answers1

0

You can use Image Upload library. See this link: https://github.com/alexbbb/android-upload-service

Vivek Sinha
  • 1,556
  • 1
  • 13
  • 24