Inside the Android OS
Home > Computing and Information Technology > Computer programming / software engineering > Apps programming > Inside the Android OS: Building, Customizing, Managing and Operating Android System Services
Inside the Android OS: Building, Customizing, Managing and Operating Android System Services

Inside the Android OS: Building, Customizing, Managing and Operating Android System Services

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

The Complete Guide to Customizing Android for New IoT and Embedded Devices Inside the Android OS is a comprehensive guide and reference for technical professionals who want to customize and integrate Android into embedded devices, and construct or maintain successful Android-based products. Replete with code examples, it encourages you to create your own working code as you read--whether for personal insight or a professional project in the fast-growing marketplace for smart IoT devices. Expert Android developers G. Blake Meike and Larry Schiefer respond to the real-world needs of embedded and IoT developers moving to Android. After presenting an accessible introduction to the Android environment, they guide you through boot, subsystem startup, hardware interfaces, and application support--offering essential knowledge without ever becoming obscure or overly specialized. Reflecting Android's continuing evolution, Meike and Schiefer help you take advantage of relevant innovations, from the ART application runtime environment to Project Treble. Throughout, a book-length project covers all you need to start implementing your own custom Android devices, one step at a time. You will: Assess advantages and tradeoffs using Android in smart IoT devices Master practical processes for customizing Android Set up a build platform, download the AOSP source, and build an Android image Explore Android's components, architecture, source code, and development tools Understand essential kernel modules that are unique to Android Use Android's extensive security infrastructure to protect devices and users Walk through Android boot, from power-on through system initialization Explore subsystem startup, and use Zygote containers to control application processes Interface with hardware through Android's Hardware Abstraction Layer (HAL) Provide access to Java programs via Java Native Interface (JNI) Gain new flexibility by using binderized HAL (Project Treble) Implement native C/C++ or Java client apps without bundling vendor libraries

Table of Contents:
Preface      xiii Chapter 1  Why Android?      1 Adopting Android      1     Full Stack      2     Broad Acceptance      2     Beautiful UI      2     Linux Based      2     Powerful Development Environment      3     Open Source      3 AOSP and Google      5 Other Choices      6     Micro-Controllers      6     Other RTOSs      7 Summary      8 Chapter 2  Booting Acme      9 Setting Up a Build Machine      10 Downloading the Code      11 Repo      11 Forking the Source      15     Android Version Selection      16     Local Mirror      17     Hosted Git Repositories      18     Tree Snapshot      19 Repository Commit Pinning      19 Example: Local Mirror of Forked Repositories      19 Building an Image      24 Device Tools      27     fastboot      28     adb      29 Flashing the Device      30 Summary      33 Chapter 3  Getting Started      35 Putting Android in Its Place      35     Hardware      36     The Linux Kernel      36     System Libraries      37     Applications      38     The Android Framework      39 The Android Service Model      40 Exploring the Source      43     Other Sources      44     What's in the Box?      44 Summary      48 Chapter 4  The Kernel      49 The Linux Kernel      49     Kernel Process Management      50     Kernel Memory Management      51 The Android Kernel      53     Android Kernel Features      54 Building a Kernel      62     The Build System      63     Downloading the Source      63 Summary      66 Chapter 5  Platform Security      67 Types of Security      67 Verified Boot      68 Operational Security      69     Android Software Layers      70     The Process Sandbox      70     SE Linux for Android      72     SE Policy Definition      73     Android Permissions      76     File Systems      79 User Protections      82 Customizing Permissions      83     Sample Custom Permission-Protected App      83     Sample Custom Permission Client App      88 Summary      92 Chapter 6  System Startup: Installing and Booting the System      93 The Boot Process      93     Bootloader      95     Fastboot      99     Kernel      100     The File System      102     init      104 Recovery      106 Building a Daemon      107 Creating the Acme Device      107 Repo Again      110 Starting the Daemon      111 Summary      114 Chapter 7  Android Startup: Dalvik and Zygote      115 Dalvik      116     ART      120     ART Basics      120 Hybrid ART      122 Zygote      123     Zygote Memory Management      123     Zygote Startup      127     Runtime Initialization      128     System Service Startup      129 Summary      131 Citations      131 Chapter 8  Getting to Android: The HAL      133 Why a HAL?      133 Is a HAL Necessary?      135 Designing the HAL      136 Building a HAL      137     Code Structure      138     Implementing the HAL      140 Summary      151 Chapter 9  Getting to Java: The JNI      153 Code Structure      154 Using the Device      155 Using the HAL      157 Using the Java Native Interface      159     Executing Native Code      160     JNI: The Java Side      161     JNI: The Native Side      162     A Java Proximity Application      165     JNI: Some Hints      176 Summary      182 Chapter 10  Project Treble: Binderized HAL      183 HIDL Architecture      183     hwservicemanager      185     HIDL Services      185     HIDL Client Applications      186 Hardware Interface Definition Language (HIDL)      186     HIDL Types      191 HIDL Services      194 HIDL Clients      197 Summary      198 Chapter 11  Creating a Custom Binderized HAL      199 Acme Custom HIDL      199 Summary      217 Chapter 12  Clients for a Custom Binderized HAL      219 Native C++ Aproximity Client      219     SE Linux for Android Changes for aproximitycl      224     Build aproximitycl into Acme      225 Java/Kotlin Aproximity Client      226     SE Linux for Android Changes for AproximityClient      229     Build AproximityClient into Acme      229 Summary      231 Index      233


Best Sellers


Product Details
  • ISBN-13: 9780134096391
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Sub Title: Building, Customizing, Managing and Operating Android System Services
  • ISBN-10: 0134096398
  • Publisher Date: 09 Sep 2021
  • Binding: Digital download
  • No of Pages: 350
  • Weight: 1 gr


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Inside the Android OS: Building, Customizing, Managing and Operating Android System Services
Pearson Education (US) -
Inside the Android OS: Building, Customizing, Managing and Operating Android System Services
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Inside the Android OS: Building, Customizing, Managing and Operating Android System Services

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!