Application identification utilities for Android
Here is some helper util functions to retrieve some Application identification programmatically, like name, version, play store url and other info.Read More →
Here is some helper util functions to retrieve some Application identification programmatically, like name, version, play store url and other info.Read More →
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 →
View binding is a feature that allows you to more easily write code that interacts with views. Once view binding is enabled in a module, it generates a binding class for each XML layout file present in that module.Read 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 →
In this example will be shown how to parse text file in to data objects and use the data where needed. The example is separated in two classes MainActivity and Library data transfer object (DTO) to map that line. This was the parser that was used in solving the exampleRead 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 →
This is simple example how to implement double-click on back button to exit the application. There will be a message alerting you that clicking again on back button will exit.Read 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 →
In this example we are going to cover of basics of taking picture with you camera on your android device and show it on screen after taking it.Read More →
This is the fourth part of SQLite for Android series tutorials with examples. Here you can find the first part – SQLite for Android Part 3: Show Values from Database. In this example is explained hot to update data previously inserted in to created database and table. Layout Add aRead More →