Pages

Monday, August 13, 2012

Directory Structure of Android Project in Eclipse...

Every single project in Eclipse has some predefined directory structure which Eclipse creates on behalf of us. Android project has also its directory structure which may different in different version of Eclipse. The structure explain here is from Eclipse JUNO which is latest one.


Above is the structural view of any Android project in Eclipse. I'll explain each one by one.

1) SRC : SRC is a folder where main source code of your project exists. All your packages and class files reside in this folder.

2) GEN : GEN is a folder where R.java file resides. All the resources in your project like images, strings, sounds, videos you can access in your source code or java file using R.java.

3) Android 2.2 : Its is a folder where jar file for the particular version of android exist.

4) RES : In this folder all the resources located. All strings, images, values etc.

5) DRAWABLE : In this folder all your images required in the project stored. It has four different folder for different resolution display. Drawable-hdpi is for High Density Pixel displays, Drawable-mdpi is for Medium Density Pixel displays and so on.

6) LAYOUT : This folder holds all XML file for your all activities. There are individual XML file for each activity. You can drag and drop controls on the layout, change properties of controls. Ultimately this is your design hub for your Android project.

7) VALUES : This folder holds some XML files for other resources like string, color etc. 

8) AndroidManifest.xml : This is the main configuration file of any Android project. All the activities, filters, services must inform AndroidManifest.xml file. This file has all the information of your project and your application.

Thats is. This is all you need know to understand any Android project.
          

