Hello! Can someone help me here? I'm working with ...
# android
j
Hello! Can someone help me here? I'm working with Jetpack compose, and I'd like to upload images to cloudinary, but I can't do it.
not kotlin but kotlin colored 4
Yes, but all the answers obtained are not up to date, given the version I am using
I can't find an implementation method. I know how to do it with Java, but with Kotlin jetpack compose I am only offered a transformation method, not a upload method
j
But uploading stuff to the internet is not a compose task. Compose is about UI. "Transformation" suggests that you are trying to use some image library like coil to upload image which is impossible. It's not meant for that
l
Looks like there's two parts to this question: 1. Get an image from Jetpack Compose and 2. Upload said image to cloudinary. Looking at the cloudinary, I'd assume you want an image picker? I'd search for a compose image picker, which will let the user select a file. I'd imagine cloudinary has an SDK to upload the image file.