Android

Android Glide Library Example

On loading the list of images manually these three problems encounter i.e OutOfMemoryError, slow loading and UI unresponsiveness(flickering). To come out from these problems we can use Glide library. In this article, we will talk about Glide in brief, how glide solved the above problems and also build a simple image gallery app where all the […]

Android Glide Library Example Read More »

Android Handler with Example

In the previous article, we have talked about Thread . As we know it is possible to access UI components inside the worker thread using some of the methods like Activity.runOnUiThread(Runnable),  View.post(Runnable)  View.postDelayed(Runnable, long)  But there is one more alternative in android i.e Handler which also allows you communicate back with the UI thread from other background thread.

Android Handler with Example Read More »

Android Thread Example

In this article, we will talk about what is thread and how to create a separate worker thread in our android application to achieve asynchronous processing with a basic example. Thread Android follows a multitasking design. This allows a number of applications to run at the same time. Let’s say you are playing a song in

Android Thread Example Read More »

Getting Started with Android Application

In this article, we will talk about how to get started with the very first android application HelloWorld. So step by step we will talk about how to install Android Studio, how to create android application HelloWorld, its initial project structure and then we will talk about how to create and run your first Android

Getting Started with Android Application Read More »

Android Espresso Testing Basics

Espresso Introduction  Espresso is an open source instrumentation Testing framework made available by Google for the ease of UI Testing. It is used to automate manual test case for android application. Espresso automatically syncronizes your test actions with the ui of your application.The framework also ensures that your activity is started before the tests run.It also let

Android Espresso Testing Basics Read More »

Android Content Provider Example using SQLite Database

ContentProvider A ContentProvider provides data from one application to another, when requested. It manages access to a structured set of data. It provides mechanisms for defining data security(i.e. by enforcing read/write permissions). ContentProvider offer a standard interface that connects data in one process with code running in another process. When an application wants to access the

Android Content Provider Example using SQLite Database Read More »

Android Interview Questions

Given below is the list of most commonly asked Android Interview questions 1) What is Android? Android is an open-source, Linux-based operating system designed primarily for touchscreen mobile devices such as smartphones and tablets but now it is also used in television,watch, game consoles, digital cameras, PCs and other electronics. 2) Explain Android application components. Following is a list of components of Android application

Android Interview Questions Read More »

Android Multi-Language Supported App Example

Android is one of the most popular operating system runs on many devices in many regions and growing day by day. When you want your app to support wider audience ,it is always a good idea to make the app localized.To reach the most users, your app should handle text, audio files, numbers, currency, and graphics

Android Multi-Language Supported App Example Read More »

Android Capture Image From Camera And Gallery

In this tutorial i will demonstrate you how to capture an image from camera and pick an image from gallery and then display it in an imageView by creating a simple ImagePickerApp.     Create new project 1. Create a new project in Android Studio from File ⇒ New Project by filling the required details. When it prompts you

Android Capture Image From Camera And Gallery Read More »

Android Sliding Views Using ViewPager With PagerAdapter,FragmentPagerAdapter

In this tutorial we are going to learn about how to create swipe views in android application. We can create swipe view in android application using the ViewPager widget which is available in the support library. ViewPager is a layout widget which is capable of holding many child views and each child view represent a

Android Sliding Views Using ViewPager With PagerAdapter,FragmentPagerAdapter Read More »