Posts

ANDROID APPLICATION PROJECT STRUCTURE

Image
An android project consists of 3 main folders: Sample project Structure 1) manifests              2) java 3) res *** Manifests folder consists of Android Manifest file. It's a XML file and it contains some basic information about the applications like  --- Activities --- Permissions --- Orientation --- App Theme --- Services *** Java Folder consists of all the java classes. *** Res Folder contains 4 sub folders i.e  ---drawable :  we put all the images that we are using in the application here in this folder. ---layout :  It consists of the layout XML file of the activities and other layouts. ---mipmap :  It contains the icon of the application. ---values   : All the dimensions , colours , Strings , themes can be predefined here to avoid the hardcoded warning(we'll see about that later). It is good practice to predefine strings ,dimensions etc ...

BASICS OF ANDROID OS AND APPLICATIONS.

Image
INTRODUCTION Android operation system is based on Linux kernel .    Now first of all what is a kernel? ---- In easy terms it's the inner part of OS containing drivers for OS  and libraries for hardware devices. So ,basically its the heart  of an operating system.  Android OS consists of four parts: Applications : like browser, contacts, music player , gallery ,etc. Applications  Frame Work  : Api which helps in high level interaction with android system. Libraries and Runtime : They help the application to run , as straightforward  as that. For example , web browsing , rendering ,etc.  ANDROID APPLICATION MAIN BUILDING BLOCKS