android

Android Get current and Nearby Places Using Places SDK

The Google Play Services version of the Places SDK for Android (i.e. com.google.android.gms:play-services-places) is turned off on July 29, 2019. Now a new version of the Places SDK for Android is available which depends on AndroidX. In this article, we will talk about how to get current and nearby places of user’s device using a new Google […]

Android Get current and Nearby Places Using Places SDK Read More »

Android Working with Runtime Permission

Every Android application is started in its own process thus are isolated from all other applications (even from system/default applications). As a result, an Android application can’t access any file or data outside its scope until and unless the file or data is shared with the application. So, the conclusion is that if an application

Android Working with Runtime Permission 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 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 »