compose-multiplatform icon indicating copy to clipboard operation
compose-multiplatform copied to clipboard

How to manage data storage on desktop?

Open RubiTree opened this issue 3 years ago • 2 comments

On the desktop side, if I need to manage some new files generated, how should I store them? I haven't found relevant tutorials. These rules are similar to those on Android: https://developer.android.com/training/data-storage

I'm an Android Developer, so I don't know much about desktop development. I'm not sure if I need to find some desktop native related content to learn. So i first ask this question, thx for read.

RubiTree avatar Feb 08 '22 09:02 RubiTree

Hello! What kind of files do you want to store? If it is just pictures, you can check imageviewer app as an example

akurasov avatar Feb 11 '22 15:02 akurasov

I have similar questions, but what I want to know is whether I can use Jetpack DataStore directly on Desktop

artillerymans avatar Mar 31 '23 02:03 artillerymans

androidx.datastore:datastore-core does not have Android dependceny but it is not working in Windows for now, I am using Realm as a solution and it's very promising.

elonzh avatar Jan 01 '24 17:01 elonzh

I have some use cases for this one as well. I could use Preferences ...

Hmm, would this DataStore be built on Preferences, or is there more to it than that? There are some pretty sharp limitations of what Java lets you store.

hakanai avatar Jan 18 '24 22:01 hakanai

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

okushnikov avatar Jul 14 '24 16:07 okushnikov