Here in this tutorial i am going to explain you about creating a splash screen in Kotlin language. A splash screen is the first launching activity of the applications which waits for certain seconds and go to the next page either to login page or home page of the application. Splash screen is common to […]
Android Change Language At Runtime Programmatically
This tutorial will explain you how to change the language locale of your application at runtime or dynamically. The code explained here will show you how to convert text written in English to French language using a Helper class. Step 1: Create Separate string.xml With Translations Here fr is the language qualifier for french language […]
Android Location Tracking In Background Service
In this tutorial i’m going to explain about how to track the location of the device using a background service with Google LocationServices API Client and share the location to the Activity using a broadcast receiver. The background service will keep running as long as the application exists in the memory and sticks to the […]
Android Tutorial – Glide V4 Implementation
Glide is a widely popular, fast and memory efficient image loading library for Android. Glide supports fetching, decoding, and displaying video stills, images, and animated GIFs. In the context of image loading also, there are many popular third party libraries for loading and Glide is the most popular among them. The latest version of Glide […]
Android Gaussian Blur Effect Using RenderScript Framework
Gaussian Blur effect for a view is achieved by the help of RenderScript framework introduced in Android 3.0 (API level 11). It is a framework for running computationally intensive tasks at high performance on Android. RenderScript is primarily oriented for use with data-parallel computation, although serial workloads can benefit as well. ScriptIntrinsicBlur, Intrinsic Gausian blur […]
Create Notifications With Direct Reply – Android Nougat
Notifications are incoming messages to an android application from a server or within the application. It will be shown in the notification bar even if the app is not open. Here in this tutorial i will explain you how to create direct reply notifications. Direct Reply Capability Of Notifications Direct Reply is one of the […]
How To Screen Capture Programmatically In Android
In this article i will explain about taking the screenshot of the current screen with few lines of codes. It is a very handy and useful code if you play with screenshots of your app. It converts the view to a bitmap and save it in device storage for future use. I will write two […]
4 Ways To Reduce APK Size
APK, Android Application Package, is in a zip file format. The Java/Kotlin/C++ code, and resources we are using in our android application are compiled and compressed into APK file. When a user installs an application from the Google Play store, it downloads its APK file and stores it in the data folder which is created […]
Using Custom Fonts In Android Application Development
Using of custom fonts in android application development is not yet welcomed and we know fonts are major factor in defining the look and feel of User Interface. Android in the beginning was not giving any option to add custom fonts and it only shows the default font .i.e, the same font of the device. […]
Open Camera Instance Asynchronously
Is it possible for opening camera asynchronously? i would say “yes”. By Asynchronous task we can open camera in a separate thread. Opening camera is an expensive task for every android application. The speed of camera opening depends on the hardware capacity and present memory resource availability. Device with good hardware opens camera quickly. While […]
Create Triangle Shape Using XML In Android
Here in this article lets how to create a triangle shape using XML shape. No images needed for this method. With few lines of code we can create a triangle shape with desired color. Shape class only allows for creating rectangular and circular shapes. But with trick we can create triangle. It is very useful […]
Web Vs Native Vs Hybrid Mobile Development: A Comparison
When you are new to Mobile Application Development or you start a new project the first thought will be about the type of development i.e, Web vs Native vs Hybrid. You might have also heard that some has edge over others. But how do you know which is best for your need? I am a […]
How To Add Library Project In Android Studio
This tutorial will teach you an alternative way to add library project to your android project without using built-in user interface of Android Studio. Maybe this is an older way to do but in certain cases it is still relevant. Now many developers are migrating to gradle based build automation system and new open source libraries are […]
Create Splash Screen In Android
What Is A Splash Screen? Splash screen is the initial screen when user opens the app. It basically contains branding items like logo, slogan and company name etc. It also known as the boot screen. If you want to execute a long task and get the result to show as the content of the next […]
Create your first android app – Hello Android! using Android Studio
Here i am going to split entire process of Hello Android application creation into 5 steps. Which are as follows, Step 1: Create a new project Step 2: Create an activity Step 3: Create a layout for the activity Step 4: Add activity to AndroidManifest.xml Step 5: Build & Run Create a new project Here […]