|
Pro Android with Kotlin@de android telegram Pro Android with Kotlin Developing Modern Mobilexiv
Table of Contents
Android TV Games ������������������������������������������������������������������������������������������������������������������������������ 377
Android TV Channels ��������������������������������������������������������������������������������������������������������������������������� 378
Programming with Android Auto ���������������������������������������������������������������������������������� 378
Developing for Android Auto ��������������������������������������������������������������������������������������������������������������� 379
Testing Android Auto for a Phone Screen ������������������������������������������������������������������������������������������� 379
Testing Android Auto for a Car Screen ������������������������������������������������������������������������������������������������ 379
Develop Audio Playback on Auto �������������������������������������������������������������������������������������������������������� 381
Develop Messaging on Auto ��������������������������������������������������������������������������������������������������������������� 383
Playing and Recording Sound ������������������������������������������������������������������������������������������������������������� 385
Short Sound Snippets ������������������������������������������������������������������������������������������������������������������������� 386
Playing Media ������������������������������������������������������������������������������������������������������������������������������������� 388
Recording Audio ����������������������������������������������������������������������������������������������������������� 391
Using the Camera ��������������������������������������������������������������������������������������������������������� 391
Taking a Picture ���������������������������������������������������������������������������������������������������������������������������������� 392
Recording a Video ������������������������������������������������������������������������������������������������������������������������������� 395
Writing Your Own Camera App ������������������������������������������������������������������������������������� 397
Android and NFC ���������������������������������������������������������������������������������������������������������� 423
Android and Bluetooth ������������������������������������������������������������������������������������������������������������������������ 423
Android Sensors ��������������������������������������������������������������������������������������������������������������������������������� 424
Retrieving Sensor Capabilities ������������������������������������������������������������������������������������������������������������ 424
Listening to Sensor Events ����������������������������������������������������������������������������������������������������������������� 424
Interacting with Phone Calls ���������������������������������������������������������������������������������������� 427
Monitoring Phone State Changes ������������������������������������������������������������������������������������������������������� 427
Initiate a Dialing Process �������������������������������������������������������������������������������������������������������������������� 431
Create a Phone Call Custom UI ����������������������������������������������������������������������������������������������������������� 431
Fingerprint Authentication �������������������������������������������������������������������������������������������� 431
■
Chapter 14: Testing �������������������������������������������������������������������������������������������� 433
Unit Tests ���������������������������������������������������������������������������������������������������������������������� 434
Standard Unit Tests ����������������������������������������������������������������������������������������������������������������������������� 434
Unit Tests with Stubbed Android Framework �������������������������������������������������������������������������������������� 435
Unit Tests with Simulated Android Framework ����������������������������������������������������������������������������������� 436
|
|
|