Android Question Which is batter at saving data?

yes

Member
Licensed User
i want to create an app that able to take pictures, save it to the device and send it to server. So my question is which storage are better at saving data? dir.asset/dir.internal/dir.root external?
 

DonManfred

Expert
Licensed User
Longtime User
DirAssets is readonly. NOT OK
DirInternal is OK if your app only need to access the files. Ok for uploading them later to your server too.
DirRootExternal is OK. But you need to have permissions to write there.
 
Upvote 0

wonder

Expert
Licensed User
Longtime User
DirAssets is readonly. NOT OK
DirInternal is OK if your app only need to access the files. Ok for uploading them later to your server too.
DirRootExternal is OK. But you need to have permissions to write there.
Perfect answer.
 
Upvote 0

yes

Member
Licensed User
DirAssets is readonly. NOT OK
DirInternal is OK if your app only need to access the files. Ok for uploading them later to your server too.
DirRootExternal is OK. But you need to have permissions to write there.

ok...thank you a lot sir
 
Upvote 0
Top