In an Android Project, by default we have 2 build types. They are release and debug types. As its name suggests, release type builds are for publishing the app in Google Play Store and debug type builds are for debugging purpose i.e, builds generated during development process. There are some values like package id, app […]
How To Add Custom Color To Views In XML – Android Studio IDE
Android Studio IDE has introduced a new color picker tool in its XML editor. It provides the easiest way to pick or change color for a XML view. It also shows existing color resources in the project and most importantly it avoids switching between files during development. If you have added color value to your […]
Key Factors In Organic Rank Calculation On Google Play Store
From 2013, i have been developing mobile apps for Android on Google Play Store and today we all believe Google Play Store is the best place for distributing and installing Android apps. This makes Google Play Store a major hub for all Android app developers and users. Over the past 7 years working specifically on […]
Android Tutorial: Runtime Performance Improvement Tips For Android
For the last few years, i have been working on post development activities for one of my personal Android application. I have understood performance optimization plays an important role in making an application successful. Optimizing the code is the most important thing in performance improvement tasks. I will share few tips on how to make […]
Requirements For Android Application Development
Like any other software development requirements, Android app development also require a basic infrastructure. Infrastructure in the sense, a computer, internet connectivity and softwares. I will list out each of them in the following sections. Hardware Our requirement is to have a computer with good performance. It does not matter whether it is Desktop or […]
How To Create A Foreground Service In An Android Application (Kotlin)
In this tutorial, we will learn about foreground service and how to create a foreground service in an android application. A foreground service is a service, which works exactly same as a normal service (background service) and the only difference is, it has a notification attached to it in the notification tray of the device. […]
Product Flavours In Android Gradle Project
If you are looking for a solution to build different versions of your application with same source code then you have reached at the right place. This article will guide you on how to configure your app using Gradle script for applying different configurations on single codebase of your Android Project. A flexible build system […]
How To Clear Activity Back Stack On Logout
While developing an application with feature logout, we might have come across a problem of session management. Even if we managed to solve the authentication, we have to deal with an another problem that is page history clearing. When each user logouts out from application, we have to clear the history of activities that he […]
Process And Threads In Android
Process is an Operating System’s creation for executing instructions either from operating user or system itself. Any task of OS (Operating System) is executed as a process. Creating a process is one of the main functionalities of an OS. For these reasons, it has been measured as a basic unit of CPU execution. Every task […]
Android Development Infrastructure
In this post i would like to share some information on Android Development Infrastructure. It includes recommended Hardware, Software, Network and external Services are being used by Android developers world wide. This consolidated list of infra details would helps Android Native developers to save their valuable time. Please note, the infra requirements have been given […]
WeakReference to Avoid Memory Leak in Android Application
When you write code for software development, it is very important to understand where and when it is going to be executed. If you know these 2 points well, then only you can build awesome software. In this tutorial our talk is mainly focused on Android App development, You know already Android apps run in […]
Multiple Constructors In Kotlin
In some cases when we need to use a class with different objects as its constructor argument. In such case we have to create multiple constructors. In Kotlin there is a predefined constructor called primary constructor which can either be an empty or with arguments. Primary Constructor or Default Constructor This is normal way in […]
Android Kotlin How To Create And Schedule A Notification
In the this tutorial we will explain how to send a notification using Notification.Builder class. And how to schedule it after a certain interval. Here we show how to schedule the notification after 5 seconds. Scheduling of the notification is achieved by using AlarmManager. By registering a BroadcastReceiver called AlarmReceiver we can subscribe the broadcast […]
Android Kotlin Listen To Internet Connection Using BroadcastReceiver
One of the most common use in mobile application is to perform tasks through internet. There is no guarantee that user has always active internet connection when they operate on our application. So it is safe to know in advance that user has a active internet connection or not. Based on this we can show […]
Android How To Add Tooltip Message Near To A View
Tooltip is a simple popup message tip shown near to a view. It is similar to its web version that shown when you mouse over it. It is helpful for giving special or extra information about a UI element in the page. From API Level 26 Android introduces new property called android:tooltipText through this we […]