Book Image

Android App Compatibility: the Complete K-to-P Guide [Video]

By : Jonathan Davis
Book Image

Android App Compatibility: the Complete K-to-P Guide [Video]

By: Jonathan Davis

Overview of this book

<p>Android fragmentation is the most horrible thing in an Android developer's life. A new version is released each year and year after new release gains less than a 5% market share. Though Google is doing great work in providing Android developers with support libraries, there are still lots of compatibility issues.</p> <p>This course will help you to make your Android apps backward-compatible and we cover common issues faced by developers in Android. We develop in Java using all its support libraries to show what they are and how they allow us to fight most compatibility issues. We build a simple application that will allow us to track car fill-ups and review gas stations.</p> <p>During this course, we take a closer look at uses for compatibility libraries, walk through its most popular pivots, and skillfully resolve them. Lastly, we explore a few tools for a more effective market understanding and investigate crashes and A/B testing.</p> <p>The code bundle for this video course is available at:&nbsp;<a href="https://github.com/PacktPublishing/Android-App-Compatibility---The-Complete-K-to-P-Guide" target="_blank">https://github.com/PacktPublishing/Android-App-Compatibility---The-Complete-K-to-P-Guide</a></p> <h1>Style and Approach</h1> <p>The goal of this course is to teach software developers to be successful Android Developers. My intention is to introduce future developers to Android APIs that are actually used by real Android developers to create apps, in addition to supporting Android Lollipop (most Android support libraries actually support all the way back to Android 14 Jelly Bean). This is a Java-based course. I recommend viewers should be comfortable with the Java programming language but any knowledge in an object-oriented language and familiarity with a C-style language are also suitable. In this course we build a gas-tracking app. The app will store locations of gas stations, as well as fill-up dates, gas prices, and track the total amount of gas purchased throughout a given month. By the end of this course, students should have a reasonable understanding of Android's Data Binding, and Room Persistence Libraries will be able to access a device's location in real time.</p>
Table of Contents (6 chapters)
Chapter 4
Wire Up the UI
Content Locked
Section 2
Wiring Up the Sign-In Screen
Setup the sign-In activity using data binding and a view model to login to the app. - Setup layout to use data binding - Build sign-in view model - Wire the UI and the view model together