ENGLISH

Android Software Internals Quick Reference: A Field Manual and Security Reference Guide to Java-based Android Components

Book information

Publisher
Apress
Year
2021
ISBN
9781484269138, 9781484269145, 1484269136
Language
english
Format
PDF
Filesize
2 MB (2418861 bytes)
Edition
1st ed.
Pages
176\170
Time added
2021-12-14 15:19:17

Description

Use this handy field guide as a quick reference book and cheat sheet for all of the techniques you use or reference day to day. Covering up to Android 11, this Android Java programming reference guide focuses on non-UI elements with a security focus. You won’t see Android UI development, nor will you see low-level C or kernel techniques. Instead, this book focuses on easily digestible, useful, and interesting techniques in Java and the Android system.  This reference guide was created out of the need for myself to jot down all the useful techniques I commonly reached for, and so I’m now sharing these techniques with you, whether you are an Android internals software engineer or security researcher.  What You Will Learn Discover the differences between and how to access application names, package names, IDs, and unique identifiers in AndroidQuickly reference common techniques such as storage, the activity lifecycle, and permissionsDebug using the Android shellWork with Android's obfuscation and encryption capabilitiesExtract and decompile Android applicationsCarry out Android reflection and dex class loading Who This Book Is For Programmers, developers, and admins with at least prior Android and Java experience. Table of Contents About the Author About the Technical Reviewer Chapter 1: Introduction What Is This Book What This Book Is Not Chapter 2: Android Versions Chapter 3: Fundamentals Android Sandbox Application Components Activities Services Broadcast Receivers Content Providers Manifest Permissions Context Application Context Activity Context The Activity Life Cycle onCreate() onStart() onResume() onPause() onStop() onRestart() Android Users Linux Users Android Users Chapter 4: Intents Starting Components Intent Attributes Core Attributes Additional Attributes Actions Categories Extras Flags Task Stack Intent Filters Chapter 5: Application Names, Android Package Name, and ID Java Package Name Package ID Retrieving Package ID Application ID Suffix and Flavor Application Name Retrieving Application Name Chapter 6: Storage Partitions External and Internal Storage Internal Storage External Storage Text Files Databases Shared Preferences File Providers Assets Folder Resources Chapter 7: Android Unique Identifiers Google Play Advertising ID Android ID (Secure Settings Android ID – SSAID) SIM Serial Number Phone Number IMEI and MEID Chapter 8: Obfuscation and Encryption Logging Standard Logging Final Constant Variables Using .isLoggable Dynamically Checking If Debuggable ProGuard Enabling ProGuard The ProGuard Mapping File The ProGuard Allow-List The Different Types of Keep Entry Points Example Rules Public Key/Certificate Pinning AES Encryption Chapter 9: Services, Launchers, and Components Long-Running Services Triggers Services IntentService, AlarmManager, and BootComplete Foreground Services JobScheduler Work Managers Threading AsyncTasks Battery and Security Effects on Long-Running Services Doze App Standby Buckets Modifying a Component’s State Statically Modifying Component State Dynamically Modifying Components Creating an Android Launcher Creating a Launcher Application Additional Functionality Chapter 10: Reflection and  Class Loading Reflection Making an Instance of a Class .getDeclaredMethod Compared With .getMethod Static Methods Private Constructors Initialized Classes as Fields of Other Classes Class Loading Chapter 11: The Android Shell Running Commands Programmatically Chapter 12: Decompiling and Disassembling Android Applications Decompiled Java Disassembled Dalvik Bytecode (Smali) Extracting APKs from Running Devices Chapter 13: Closing Thoughts Index

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

1809 · PDF