Playing Audio
We can play and control the audio files in android by the help of MediaPlayer class. The android.media.MediaPlayer class is used to control the audio or video files. Methods of…
We can play and control the audio files in android by the help of MediaPlayer class. The android.media.MediaPlayer class is used to control the audio or video files. Methods of…
Buttons Android Button represents a push-button. The android.widget.Button is a subclass of TextView class and CompoundButton is the subclass of Button class. There are different types of buttons in android…
Layouts Layouts are Android’s solution to the variety of screens that come on Android devices: they can have different pixel densities, different dimensions, and different aspect ratios. Layouts are intended…
Permissions Android controls what applications are allowed to do by requiring that they ask for permission to perform critical actions. When the application is installed on a real device, the…
We create New Activity in Android Studio to create XML files for designing UI and java file coding. Below are the steps to create new Activity in Android Studio: Step…
For creating the simple example: Create the new android project Write the message (optional) Run the android application You need to follow the 3 steps mentioned above for creating the…
Android Emulator The Android emulator is an Android Virtual Device (AVD), which represents a specific Android device. We can use the Android emulator as a target device to execute and…
Android Application Structure AndroidManifest.xml: Every project in Android includes a manifest file, which is AndroidManifest.xml, stored in the root directory of its project hierarchy. The manifest file is an important…
ART Android runtime (ART) is the managed runtime used by applications and some system services on Android. ART and its predecessor Dalvik were originally created specifically for the Android project. …
Application Components Application components are the essential building blocks of an Android application. These components are loosely coupled by the application manifest file AndroidManifest.xml that describes each component of the…