# Different ways to save data locally

**URL:** <https://discuss.kotlinlang.org/t/different-ways-to-save-data-locally/22106>\
**Category:** Language Design\
**Created:** [June 13, 2021, 1:53pm UTC](https://discuss.kotlinlang.org/t/different-ways-to-save-data-locally/22106 "2021-06-13T13:53:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![salnace](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@salnace](https://discuss.kotlinlang.org/u/salnace)\
**Post date:** [June 13, 2021, 1:53pm UTC](https://discuss.kotlinlang.org/t/different-ways-to-save-data-locally/22106/1 "2021-06-13T13:53:16Z")

</div>

hi, i just started to learn Kotlin Android development. hv a question like to ask - what options do we hv if we want to save data locally(on the phone)? when i learn VB classic last time, there are few ways like INI file, registry, MS Access to name a few.

and when do we use them? for eg. INI for apps settings, etc. like to learn and differentiate them for my future apps.

p/s - using the latest Android Studio & Android Q

thank you,

---

<div class="post-metadata">

**Author:** ![darksnake](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/darksnake/32/2479_2.png) [@darksnake](https://discuss.kotlinlang.org/u/darksnake)\
**Post date:** [June 15, 2021, 5:05am UTC](https://discuss.kotlinlang.org/t/different-ways-to-save-data-locally/22106/2 "2021-06-15T05:05:42Z")

</div>

It has nothing to do with the language itself. You can use any library you want to store properties, including ini, java properties, etc. Android itself has several ways to do so in its SDK like [this one](https://developer.android.com/reference/java/util/Properties) for example. Refer to its tutorials to find out more.

---

<div class="post-metadata">

**Author:** ![salnace](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@salnace](https://discuss.kotlinlang.org/u/salnace)\
**Post date:** [June 16, 2021, 7:02am UTC](https://discuss.kotlinlang.org/t/different-ways-to-save-data-locally/22106/3 "2021-06-16T07:02:31Z")

</div>

hi, thanks for the info. do you think sqlLite+Room is the best option if i want to create a Daily Expenses apps with searchable DateTime, Category & Comment.

cheers,

---

<div class="post-metadata">

**Author:** ![darksnake](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/darksnake/32/2479_2.png) [@darksnake](https://discuss.kotlinlang.org/u/darksnake)\
**Post date:** [June 16, 2021, 7:14am UTC](https://discuss.kotlinlang.org/t/different-ways-to-save-data-locally/22106/4 "2021-06-16T07:14:58Z")

</div>

I do not do Android right now and again, it is not quite Kotlin-related. You should whatever you are comfortable with unless there are restrictions on specific packaged in your environment.
