Tutorials

Android Tutorials

viewpager with custom tab

ViewPager with TabLayout Android Studio

In this article we will learn how to create ViewPager with TabLayout Android Studio. We use ViewPager to create a view the works as Image Slider. In this tutorial I will use the ViewPager2 Class and accordingly I will use the RecyclerView Adapter Class. Lets create a new android studio project with Java language. First, …

ViewPager with TabLayout Android Studio Read More »

How to Create SearchView in Android Studio

How to Create SearchView in Android Studio

In this article we will learn how to create SearchView in android studio. SearchView is a widget that enables the user to enter search query and then send the request to the search provider. After that it shows a list of suggestion or results. Copy the following xml code in main activity xml file. After …

How to Create SearchView in Android Studio Read More »

Setting ImageView in Android Studio

Setting ImageView in Android Studio

In this article talks about setting ImageView in android studio. ImageView is a View for displaying and manipulating image resources, such as Drawables and Bitmaps. See the following example to implement ImageView to switch between images I have saved in the drawable folder . Then, in the main activity past the following code. Not you …

Setting ImageView in Android Studio Read More »

TextInput Layout in Android Studio

TextInput Layout in Android Studio

In this article we will how to work with TextInput Layout in android studio. We need to use TextInput Layout to display the floating label on EditText. Furthermore TextInputLayout wraps an EditText in order to display the floating label. Moreover, it supports showing the error and error icon. The TextInput Layout uses TextInputEditText as a …

TextInput Layout in Android Studio Read More »

Custom ListView in Android Studio

Custom ListView in Android Studio

In this article we will learn how to work with Custom ListView in android studio. ListView is a viewgroup which groups several items from a data source like array or database and displays them in a scroll-able list. Moreover, ListView uses the Adapter to bind the data. In order to create a ListView widget we …

Custom ListView in Android Studio Read More »

AutoComplete TextView Android Studio

AutoComplete TextView Android Studio

In this article we will learn how to create AutoComplete TextView in android studio. Furthermore, autocomplete textview is used when we need to show a list of text like name, cities when the user type the first letters in the text. AutoComplete TextView is a UI widget. So that, when we need to create it …

AutoComplete TextView Android Studio Read More »

Customize TextView in Android Studio

Customize TextView in Android Studio

In this article we will learn how to customize TextView in android studio. TextView is a user interface widget that display and set text to the user. In order to create text view use the following example of TextView widget. Moreover, you can use the xml layout attributes to customize the TextView. Also, there is …

Customize TextView in Android Studio Read More »

fragments in android studio

Fragments in Android Studio

Through the previous articles we learned what are activities in android studio, what are intents and also activities life cycle. In this article we will learn learn what are fragments. Fragments are another part of the android app that represents a reusable portion of your app UI. A Fragment can determines and maintains it’s own …

Fragments in Android Studio Read More »

Activity Lifecycle in Android Studio

Activity Lifecycle in Android Studio

In the previous articles we learned the activities in android studio. Also, we mentioned that the android app experience differs from its desktop one. This difference in that the android app doesn’t always begin in the same place. Moreover there is no a determined start for the android app. For that, in this article you …

Activity Lifecycle in Android Studio Read More »

Intent and Intent Filters

Intent and Intent Filters in Android Studio

In this article you will learn all about Intent and Intent Filters in android studio. An Intent is the way to request an action from another app component in form of messaging object. For example, when you want to start activity, send message or share image. The ways that intent communicate with app components. There …

Intent and Intent Filters in Android Studio Read More »

activities android studio

Activities in Android Studio

In the previous articles of our android studio tutorials for beginners we learned how to create an android studio project. By default android studio create packages and files from which is the Main Activity java file. Surely, an activity class is a crucial component of any android app. So, this article is important as we …

Activities in Android Studio Read More »

Android Emulator

Setup Android Emulator in Android Studio

In this article you will learn how to setup Android Emulator in Android Studio after first installation of android studio. Android emulator is a simulation of android device on your computer. Moreover, it provides almost all the capabilities of a real android device. Further more, the emulator comes with predefined configurations for various Android phone, …

Setup Android Emulator in Android Studio Read More »

Android Studio User Interface and Project Structure

Android Studio User Interface and Project Structure

In this article You will be familiar with the android studio user interface and the android project structure. Android Studio is the official Integrated Development Interface (IDE) and id dependent on IntelliJ IDEA. Moreover it provides developers with more features that enhance your productivity when building Android apps. Features like a flexible Gradle based build …

Android Studio User Interface and Project Structure Read More »

create new androidproject

Create An Android Studio Project

Welcome to the first practical android tutorial for beginners. In this article you will learn how to create your first android studio project after Installing Android Studio. In order to create a new android studio project, open android studio. Then, you will see “welcome to android studio” window as following. Next, click on “Create New …

Create An Android Studio Project Read More »

Preference API | Build Settings UI in Android Studio

Preference API | Build Settings UI in Android Studio

In this article we will learn how to build Settings UI in android studio using Preference API. To clarify more, in app setting allows the user to change the functionality and behavior of your app. Furthermore, it can affect the background behavior such as change the app data synchronization. Moreover, settings can affect the app …

Preference API | Build Settings UI in Android Studio Read More »

Firebase Facebook Authentication Android Studio

Firebase Facebook Authentication Android Studio

This article describes how to create Firebase Facebook authentication in android studio. If it is the first time to see Firebase tutorials. The article of this link describes how to connect android studio project to Firebase. Facebook login button is the most preferred, fast and convenient tool for android application users. As you can allow …

Firebase Facebook Authentication Android Studio Read More »

Firebase Email Authentication Android Studio

Firebase Email Authentication Android Studio

This article describes how to create Firebase email authentication in android studio. if it is the first time to see Firebase tutorials, The article in this link describes how to connect android studio project to Firebase. Many apps require to know the identity of the user. More over, you need to securely save users data. …

Firebase Email Authentication Android Studio Read More »

connect android project to firebase

Connect Android Studio Project to Firebase

This tutorial describes how to Connect Android Studio Project to Firebase. Simply, I will Firebase plugin in android studio. However, If you have already installed Firebase plugin in android studio, just scroll down to the second part. Install Firebase Plugin in Android Studio Start a new android studio project and after project synchronized successfully open …

Connect Android Studio Project to Firebase Read More »

android nested recyclerview

Create Nested ReyclerView Android

How to Create Nested Recyclerview android studio This tutorial describes how to Create Nested ReyclerView Android. Nested RecyclerView is the idea of play store application or e-commerce application or music application. You can scroll vertically through parent RecyclerView. Each row of parent RecyclerView represents the type or category and contains horizontal(child) RecyclerView . The child …

Create Nested ReyclerView Android Read More »

Android SQLite Tutorial

Android SQLite Database Tutorial

Android SQLite Tutorial Android SQLite Database Tutorial is part of local persistence tutorials. Local Persistence means the storage of data to the device for later use, even after the program that created it has been closed. Options: 1.Using a SQLite database and Room Database. This is (obviously) the most powerful option, especially for querying data. …

Android SQLite Database Tutorial Read More »