learn about android resources



Learning About Emulator, Android Manifest, R.java & Resources with Android training Chandigarh


Android training in chandigarh


Firstly we will discuss about Android Emulator with Android training Chandigarh


Android Emulator


In Android, there is one virtual device which is used to test,debug and run android applications.It is known as Emulator.
  • If you don't have a real device, it can be the best way to run, debug and test application.  
  • It uses an open source processor emulator technology called QEMU.

QEMU is a generic and open source machine emulator and virtualizer.
It is also known as AVD i.e Android Virtual Device.
To run AVD on your PC, you have to enable VT i.e Virtualization Technologies in BIOS settings.




Android Studio

Software which is used to develop an android application is Android Studio.It provides fastest tools to develop android apps.
  • It is released on May 16, 2013.
  • The latest version of an android studio is 2.3.2.

Requirements:

  • Window 7/8/10 (32 bits/64 bits)
  • 3 GB RAM minimum, 8 GB RAM recommended; plus 1 GB for the Android Emulator
  • Java Development Kit (JDK) 8


Android Manifest File

Android Manifest is a file which contains whole information of your application including activities, services, a broadcast receiver, content provider etc.
  • It is responsible for protecting the application to access any secured parts by giving the permissions.

Elements of the AndroidManifest.xml file: These are the elements which is taught by android training Chandigarh.


<manifest>
It is the root element of the Android Manifest.xml. It describes the package name of the activity.

<application>
It is the subelement of the manifest.It contains icon, name, label, theme etc.

<intent-filter>
Intent filter tells the behavior of the intent to which activity, services respond to.

<category>
It adds a category name to an intent-filter.


R.java


  • It is auto generated file by aapt (Android Asset Packaging Tool).
  • It contains resource IDs for all the resources of res/directory.
  • If any case R.java file deleted than android automatically create this file.

Resources

There are so many items which we use to build a good Android Application.With the coding part of an application, we also take care of various resources like colors, strings, images etc.

Different types of resources:

  • anim/
  • color/
  • drawable/
  • layout/
  • menu/
  • raw/

  • anim/:

This xml handles the animation properties.

  • color/:

This xml handle colors which we used in an application.

  • drawable/:

This directory contains images of all formats.

  • menu/:

This xml defines menu in the application.

  • layout/:

This directory contains design file of the application.

  • raw/:

This directory contains audio-video files.


android training Chandigarh











CBitss provides you Android training Chandigarh in effective manner :


Android mobile application development is extremely in demand. At CBitss, we believe Training is Success in Progress. CBitss Technologies provides the Android Training Chandigarh.where the students polished their art of coding. Later, the students learned how to face the interview panel as here we provide Android training Chandigarh like a corporate training which student required in their job.











0 comments:

Post a Comment

Note: only a member of this blog may post a comment.