Extended floating action buttons are used for a special type of promoted action. They are distinguished by an icon and a text floating above the UI and have special motion behaviors related to morphing, launching, and the transferring anchor point. Extended floating action buttons may have icon and text, butRead More →

This post explains how to stop other application that plays music in background (Media player, Spotify, Deezer,…) and play audio from your app. Also, the second part explains how, when your audio stop playing, to release audio focus from your app and the audio apps in background to continue fromRead More →

Image to Base64 String example In this example, we will be learning how to implement conversion from image to Base64 String image. In the previous post, we have covered the case when we needed to convert Base64 String to Image. In short, we are going to take one image fromRead More →

Exit Dialog for Android Application   This is an example of implementing simple Exit Dialog with two options, YES, and NO. The code is simple and straight forward. All you need to do is to override onBackPressed() in your activity and add a simple AlertDialog (you can find tutorial aboutRead More →