Saving Data on Android



Download 19,28 Mb.
Pdf ko'rish
bet90/292
Sana24.01.2022
Hajmi19,28 Mb.
#407089
1   ...   86   87   88   89   90   91   92   93   ...   292
Bog'liq
Bailey J., Dominguez A., Djermanovic D. - Saving Data on Android (1st Edition) - 2019

AndroidManifest.xml
. Checking enabled allows the component to be 
instantiated by the system.
Now that you have added the template for your content provider, quickly open up 
the 
AndroidManifest.xml
 file to see the 
provider
 tag that has been added.
  
<
provider
 
    
android:name
=
".Controller.provider.ToDoContentProvider"
 
    
android:authorities
=
"com.raywenderlich.contentprovidertodo"
 
    
android:enabled
=
"true"
 
    
android:exported
=
"true"
>
 
  
provider
>
Saving Data on Android
Chapter 4: ContentProvider
raywenderlich.com
80


Notice how the location, the authority and the permissions are included in this tag 
as we specified through the dialog. Now the methods must be implemented in the 
content provider.
Implemen/ng the methods in the content 
provider
Note
: As you add code to the method stubs in the provider, be sure to replace 
the 
TODO
 comments with the new code. Also, you may need to press 
alt
 + 
enter
 and import libraries as you go along. If given the choice between 
constants defined in the 

Download 19,28 Mb.

Do'stlaringiz bilan baham:
1   ...   86   87   88   89   90   91   92   93   ...   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