Tag: Android

In this tutorial explain that how to play video in android. Taking a video(3gp) file inside application raw folder and playing in on activity. The file structure is given as below:  AndroidVideoPlayer.java Create a file in src as androidvideoplayer.java and Read more…

Android layout is a class that handles arranging the way its children appear on the screen.  Anything that is a View can be a child of a layout. All of the layouts inherit from ViewGroup so you can nest layouts.  Read more…

Following are the important attributes related to ToggleButton control. You can check Android official documentation for complete list of attributes and related methods which you can use to change these attributes are run time. Attribute Description android:disabledAlpha This is the Read more…

You are able to create Custom Toast in Android. So, you can display some images like congratulations or loss on the toast. It means you are able to customize the toast now. activity_main.xml Drag the component that you want to Read more…

Android Button Example represents a push-button. The android.widget.Button is subclass of TextView class and CompoundButton is the subclass of Button class. There are different types of buttons in android such as RadioButton, ToggleButton, CompoundButton etc. Here, we are going to create Read more…

Android R.java is an auto-generated file by aapt (Android Asset Packaging Tool) that contains resource IDs for all the resources of res/ directory. If you create any component in the activity_main.xml file, id for the corresponding component is automatically created Read more…

The AndroidManifest.xml file contains information of your package, including components of the application such as activities, services, broadcast receivers, content providers etc. It performs some other tasks also: It is responsible to protect the application to access any protected parts Read more…

Android Emulator Below point will help you to know the Android Emulator Emulator is used to run, debug and test the android application. If you don’t have the real device, it can be the best way to run, debug and test Read more…

Android Architecture or Android software stack is categorized into five parts: linux kernel native libraries (middleware), Android Runtime Application Framework Applications Let’s see the android architecture first. 1) Linux kernel It is the heart of android architecture that exists at Read more…

The History of Android and versions of android are interesting to know. The code names of android ranges from A to J currently, such asAestro, Blender, Cupcake, Donut, Eclair, Froyo, Gingerbread, Honeycomb, Ice Cream Sandwitch, Jelly Bean, KitKatand Lollipop. Let’s understand Read more…

Facebook