Author: admin

  • AlmaLinux 9 Essentials

  • An Android Storage Access Framework Example

    As previously discussed, the Storage Access Framework considerably eases the process of integrating cloud-based storage access into Android applications. Consisting of a picker user interface and a set of new intents, access to files stored on document providers such as Google Drive and Box can now be built into Android applications with relative ease. With…

  • Accessing Cloud Storage using the Android Storage Access Framework

    Recent years have seen the wide adoption of remote storage services (otherwise known as “cloud storage”) to store user files and data. Driving this growth are two key factors. One is that most mobile devices now provide continuous, high-speed internet connectivity, thereby making the transfer of data fast and affordable. The second factor is that,…

  • An Overview of Java Threads, Handlers and Executors in Android

    Threads are the cornerstone of any multitasking operating system and can be thought of as mini-processes running within a main process, the purpose of which is to enable at least the appearance of parallel execution paths within applications. In this chapter we will explore the importance of using threads in Android app development and demonstrate…

  • An Android Studio Primary/Detail Flow Tutorial

    This chapter will explain the concept of the Primary/Detail user interface design before exploring, in detail, the elements that make up the Primary/Detail Flow template included with Android Studio. An example application will then be created that demonstrates the steps involved in modifying the template to meet the specific needs of the application developer. The…

  • Creating Android Overflow Menus using Java

    An area of user interface design yet to be covered in this book relates to the concept of menus within an Android application. Menus provide a mechanism for offering additional choices to the user beyond the view components in the interface layout. While there are a number of different menu systems available to the Android…

  • Creating a Tabbed Interface using the TabLayout Component in Java

    The previous chapter outlined the concept of material design in Android. It introduced two of the components provided by the design support library in the form of the floating action button and the Snackbar. This chapter will demonstrate how to use another of the design library components, the TabLayout, which can be combined with the…

  • A Java Android In-App Purchasing Tutorial

    In the previous chapter, we explored how to integrate in-app purchasing into an Android project and also looked at some code samples that can be used when working on your own projects. This chapter will put this theory into practice by creating an example project that demonstrates how to add a consumable in-app product to…

  • An Android Floating Action Button and Snackbar Java Tutorial

    One of the objectives of this chapter is to provide an overview of the concepts of material design. Originally introduced as part of Android 5.0, material design is a set of design guidelines that dictate how the Android user interface, and that of the apps running on Android, appear and behave. As part of implementing…

  • An Android Java MotionLayout KeyCycle Tutorial

    The previous chapters introduced and demonstrated the concepts of integrating animation into Android app user interfaces using the MotionLayout container combined with the features of the Android Studio MotionLayout editor. The chapter entitled Android Studio MotionLayout in Java briefly mentioned the cycle (KeyCycle) and time cycle (KeyTimeCycle) keyframes and explained how these can be used…