***Last updated on 11 May 2013 ***

Monday, 11 February 2013

Project Explorer Explored

What is "src" in my Project Explorer? 
As stated earlier by me in Android development we are going to deal with JAVA files and the XML files for most of the part. Every java file that you create goes in the source or "src" folder. The basic funda is that XML files will be developed to create layouts, how your app looks and then it will be embedded in the JAVA file(some how, I will tell you) to give it a proper functioning. For web developers it is just like making an html login form and then doing rest of the part through your php/C#/JSP programming.

Inside the "src" folder you can see the name "com.myfirm.myapp"
"com.myfirm.myapp" - is a package 

A package is nothing but a container of classes.
Those new to the concepts of programming think package of a folder which will store all the classes(i.e. *.JAVA files)


What is a "gen"?
Seriously speaking just don't care about this. It is a folder that contains the automatically generated files by JAVA. We use it very often(we will come to that part later). It is in the same package. BuildConfig.java : I dont know about it because I have never used it.
R.java : This is an automatically generated file. I am just telling you its use. It is used to let your graphic,sound,button elements to be read in programming. It basically sets up your resources(audio/video/images) so that we can use them in our Java files.

What is that thing "Android 2.2 and Android Dependencies"?
Well they are nothing but packages, they contain jar files. Jar files contain classes. Classes contains methods/functions which we can use to make our applications do something. For example if we are making any camera based application. Then to read the image we took we need some functions. Those will be provided to us with the help of these. We are working with Android2.2 that is why the name.
<<<<TO BE CONTINUED>>>>

No comments:

Post a Comment