1

We have an android application written in Kotlin. It's our presentation layer. Most of the back-end is written in .NET Core. We have Azure Web services and Blob storage open. It's very simple to upload files from .NET Core to the Blob storage yet my question is how would one transfer them from the Kotlin app to the back-end? Currently we have Kotlin code setup to get photos from the phone's camera or gallery. We already can transfer such data as login information between the app and the back-end but how to do this with actual files? Are there any external libraries that could help us with that? There doesn't seem to be any mention of this in any of the documentations.

1 Answer 1

0

You just can convert image to byte array and send it to the REST API.

At the back-end you can use something like SignalR to notify accepting of the image.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.