62 comments:

  1. Nice post!! thanks Sharad… Even this website http://www.compiletimeerror.com/2013/01/directorystructure-of-android-project.html also addresses something similar.. Have a look, may be useful…

    ReplyDelete
    Replies
    1. Thank you for the information Mayaa. Its very useful. Site has much more then this article.

      Delete
  2. It is really a great work and the way in which u r sharing the knowledge is excellent.Thanks for helping me to understand basic concepts. As a beginner in android programming your post help me a lot.Thanks for your informative article. Android Training in chennai | Android Training institute in chennai

    ReplyDelete
  3. Nice information about Directory Structure of Android Project in Eclipse My sincere thanks for sharing post Please Continue to share this post
    Android Training in Chennai

    ReplyDelete
  4. nice blog has been shared by you. it will be really helpful to many peoples. so keep on sharing such kind of an interesting blogs.
    android training in chennai

    ReplyDelete
  5. You made some good points there. I did a search on the topic and found most people will agree with your blog....Android Training in Bangalore

    ReplyDelete
  6. The blog gave me idea about android studio project structure my sincere thanks for sharing this post and please continue to share this kind post


    Android Training in Chennai

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us
    python training in chennai | python training in bangalore

    python online training | python training in pune

    python training in chennai | python training in bangalore

    python training in tambaram | python training in velachery

    ReplyDelete
  10. After seeing your article I want to say that the presentation is very good and also a well-written article with some very good information which is very useful for the readers....thanks for sharing it and do share more posts like this.
    java training in chennai | java training in bangalore

    java online training | java training in pune

    java training in chennai | java training in bangalore

    java training in tambaram | java training in velachery

    ReplyDelete
  11. This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.

    selenium training in chennai
    aws training in chennai

    ReplyDelete
  12. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.

    java training in chennai | java training in bangalore

    java online training | java training in pune

    ReplyDelete
  13. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.


    rpa training in Chennai | rpa training in velachery

    rpa training in tambaram | rpa training in sholinganallur

    rpa training in Chennai | rpa training in pune

    rpa online training | rpa training in bangalore

    ReplyDelete
  14. This is such a good post. One of the best posts that I\'ve read in my whole life. I am so happy that you chose this day to give me this. Please, continue to give me such valuable posts. Cheers!
    python training in velachery
    python training institute in chennai

    ReplyDelete
  15. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    python online training
    python training in OMR
    python training institute in chennai

    ReplyDelete
  16. Great post! I am actually getting ready to across this information, It’s very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.
    Devops Training in pune

    ReplyDelete
  17. Hmm, it seems like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well as an aspiring blog writer, but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d appreciate it.
    Best Selenium Training in Chennai | Selenium Training Institute in Chennai | Besant Technologies

    Selenium Training in Bangalore | Best Selenium Training in Bangalore

    ReplyDelete
  18. This comment has been removed by the author.

    ReplyDelete
  19. Nice Article,Great experience for me by reading this info.
    thanks for sharing the information with us.keep updating your ideas.
    best german coaching classes in bangalore
    German Course in Anna Nagar
    German Certification Training in T nagar

    ReplyDelete
  20. Whatever we gathered information from the blogs, we should implement that in practically then only we can understand that exact thing clearly, but it’s no need to do it, because you have explained the concepts very well. It was crystal clear, keep sharing..
    Best digital marketing course in chennai
    Digital marketing course chennai
    Digital Marketing Training Institutes in Chennai
    Digital Marketing Chennai
    Digital Marketing Courses in Chennai
    Digital marketing courses

    ReplyDelete
  21. I’m enjoying the information. I’m bookmarking and will be tweeting this to my followers! Wonderful blog and amazing design and style.
    safety course institute in chennai

    ReplyDelete
  22. I am happy to find this post Very useful for me, as it contains lot of information

    sustainable-hyderabad
    Technology

    ReplyDelete
  23. Nice post. By reading your blog, i get inspired and this provides some useful information. Thank you for posting this exclusive post for our vision. 
    devops online training

    aws online training

    data science with python online training

    data science online training

    rpa online training

    ReplyDelete
  24. I appreciate your efforts because it conveys the message of what you are trying to say. It's a great skill to make even the person who doesn't know about the subject could able to understand the subject . Your blogs are understandable and also elaborately described. I hope to read more and more interesting articles from your blog. All the best.
    Microsoft Azure online training
    Selenium online training
    Java online training
    uipath online training
    Python online training


    ReplyDelete
  25. I learned World's Trending Technology from certified experts for free of cost. I Got a job in decent Top MNC Company with handsome 14 LPA salary, I have learned the World's Trending Technology from Big data training in btm experts who know advanced concepts which can help to solve any type of Real-time issues in the field of Big data. Really worth trying

    ReplyDelete
  26. I learned World's Trending Technology from certified experts for free of cost. I Got a job in decent Top MNC Company with handsome 14 LPA salary, I have learned the World's Trending Technology from Data science training in btm layout experts who know advanced concepts which can help to solve any type of Real-time issues in the field of Python. Really worth trying hkbk group of institutions

    ReplyDelete
  27. very informative blog and useful article thank you for sharing with us , keep posting learn more Technology
    Android Training

    ReplyDelete
  28. Great Article. Thank you for sharing! Really an awesome post for every one.

    IEEE Final Year projects Project Centers in Chennai are consistently sought after. Final Year Students Projects take a shot at them to improve their aptitudes, while specialists like the enjoyment in interfering with innovation. For experts, it's an alternate ball game through and through. Smaller than expected IEEE Final Year project centers ground for all fragments of CSE & IT engineers hoping to assemble. Final Year Project Domains for IT It gives you tips and rules that is progressively critical to consider while choosing any final year project point.

    JavaScript Training in Chennai

    JavaScript Training in Chennai


    ReplyDelete
  29. This information you provided in the blog that is really unique I love it!!
    Android Training in Delhi
    Android Training institute in Delhi

    ReplyDelete
  30. If Big Data is a job that you're dreaming of, then we, Infycle are with you to make your dream into reality. Infycle Technologies offers the best Big Data Course Chennai, with various levels of highly demanded software courses such as Java, Python, Hadoop, AWS, etc., in 100% hands-on practical training with specialized tutors in the field. Along with that, the pre-interviews will be given for the candidates, so that, they can face the interviews with complete knowledge. To know more, dial 7502633633 for more. Big Data Training in Chennai

    ReplyDelete
  31. If Big Data is a job that you're dreaming of, then we, Infycle are with you to make your dream into reality. Infycle Technologies offers the best Big Data Hadoop Training in Chennai, with various levels of highly demanded software courses such as Oracle, Java, Python, Hadoop, AWS, etc., in complete practical training with hands-on coaching by specialized tutors in the field. Along with that, the pre-interviews will be given for the candidates, so that, they can face the interviews with complete knowledge. Call 7502633633 for more info.

    https://infycletechnologies.com/big-data-training-in-chennai/

    ReplyDelete
  32. Grab the Digital Marketing Training in Chennai from Infycle Technologies, the best software training institute, and Placement center in Chennai which is providing professional software courses such as Data Science, Artificial Intelligence, Cyber Security, Big Data, Java, Hadoop, Selenium, Android, and iOS Development, DevOps, Oracle etc with 100% hands-on practical training. Dial 7502633633 to get more info and a free demo and to grab the certification for having a peak rise in your career.

    ReplyDelete
  33. If salary is your only income means. Simply think to make it HIGH by getting into AWS training institute in Chennai, Infycle. It will be so easier for you because, past 15 years software industry Infycle leads a 1 place for giving a best students in IT industry.

    ReplyDelete