Author: admin

  • An Android Content Provider Client Tutorial

    In this final chapter devoted to Content Providers, we will build an app that accesses the data contained in our SQLDemo content provider and displays the list of customer contacts. Creating the SQLDemoClient Project Start Android Studio, select the New Project option from the welcome screen, and choose the Empty Views Activity template within the…

  • An Android Content Provider Tutorial

    As outlined in the previous chapter, content providers provide a mechanism through which the data stored by one Android application can be made accessible to other applications. Having provided a theoretical overview of content providers, this chapter will continue the coverage of content providers by extending the SQLDemo project created in the chapter entitled An…

  • Understanding Android Content Providers

    The previous chapter worked on creating an example application designed to store data using a SQLite database. When implemented this way, the data is private to the application and, as such, inaccessible to other applications running on the same device. While this may be the desired behavior for many application types, situations will inevitably arise…

  • An Android SQLite Database Tutorial

      The chapter entitled SQLite Databases in Android Studio covered the basic principles of integrating relational database storage into Android applications using the SQLite database management system. In this chapter, we will create a project using SQLite databases to store and retrieve data. About the Database Example The example project is a simple data entry…

  • Android Studio Version Catalogs

    A newly created Android Studio project will consist of approximately 80 files automatically generated by Android Studio. When you click on the Run button, Android Studio uses a build system called Gradle to generate additional files, compile the source code, resolve library dependencies, and create the installable application package. After the build is completed, the…

  • AlmaLinux 9 System and Process Monitoring

    An essential part of running and administering an AlmaLinux 9 system involves monitoring the overall system health regarding memory, swap, storage, and processor usage. This includes knowing how to inspect and manage the system and user processes running in the background. This chapter will outline some tools and utilities that can be used to monitor…

  • Adding and Managing AlmaLinux 9 Swap Space

    An essential part of maintaining the performance of an AlmaLinux 9 system involves ensuring that adequate swap space is available comparable to the memory demands placed on the system. Therefore, this chapter provides an overview of swap management on AlmaLinux 9. What is Swap Space? Computer systems have a finite amount of physical memory available…

  • Adding a New Disk to an AlmaLinux Volume Group and Logical Volume

    In the previous chapter, we looked at adding a new disk drive to an AlmaLinux 9 system, creating a partition and file system, and then mounting that file system to access the disk. An alternative to creating fixed partitions and file systems is to use Logical Volume Management (LVM) to create logical disks comprising space…

  • Adding a New Disk Drive to an AlmaLinux 9 System

    One of the first problems users and system administrators encounter is that systems need more disk space to store data. Fortunately, disk space is now one of the cheapest IT commodities. In this and the next chapter, we will look at configuring AlmaLinux 9 to use the space provided when a new physical or virtual…

  • Configuring an AlmaLinux 9 Postfix Email Server

    Along with acting as a web server, email is one of the primary uses of an AlmaLinux 9 system, particularly in business environments. Given the importance and popularity of email, it is surprising to some people to find out how complex the email structure is on a Linux system. This complexity can often be overwhelming…