Join Slack
Powered by
Hi guys, I'm looking for an example of downloading...
# multiplatform
t
the great warrior
06/22/2024, 2:42 AM
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
Chrimaeon
06/22/2024, 9:54 AM
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
the great warrior
06/22/2024, 12:35 PM
christian Grach, thank you for helping me and your answer
6
Views
Open in Slack
Previous
Next