android

Android ConstraintLayout Animation:Part II

In the previous article, Android ConstraintLayout Animation: Part I we have talked about how to implement keyframe animation with a simple example using ConstraintLayout and ConstraintSet.We also peeked into few methods which made our animation possible. Now In this article, we’ll see another use-case and we’ll also learn how to implement other transition effects. Let’s […]

Android ConstraintLayout Animation:Part II Read More »

Android ConstraintLayout Animation:Part I

In this tutorial, we will talk about how to implement ConstraintLayout Animations in our Android Application using a simple example. ConstraintLayout Animations Animations make your app look polished, improve engagement, and are fun to build. With ConstraintLayout it’s easy to build complex animations involving several views at once and to do so, we need to

Android ConstraintLayout Animation:Part I Read More »

Android Creating Complex Layouts using ConstraintLayout

Android ConstraintLayout helps you to create large and complex layouts with a flat view hierarchy without nested view groups. This helps to create high performing layouts. Android Studio’s Layout Editor makes it really easy to define the constraints for the views. ConstraintLayout, which is now the default layout in Android Studio, gives you many ways

Android Creating Complex Layouts using ConstraintLayout Read More »

Android Getting Started With Constraint Layout

In this tutorial, you’ll learn the basics of creating Android views by using ConstraintLayout to build the UI of your application. A great Android app not only needs to have a beautiful UI but also optimized performance. Android provides various types of layouts that use different methods to contain child views and determine their positions. Layouts

Android Getting Started With Constraint Layout Read More »

Android Options Menu Example

Android Options Menu The options menu is the primary collection of menu items for an activity. It’s where you should place actions that have a global impact on the app, such as “Search” “Compose email” and “Settings.” You can declare items for the options menu from either your Activity subclass or a Fragment subclass. If both your activity and fragment(s) declare

Android Options Menu Example Read More »

Android GoogleMap Example to Draw Route Between Two Locations

In this article, we will discuss how to draw route between two locations in GoogleMap using Directions API. Directions API The Directions API is a service that calculates directions between locations using an HTTP request. With the Directions API, you can: Search for directions for several modes of transportation, including transit, driving, walking or cycling.

Android GoogleMap Example to Draw Route Between Two Locations Read More »

Android Working with GoogleMap

Android Google Map Android provides facility to integrate Google map in our application by using Maps SDK for Android API. With the Maps SDK for Android, you can add maps based on Google Maps data to your application. The API automatically handles access to Google Maps servers, data downloading, map display, and response to map

Android Working with GoogleMap Read More »

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 »