Category: Android Tutorials

0

Android – Get battery level and percentage programmatically

activity_main.xml

in drawable create once xml file to percentage in style progressbar_states.xml

MainActivity.java

output

0

Runtime permissions

Welcome to android runtime permissions example. With the introduction of Android 6.0 Marshmallow, Google has changed the way permissions are handled by the app. In this tutorial we’ll look into the new android runtime...

0

Audio Record and Play

Android has a built in microphone through which you can capture audio and store it , or play it in your phone. There are many ways to do that but the most common way...

0

Custom Toast in Android

Post by:  Priyanshu Kumar Chaudhary A toast is small message displayed on the top of the content of our activity. By default, toast are displayed on the bottom of the activity.   Code for...

0

Bluetooth in Android

Among many ways, Bluetooth is a way to send or receive data between two different devices. Android platform includes support for the Bluetooth framework that allows a device to wirelessly exchange data with other...

0

Validations in Android

Validation is a process to ensure that the value entered by the user is within the accepted boundaries of the application. For example if a user enters a name then the programmer validates the edit...

0

Fragment With DataBinding

Hi Viewers now a days everyone are using Data Binding in their development so this example will how to deal Fragment with Data binding. 1. Add Data Binfing in Gradle

Then will continue...