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 Runtime Permissions with Dexter

Android Marshmallow includes a new functionality to let users grant or deny permissions when running an app instead of granting them all when installing it. This approach gives the user more control over applications but requires developers to add lots of code just to get a single permission. In this article, we will talk about

Android Runtime Permissions with Dexter Read More »

Android Get Current Location Using Fused Location Provider

In this article, we will talk about what a fused location provider is and how to use it to get the current location using a sample Android application. We need not explicitly choose either GPS provider or Network location provider, as the “Fused Location Provider” automatically chooses the underlying technology and gives the best location

Android Get Current Location Using Fused Location Provider 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 ViewPager with Mediaplayer

In the previous article, we have talked about ViewPager to create swipe views in Android application in greater detail. In this article, we will talk about how to add buttons in different pages of viewPager, how to play and stop song on button click using MediaPlayer and also how to work with Mediaplayer on page scrolled.

Android ViewPager with Mediaplayer Read More »

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 SSH

In this article, we will talk about what is SSH, how it works. We will also talk about when we use SSH and the different encryption techniques used in SSH in detail. SSH Introduction SSH  or secured shell is a protocol. Now, what does it mean? You may have heard about other protocols like HTTP,

Getting started with SSH Read More »