Unlock the full course today
Join today to access over 15,000 courses taught by industry experts or purchase this course individually.
Nearly every app you build will use some kind of data. That data could be a single numeric value, or a complex relational database with multiple tables. This course helps you build Android apps that store, manage, and display data in a variety of forms and formats, using the Kotlin programming language and the latest tools and best practices for Android developers. Learn how to access data from internal resources and assets, external files, and web services; parse strings that are formatted with JSON; and display just the data you want to users. Instructor David Gassner also explains how to read from and write to text files and manage SQLite databases in Android-based applications. The course uses Kotlin—rather than Java—for all examples, leveraging its efficiency and brevity.
Managing Staff Instructor, LinkedIn Learning Technology Library at LinkedIn
David Gassner is the author of over 60 video-based technical training courses for software developers.
David is a senior staff instructor who specializes in development platforms and programming languages including Android and Java. He currently creates training content for Android developers and content that covers multiple programming languages including Java, C#, Visual Basic, and Go. He was formerly the president and founder of Bardo Technical Services, an Adobe Solutions Network Training Provider. As an Adobe Certified Expert, he wrote courseware for Adobe and delivered extensive training on Flex, ColdFusion, Dreamweaver and Flash. He was the author of Wiley's Flex 3 Bible and Flash Builder 4 and Flex 4 Bible. He most recently designed and developed Audio Cues—an Android app for running sound in live performances—which is available in the Google Play store.
- David Gassner is the author of over 60 video-based technical training courses for software developers.
Skills covered in this course
Mobile apps for a data-driven world“
- [Instructor] So far, this app has saved data locally in text files using JSON formatting, but you can make local data storage more robust and flexible with a relational database. The Android SDK includes everything you need to work with SQLite, and the recent introduction of the Room architecture component makes working with databases easier than ever before. First, I'll add some required dependencies for Room into my Gradle build file. This is the build.gradle file for the app module, and I'll place my cursor down here at the end of my dependencies, and I'll declare a variable that I'll room_version, and I'll set it to the most recent version of Room as of this recording, 2.1.0. Then I'll add a couple of implementation lines. The first one will be androidx.room:room-runtime, and that'll use that variable. Now I'll duplicate that line, and this one will be room-ktx, for Kotlin. And finally, I'll add an annotation processor, with K-A-P-T, and remember we added an applied plugin…
Download courses and learn on the go
Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.
Watch this course anytime, anywhere. Get started with a free trial today.