In this blog, we will learn about Intents in Android. Intents are used to communicate between various components in Android application. If you are new to Android then this is the must-read blog. Also, if you have done Application development in Android, then you will learn various new things about Intents. So, let's learn together the concept of Intents in Android.
In this blog, we will learn how to efficiently use the Kotlin Collection Functions to make the journey of Android App Development smoother and faster.
In this blog, we will demonstrate how to use Shimmer in your Android application. We will be fetching the data from the API using the Fast-Android-Networking and then displaying the data in the RecyclerView. So let’s get started!
There are many great features available in Kotlin, we can take advantage of all these features to write a better application in Kotlin. Among all those features, lateinit and lazy are important property initialization feature.
In this blog, we will learn how to autosize the textview. We will learn how to make the TextView scalable according to the size of the container. We have created a complete tutorial of Autosizing the textview.
In this blog, we will learn how we can use the Kotlin code in our existing Java code with the help of JvmStatic, JvmOverloads, and JvmField in Kotlin.
In this tutorial, we are going to learn about the Jetpack Compose, a modern toolkit for building native UI. We will go through this tutorial to learn Jetpack Compose for Android by example.
In this blog, we will learn how to implement Preferences in Android. Preferences are a part of Android Jetpack and are used to implement in-app settings. So, by using Preferences, you can change the behavior of your app without changing the system's settings. Let's get started.
In this blog, we are going to learn how to migrate from Groovy-based Gradle to Kotlin DSL Gradle in Android. We will learn what are the basic steps that can be followed for easy migration to Gradle Kotlin DSL.
In this blog, we will learn how to implement BottomSheet in Kotlin and handle all its callback. We will see the examples of both Persistent BottomSheet and Modal BottomSheet.
In this blog, we will learn how to use ExoPlayer like a pro. ExoPlayer is a library used to play audio and video in Android apps. You can customize the ExoPlayer according to your needs. So, let's learn how to use ExoPlayer.
Android SharedPreferences in Kotlin
In this blog, we will learn about the concept of companion object that is used to call the members of a class with the help of class name and not by making an instance of the class.
In this blog, we will learn about the firebase Remote Config feature in Android. By using Firebase Remote Config, we can bring some updates in the App like some text change in the app, without publishing any update of the app on the Play Store.
In this blog, we will learn how to encrypt data safely in Android device and how to use Androidkeystore. We will learn about key encryption, file encryption, and how to encrypt SharedPreferences.
In this blog, we will learn about some of the Tips and Tricks of Android Studio. This is very important because a machine can do a lot of things if the operator, operating the machine knows how to use it efficiently. Same is with Android Studio. Using some shortcuts will help us in making projects in a lesser time than ever.
In this blog, we will learn how we can use the ViewModel in our application to communicate between various fragments in our application. We say it as SharedViewModel.
In this blog, we will learn how to use Multidex in Android. Basically, Multidex is used when we want to add more than 64K methods in our Android project. If we don't use any Multidex for the project having more than 64K methods, then we will encounter DEX error. So, in this blog, we will learn how to use Multidex.
In this blog, we will learn how to open a PDF file i.e. Portable Document Format file in Android programmatically. Since PDF files are the most used document file format, so, using a PDF file in our application can be a good way of displaying some documents in our application. Let's find, how to open a PDF file in Android programmatically.
In this blog, we will learn about LiveData and the methods that are used to update the value of the LiveData i.e. setValue() method and postValue() method. We will look at the difference between these two methods. So, let's get started.
In this blog, we will learn about LiveData which is used to notify the observers associated with it if there is a change in the LiveData. Normally, the UI elements are notified when there is a change in data. Also, only that observers will be notified that are in Live state. So, let's explore this.
In this blog, we will learn how to update the location using the GPS of a mobile device. We will perform an example to check the current location of the user.
In this blog, we will learn how to implement Easy Permissions in Android. Easy Permissions are used to ask for permissions required by the application explicitly. These are used to ask users for permissions that are dangerous in nature and involves user privacy.
In this blog, we will learn about Content Provider in Android. Content Provider is one of the Android Component helps to access data of other apps. We will be learning Content Provider implementation in Kotlin.
In this blog, we will learn about various layouts in Android. We will learn about LinearLayout, RelativeLayout, and FrameLayout. We will learn all these with the help of some examples.
In this blog, we will learn how to create and run your first Android application in Kotlin with the help of Android Studio. We will learn how to create an emulator in Android Studio and how to run applications on an emulator and on mobile devices.
In this blog, we will learn about the Application life cycle in Android. We will learn how to make use of various application states that a particular application has in general.
In this blog, we will learn about the Android User Interface. We will learn about various view components like Button, TextView etc provided by Android Studio. So, let's get started.
In this blog, we will learn how to install Android Studio in our system. We will learn how to download and install Android Studio in Windows, Mac, and Linux. Also, we will learn how to enable developer option in our mobile device.
In this blog, we will learn how to implement SMS verification using the SMS User Consent API in Android. This API is used to read only the message containing the verification code and will automatically extract the code from the message by taking permission from the user with the help of a prompt.
In this blog, we will learn how to measure the method execution time in debug build of your application. Method execution time will help in reducing the time complexity of your method and this in return accelerates your Android App performance.
In this blog, we will learn how to access SQLite Database in Android for Debugging with the help of the Android Debug Database library. By using the Android Debug Database library, you can view/add/edit/delete values of the tables present in the database.
In this blog, we will understand the concept of Scoped Storage in Android. It was introduced with Android 10 and it provides limited and the required storage access to the application. Let's learn more about it.
In this blog, we will learn how to build material and dark themes apps using styles in Android. We will see how we can change the look of the application just by writing some styles code for our application.
In this blog, we will learn how to use Android NDK. We will learn the use of native codes i.e. C and C++ in Android development. So, let's learn about Android development in a native way.
In this blog, we will learn how to integrate expression search in Android application. We will learn how to use GIFs for better user communication in our application. We will cover every aspect of it.
In this blog, we will learn how to use Android Sensors. There are various sensors present in our Android device and we can use them in our application. For example, we can use the temperature sensor in some weather app. So, let's learn about Android Sensors.
In this blog, we will learn about the in-app update feature in your Android app. In-app update is a feature that is used to download the update of the app without using the play store. We will see how to use the flexible and immediate in-app update in our app.
In this blog, we will learn the concept of labels and jumps in Kotlin. We will see the types of jump expressions that are used in Kotlin.
In this blog, we will learn how to convert a Kotlin source file to a Java source file. We will do the file conversion by two methods. So, let's see how.
In this blog, we will learn about Property, Getter, and Setter in Kotlin. We have a detailed explanation of Getter and Setter in this blog.
In this blog, we will learn about tools:context attribute that is present in every layout file by default.
In this blog, we will understand the Android memory usage. We will see how the memory usage of your application can increase or decrease your users. The blog contains detailed information about memory usage in Android.
In this blog, we will learn how to improve Android app performance with Benchmarking. Benchmarking is a way to measure the code that you have written for your app. For the process of benchmarking, we have one library called Jetpack Benchmark. So, we will lean each and everything related to benchmarking.
In this blog, we will learn about Safe calls(?.) and Null Checks(!!) in Kotlin. Both are used to avoid NullPointerException in Kotlin. So, let's see how we can use these in our code.
In this blog, we will learn the difference between Service and IntentService. Services are used to perform some tasks in the background without using the UI of the application and at the same time, you can use other applications parallelly.
In this blog, we will learn how to authenticate in Android applications with the help of fingerprint. Fingerprint Authentication is the best way for authentication because you need not worry about remembering the password and it is a very fast process also. So, let's see how we can do this in our application.
In this blog, we will learn how to format your Kotlin code using ktlint in our project. ktlint is a tool that is used to check if our Kotlin code is according to the Kotlin code standards or not. If not, then it will format the code for you. So, let's learn how to do that.
In this blog, we will learn about LocalBoradcastManger. We will learn what the LocalBroadcastManager is and how we can use this in our Android project.
In this blog, we will see the difference between Dalvik and ART in Android.
In this blog, we will learn different protection levels in permission in Android application. There are three protection levels i.e. Normal, Signature and Dangerous. We will learn about all these permissions.
In this blog, we will learn how to check the visibility of software keyboard in Android.
In this blog, we will learn how to create a Transparent activity in Android. By using Transparent activity, your app will be launched but nothing will be displayed in the background of the window.
In this blog, we will learn how to communicate between various Fragments in our Activity. You can have more than one Fragments in your Activity and it becomes a necessary task to learn how to communicate between those Fragments. So, let's learn how we can do this.
This blog is for those who are starting Android development and are facing some problem while using Android Studio. We have created a full tutorial of Android Studio for Beginners.
In this blog, we will learn how to write good code in Android by using the Starter Pattern. Starter pattern is used to write codes in such a way that there is no bug or runtime error while launching an Activity. So, use Starter Pattern and stand out from the crowd.
In this blog, we will learn about the things that we should know before using Proguard in Android application. Proguard is used to minify, obfuscate and optimize the Android code. So, we created a list of things that you should know before using Proguard.
In this blog, we will learn how to implement Paging Library in Android. Paging Library is used to get only a selected amount of data out of a heap of data i.e. at a particular instant of time only the desired amount of data will be loaded in the application. This feature is very important for applications using infinite scrolling. We have created a full tutorial for Paging.
In this blog, we will learn how to decorate TextView in Android. We will use both XML and Kotlin code for TextView decoration. So, read this blog and use it in your Android project.
In this blog, we will learn how to use Animation in our Andoird Application. Animations are used to convey the message in a better way. It helps in improving the user experience. So, this blog is all about Animations in Android. So, let's learn about Animation.
In this blog, we will learn how to do JSON parsing in Android. JSON parsing is done to get the data that is present in the form of JSON i.e. you will fetch the desired data from the JSON file in your Android Application by using JSON parsing. We will learn each and every concept of JSON parsing.
In this blog, we will learn the concept of XML parsing in Android. XML parsing is used to get the data from the XML format files in our Android Application. Various websites use XML format to represent the data. So, in order to get that data in our application, we need to parse the XML file. In this blog, we will cover every aspect of XML parsing.
In this blog, we will learn how to use Gradle in Android to build some applications. We will learn some Gradle commands that can be used to perform various Gradle functions using the command line and not the Android Studio. Also, we will learn gradlew tasks and build variants.
In this blog, we will learn the concept of Activity Aliases in Android. Activity Aliases are used to preserve the Launchers whenever there is a change in the Launcher Activity name. Generally, when we create a shortcut on our home screen and if we change the Launcher Activity, then the shortcut will be removed from the home screen. So, let's find how to deal with this.
In this blog, we will learn how to use the Activity Recognition API in our Android Application. The Activity Recognition API is used to determine the Activity that a user is doing at a particular instant of time like walking, running, driving, still, etc.
In this blog, we will learn how to implement the Preferences Settings Screen in Android. Settings screen are used to change the functionality and behavior of a particular application without changing the system settings. For example, you can change the background of a particular application by using the Settings feature.
In this blog, we will learn how to use Bubbles in Android. Bubbles are a new feature introduced in the Beta version of Android Q. These are used to display notifications of any application over some other application and you can launch any activity by using these Bubbles, something like Facebook Messenger's app.
In this blog, we will learn how to use Pair and Triple in Kotlin. Pairs and Triples can be used in Kotlin to return two or three variables of same or different types of variables, respectively.
In this blog, we will learn how to use when instead of switch in Kotlin. We will see some examples to understand the usage of when in the best possible way.
As Google introduced a new ViewPager called the ViewPager2 with some cool features like vertical orientation, use of Recycler View and many more. So, in this blog, we will explore the new ViewPager2 with its implementation as well .
In this blog, we will learn how to implement the Android KTX feature of the Android Jetpack that was announced in the Google I/O 2018. We will learn how Kotlin will help us to write the same code and use the same APIs used in Java in a much easier and faster way.
In this blog, we will learn about Lint. Lint is a code scanning tool present in Android Studio that identifies the error in our code and suggests some changes in our code. Before publishing our app, we should use lint for our project. In this blog we will learn how to use lint in a more smarter way.
In this blog, we will learn some Gradle tips and tricks for Android. After reading this blog, you will be able to use various features of Gradle that will help you in developing an Android App faster than before.
In this blog, we will learn how to use custom and downloadable fonts in android that was introduced in Android 8.0. Now there is no need of writing some piece of code for using the fonts. Also you can choose from any of the thousands of fonts on Google Fonts and use them in your app.
In this blog, we will learn how to use the drag and drop feature in our Android app. Drag and Drop feature is used to move one view from one place to other. This will help in moving the UI and the data associated with that item also.
In this blog, we will learn about Primary and Secondary Constructors in Kotlin. Unlike other object-oriented languages, Kotlin has two types of constructors. So, in this blog, we will learn how to use them.
In this blog, we will learn how to use Glide for downloading and showing images in our Android application. Basically, Glide library downloads the image and store it into your cache or local memory and uses it when needed in future.
In this blog, we will be learning the Swipe-to-refresh gesture that is being used in various application like the Facebook app or the Instagram app, where the user of the app refreshes the app according to their need.
In this blog, we will learn how to use MotionLayout in Android. MotionLayout is a subclass of ConstraintLayout for building animations. Here you will learn how to apply animation without writing any java or kotlin code.
In this blog, we will talk about how to use the Edge to Edge feature of Android Q This will help the user to explore the complete width and height of the device.
In this blog, we will understand how to integrate the share sheet in our application and how it is different from DirectShare API which was launched in Android M. This blogs covers the detail and step by step explanation to integrate it .
In this blog, we will learn about the custom view and how to implement it as one. We will talk about each and every aspect of CustomView like onDraw(), onMeasure(), Why it is necessary and how simply you can create your own Views.
In this blog, we will learn using Push Notifications in Android Device using FCM. We will learn how to integrate the push notification feature in the app from scratch and handle the message as well.
In this blog, we will understand the new setting panel which released in Android Q. With Google launching Android Q, Lot of exciting features has also popped up. One amazing feature is Location Service usage and few more.
In this blog, we will understand the new privacy-based location permission in Android Q and how to implement it in your app.
In this blog, you will learn how to use camera-x support library to build your next generation camera app.In this app we will be building a Camera app from scratch.
In this blog, we will learn about using SavedState in ViewModel. This is the part of Android Architecture Component. You will learn how to Persist ViewModel state across process recreation.
How to create Material Tabs in Android in kotlin?
How to implement SearchView inside Room Database?
Android Bottom Navigation Example in Kotlin. How to implement the BottomNavigationView in Kotlin?
SQLite database helps us to store the data in the database. Android comes with the built-in implementation of SQLite Database.
Room Database is an abstraction layer over the SQLite Database which helps us to reduce our work with the SQLiteOpenHelper class.
What happened to Android development in 2018. Android has changed a lot in 2018. Let's see what actually happened in 2018.
Android Navigation Drawer in Kotlin
As the name implies, the extension functions are the functions that help us to extend the functionality of classes without having to touch their code.
Destructuring is a convenient way of extracting multiple values from data stored in (possibly nested) objects and Arrays. It can be used in locations that receive data (such as the left-hand side of an assignment).
We frequently create a class to do nothing but hold data. In such a class some standard functionality is often mechanically derivable from the data. In Kotlin, this is called a data class and is marked as data.
There are many great features available in Kotlin, we can take advantage of all these features to write the better application in Kotlin. Among all those features, apply and with are important feature. We must know when to use which one.