Saving Data on Android



Download 19,28 Mb.
Pdf ko'rish
bet53/292
Sana24.01.2022
Hajmi19,28 Mb.
#407089
1   ...   49   50   51   52   53   54   55   56   ...   292
Bog'liq
Bailey J., Dominguez A., Djermanovic D. - Saving Data on Android (1st Edition) - 2019

Where to go from here?
• The tutorial here 
https://www.raywenderlich.com/2705552-introduction-to-
android-activities-with-kotlin
 on the utilization of SharedPreferences.
• To view the documentation on SharedPreferences, visit the developer guide here: 
https://developer.android.com/training/data-storage/shared-preferences
.
• To read more about SharedPreferences, see the documentation found here: 
https://developer.android.com/reference/android/content/SharedPreferences
.
Saving Data on Android
Chapter 2: Shared Preferences
raywenderlich.com
48


3
Chapter 3: SQLite 
Database
By Jennifer Bailey
Using 
files
 and 
shared preferences
 are two excellent ways for an app to store small 
bits of data. However, sometimes an app needs to store larger amounts of data in a 
more structured manner, which usually requires a database. The default database 
management system (DBMS) that Android uses is called 
SQLite
. SQLite is a library 
that provides a DBMS, based on SQL. Some distinctive features of SQLite include:
• It uses dynamic types for tables. This means you can store a value in any column, 
regardless of the data type.
• It allows a single database connection to access multiple database files 
simultaneously.
• It is capable of creating in-memory databases, which are very fast to work with.
Android provides the APIs necessary to create and interact with SQLite databases in 
the 
android.database.sqlite
 package.
Although these APIs are powerful and familiar to many developers, they are low-
level and do require some time and effort to use. Currently, it is recommended to use 
the 

Download 19,28 Mb.

Do'stlaringiz bilan baham:
1   ...   49   50   51   52   53   54   55   56   ...   292




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish