Pro Android with Kotlin



Yüklə 4,6 Kb.
Pdf görüntüsü
səhifə4/231
tarix29.11.2023
ölçüsü4,6 Kb.
#138831
1   2   3   4   5   6   7   8   9   ...   231
@de android telegram Pro Android with Kotlin Developing Modern Mobile

vii
Table of Contents
Adding Security to Broadcasts ��������������������������������������������������������������������������������������� 55
Securing Explicit Broadcasts ���������������������������������������������������������������������������������������������������������������� 55
Securing Implicit Broadcasts ���������������������������������������������������������������������������������������������������������������� 57
Sending Broadcasts from the Command Line ���������������������������������������������������������������� 58
Random Notes on Broadcasts ���������������������������������������������������������������������������������������� 59
 

Chapter 6: Content Providers ������������������������������������������������������������������������������ 61
The Content Provider Framework ����������������������������������������������������������������������������������� 61
Providing Content ����������������������������������������������������������������������������������������������������������� 63
Initializing the Provider ������������������������������������������������������������������������������������������������������������������������� 63
Querying Data ��������������������������������������������������������������������������������������������������������������������������������������� 63
Modifying Content �������������������������������������������������������������������������������������������������������������������������������� 65
Finishing the ContentProvider Class ����������������������������������������������������������������������������������������������������� 66
Registering the Content Provider ����������������������������������������������������������������������������������� 67
Designing Content URIs ������������������������������������������������������������������������������������������������������������������������ 70
Building a Content Interface Contract ��������������������������������������������������������������������������������������������������� 71
A Cursor Class Based on AbstractCursor and Related Classes������������������������������������������������������������� 73
A Cursor Class Based on the Cursor Interface �������������������������������������������������������������������������������������� 75
Dispatching URIs Inside the Provider Code ������������������������������������������������������������������������������������������� 76
Providing Content Files ������������������������������������������������������������������������������������������������������������������������� 76
Informing Listeners of Data Changes ��������������������������������������������������������������������������������������������������� 79
Extending a Content Provider ����������������������������������������������������������������������������������������� 79
Client Access Consistency by URI Canonicalization ������������������������������������������������������������������������������ 80
Consuming Content �������������������������������������������������������������������������������������������������������� 80
Using the Content Resolver ������������������������������������������������������������������������������������������������������������������ 80
Accessing System Content Providers ��������������������������������������������������������������������������������������������������� 82
Batch-Accessing Content Data ������������������������������������������������������������������������������������������������������������� 93
Securing Content ������������������������������������������������������������������������������������������������������������ 93
Providing Content for the Search Framework ���������������������������������������������������������������� 95
Documents Provider ������������������������������������������������������������������������������������������������������� 95



Yüklə 4,6 Kb.

Dostları ilə paylaş:
1   2   3   4   5   6   7   8   9   ...   231




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə