Hi guys, I'm looking for an example of downloading...
# multiplatform
t
Hi guys, I'm looking for an example of downloading an image from a URL and saving it to the gallery in Kotlin multiplatform using Okio. Where could I find it?
c
If you are on mobile (Android/iOS) and with gallery you mean the users photos, there is no way for you to access the photos “folder” directly. You should use something like the “Share dialog” to let the user save the file wherever he wants. Android: https://developer.android.com/training/sharing/send iOS: https://developer.apple.com/design/human-interface-guidelines/activity-views
1
🙌 1
👍 1
t
christian Grach, thank you for helping me and your answer