Android Tutorial & Lessons 2: Setting up a Project and Explaining the Basics

Android Tutorial & Lessons 2: Setting up a Project and Explaining the Basics: Check out the forum discussion for this lesson for help: What’s up my peepz? (who says peepz anymore?) This lesson will get you up and running, and even an absolute beginner can do it. Sorry I still have that nasty cold, so please forgive my sniffing noises, my strange nasally voice, and other distractions. Please subscribe and thumbs up the video and you will be a pro in no time In this lesson you will learn: -How to set an Android Project in Eclipse -Understand the basic layout of the project, such as the folders -How to add a picture to the project that we will later use as a background This video is the 4 in aweb series that I am creating to help you learn Android programming so you can create apps and eventually how to learn to write games for android phones. I want to explain things in a way that everyone can understand, even if you have no experience with Java, XML, C, OpenGL, or as a matter of fact, any other programming language. If you do have a lot of experience with programming, these first videos will be really slow for you, but my goal is to get everyone sprinting, but for now we have learn to crawl. follow me on twitter: /cornboyz
Video Rating: 4 / 5

25 Comments+ Add Comment

  • Don’t know if anyone mentioned it before, but you don’t have to clean the project to see the changes. Basically any changes made outside of the Eclipse IDE are not reflected in the Eclipse IDE. You just need to refresh the package explorer (press F5)

  • I am getting a variable error for the source that the system created. Can anyone help? I have red Xs next to .SCR and everything below.

  • Thank you for making a tutorial where I don’t have to know java code already! You helped out a lot of people man. You should feel good about yourself.

  • just a note

    Hdpi inside put pictures of main high resolution WVGA (480 x, such as 800), FWVGA (480 x 854) – htc desire hd etc
    Mdpi inside the main put moderate resolution images, such as HVGA (320 x 480) – samsung galaxy spica etc
    Ldpi inside the main low resolution images, such as QVGA (240 x 320) – various lowend phones

  • lol

  • hw did you get to package exp ?

  • most people who watching these videos are americans and indians

  • Sorry to hear about your trouble. I’d recommend getting an android device to try your apps on. check used electronics sites like craigslist, ebay or my fav cowboom. At the time of this post they have Samsung galaxies for $100. great phone great price. good luck to you.

  • When i go to layouts and then i click on main it exists me out of eclipse completely, any ideas whats going wrong?

  • 4:34 PANDORA RADIO window in the background… check out the 2nd radio… lol

  • I can tell that based on the last video that 30k people gave up xP

  • The R.Java file didn’t show up automaticly, how do I create it? 🙂

  • At the time I am writing this, the api platform levels go from 3 to 15. Which should I do now?

  • I just started learning about Eclipse. How do I get more targets to show up. When I create a new project, only Android 4.0.3 shows up. I tried updating all the older targets (1.6 – 3.0) with SDK manager, but they still don’t show up when I create a new project. Any suggestions?

  • don’t the images get re-scaled though for the screen on the phone? Are these folders just to help in case you want clarity that is not modified by scaling?

  • yes they do. its for defining different images for different resolutions so that they aint stretched.

  • watch cornboyzAndroid’s first video on the tutorial. it has something to do with refreshing target display box. i think you have to apply the path where you extracted your android sdk.

  • so if i have basic knowledge and concepts of coding, all i need is to learn the basics of jar and .class with java, and the functions and stuff?

  • basics including knowing the different data types to including strings,vectors,etc

  • meta-inf=manifest?

  • check out “Your Stations” in the chrome tab, “se*y bi**h” hehehe 😉
    Nice tuts btw!

  • when i go to new project, i dont have any option for Android application. althou my eclipse isnt called “Java – Eclipse” like yours, its called “Java EE – Eclipse” please help me 🙂

  • Is there any way I can download all you videos in zip file? Pls send me a link. Thanks!

  • hey your video’s are great. but for some reason when i type in the url to retrieve data for the android developer(where you state to type in the adp plugin) it worked at first and opened android sdk to install software. i installed software. now when eclipse opens and opens sdk to download something it says fetching failure for the plug in url. and nothing wants to work right. please help im desperate ive tried everything.

  • if i write something for 2.2, will it run on the higher level api’s aswel?