Creating an Android app

Let's create a simple Android app that has a database. This will store the details of users (including name, contact number, and email ID) and show these details in a list using RecyclerView.

First of all, we need to create an app from Android Studio, write down your project, and the company domain. Don't forget to check Include Kotlin support to make it a Kotlin-based application. The following screenshot shows the Create Android Project window:

Now select the minimum API version from the Phone and Tablet option. There is no need to add other options for this project. After clicking Next in the Add an Activity to Mobile, you can select Basic Activity and then, after renaming the Activity Name and layout, click Finish. After building the project, you will be ready to start creating an Android app.

Here is the screenshot of the Add an Activity to Mobile window and here we select the Basic Activity template like the following screenshot:

The final files of this project are shown in the following screenshot, where you can see all the files and resources after finishing this project:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.212.212