ENGLISH

Android Apprentice (Fourth Edition): Beginning Android Development with Kotlin

Book information

Year
2021
ISBN
1950325393, 9781950325399
Language
english
Format
PDF
Filesize
61 MB (63838924 bytes)
Edition
4
Pages
744\724
Time added
2021-05-15 03:17:46

Description

Learn Android programming with Kotlin! Learning Android programming can be challenging. Sure, there is plenty of documentation, but the tools and libraries available today for Android are easily overwhelming for newcomers to Android and Kotlin. Android Apprentice takes a different approach. From building a simple first app, all the way to a fully-featured podcast player app, this book walks you step-by-step, building on basic concepts to advanced techniques so you can build amazing apps worthy of the Google Play Store! Who This Book Is For This book is for anyone interested in writing mobile apps for Android. Though no previous mobile experience is necessary, this book is also a great resource for iPhone developers transitioning from iOS. Topics Covered in Android Apprentice Getting Started Learn how to set up Android Studio and the Android Emulator. Layouts Create layouts that can be used for both Activities and Fragments Debugging No one's perfect! Learn how to dig down and troubleshoot bugs in your apps. Communication Design separate Activites and communicate and send data between them using Intents. Scrolling Layouts Learn how to use Recycler Views to make efficient, reusable views that scroll fluidly at a touch. Google Places Integrate location APIs to bring the magic of maps into your Android apps. Networking Learn how to access resouces on the internet and handle networked responses. Material Design Make sure your apps conform to modern best practices by using Google's standards of Material Design AndroidX Learn how to use the AndroidX libraries to support older versions of Android. And much, much more! One thing you can count on: after reading this book, you'll be prepared to write feature-rich apps from scratch and go all the way to submiting them to the Google Play Store! About the Tutorial Team The Tutorial Team is a group of app developers and authors who write tutorials at the popular website raywenderlich.com. We take pride in making sure each tutorial we write holds to the highest standards of quality. We want our tutorials to be well written, easy to follow, and fun. If you've enjoyed the tutorials we've written in the past, you're in for a treat. The tutorials we've written for this book are some of our best yet - and this book contains detailed technical knowledge you simply won't be able to find anywhere else. Book License What You Need Book Source Code & Forums About the Cover Introduction Chapter 1: Setting Up Android Studio Getting started Your first Android project Android Studio Creating an Android virtual device Setting up an Android device Running the app Installing new versions of Android Studio Key Points Where to go from here? Chapter 2: Layouts Getting started These are not the SDKs you’re looking for The layout editor Component tree view Positioning your views Adding rules to your views Finishing the screen Key Points Where to go from here? Chapter 3: Activities Getting started Exploring Activities Hooking up Views Managing strings in your app Progressing the game Starting the game Ending the game Key Points Where to go from here? Chapter 4: Debugging Getting started Add some logging Orientation changes Breakpoints Restarting the game Key Points Where to go from here? Chapter 5: Prettifying the App Getting started Changing the app bar color Animations Adding a Dialog Key Points Where to go from here? Chapter 6: Creating a New Project Getting started Creating a new Android project Targeting Android devices Key Points Where to go from here? Chapter 7: RecyclerViews Getting started Adding a RecyclerView The components of a RecyclerView Hooking up a RecyclerView using ViewBinding Setting up a RecyclerView Adapter Filling in the blanks Creating the ViewHolder Binding data to your ViewHolder The moment of truth Key Points Where to go from here? Chapter 8: SharedPreferences & ViewModels Getting started Adding a Dialog Creating a list ViewModels Hooking up the UI to the ViewModel Showing Real Lists in the RecyclerView Key Points Where to go from here? Chapter 9: Communicating Between Activities Getting started Creating a new Activity The app manifest Intents Intents and Parcels Bringing everything together Key Points Where to go from here? Chapter 10: Completing the Detail View Getting started Coding the RecyclerView Setting up the Adapter Adding the ViewHolder Passing the Task to the RecyclerView Returning Results from Activities Key Points Where to go from here? Chapter 11: Using Fragments Getting started What is a Fragment? Creating a Layout for Tablets Adding the ListSelectionFragment to MainActivity Wiring Up the FloatingActionButton Key Points Where to go from here? Chapter 12: Material Design What is Material Design? Primary and secondary colors Card Views Key Points Where to go from here? Chapter 13: Creating a Map-Based App Getting started About PlaceBook Making a plan Location service components Map wizard walk-through Google Maps API key Maps and the emulator Running the app The difficulty of determining locations Key Points Where to go from here? Chapter 14: User Location & Permissions Getting started Adding location services Creating the location services client Querying current location Faking locations in the emulator Tracking the user’s location My location Key Points Where to go from here? Chapter 15: Google Places Getting started Places API overview Selecting points of interest Load place details Custom info window Key Points Where to go from here? Chapter 16: Saving Bookmarks with Room Getting started Room overview Room and Android Architecture Components PlaceBook architecture Development approach Adding the architecture components Room classes Creating the Repository The ViewModel Adding bookmarks Observing database changes Key Points Where to go from here? Chapter 17: Detail Activity Getting started Fixing the info window Bookmark detail activity Key Points Where to go from here? Chapter 18: Navigation & Photos Getting started Bookmark navigation Custom photos Key Points Where to go from here? Chapter 19: Finishing Touches Getting started Bookmark categories Searching for places Creating ad-hoc bookmarks Deleting bookmarks Sharing bookmarks Updating the color scheme Adding a progress indicator Key Points Where to go from here? Chapter 20: Networking Getting started Where are the podcasts? Android networking PodPlay architecture iTunes search service Introducing Retrofit Key Points Where to go from here? Chapter 21: Finding Podcasts Android search Displaying search results Key Points Where to go from here? Chapter 22: Podcast Details Getting started Defining the Layouts Basic architecture Details Fragment Key Points Where to go from here? Chapter 23: Podcast Episodes Getting started Using OkHttp XML to DOM DOM parsing Updating the podcast repo Episode list adapter Key Points Where to go from here? Chapter 24: Podcast Subscriptions, Part One Getting started Saving podcasts Key Points Where to go from here? Chapter 25: Podcast Subscriptions, Part Two Getting started Background methods Episode update logic WorkManager Key Points Where to go from here? Chapter 26: Podcast Playback Getting started Media player basics Building the MediaBrowserService Connecting the MediaBrowser Foreground service Final pieces Key Points Where to go from here? Chapter 27: Episode Player Getting started Video playback Key Points Where to go from here? Chapter 28: Android Fragmentation & Support Libraries Android: An open operating system How Android Fragmented The AndroidX Libraries Key Points Where to go from here? Chapter 29: Keeping Your App Up to Date Following Android trends Screen size and density Vulkan Versions OpenGL versions Managing Android updates Working with older versions of Android Key Points Where to go from here? Chapter 30: Preparing for Release Code cleanup Versioning Building a release version Checking your file size Release testing Other publishing methods Key Points Where to go from here? Chapter 31: Testing & Publishing Play Console overview Creating your Google Play Store listing Main store listing Releasing your app Key Points Where to go from here? Conclusion

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

Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix

Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix

2008 · PDF