Apr
1
2012

Learn Android Tutorial 1.7- Setting up our Splash Activity

Learn Android Tutorial 1.7- Setting up our Splash Activity Here is the link for learning more about android Activity: developer.android.com Whats upBringers, thanks for watching my videos, i would love it if you subscribe and give me some feedback. In this lesson you will: -Learn about Activities, and how add the proper layout for an Activity -Start typing some Java. -Create a new class -Learn a little about Threads, and how start creating a Thread variable This video is the 6th in a web 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.
Video Rating: 4 / 5

13 Comments+ Add Comment

  • when i do the setContentView(R.layout.main); at 5:18 the “main” part makes an error
    any solutions?

  • yea, most likely you have the import”android.R” so just delete that import and you should be good

  • Love these videos !
    Thank you very much

  • Please upload UI tutorials
    And a small game like shooting random objects
    Thanks

  • Is there an easy way to save the entire project as you go so when an error occurs in say tutorial 8, I can reload my tutorial 7 setup?

  • great videos. Haven’t done java since college. But it’s all coming back to me now. 🙂 Keep it up!

  • @mevmevmev, you can export it as zip file. Save it somewhere else and then just reload if oyu mess up

  • R cannot be resolved to a variable? i was having issues with “R.layout.main” giving an error so i deleted the import “android.R”. now i get an error that says R cannot be resolved to a variable………any Ideas as to why this may be happening?

  • Delete the import android.R

  • i delete the import android.R after showing the error on .main..but now it’s showing error on R and says cannot be resolve to a variables…plzz help..

  • @MrEoffy
    Look at the error log tab at the bottom, it probably has some red writing in it that tells you about an error… mine said “the audio file in /raw has an invalid name (a-z, 0-9)” something like that… so i right clicked it, “Refactor”, “Rename…” and changed all capital letters to lower case letters, then the error went away and it automatically fixed my “R.layout.main” error. So if you sort out that error in the error log, then it will automatically fix that error too.

  • @kkoommooll
    Look at the error log tab at the bottom, it probably has some red writing in it that tells you about an error… mine said “the audio file in /raw has an invalid name (a-z, 0-9)” something like that… so i right clicked it, “Refactor”, “Rename…” and changed all capital letters to lower case letters, then the error went away and it automatically fixed my “R.layout.main” error. So if you sort out that error in the error log, then it will automatically fix that error too.

  • Golden Rule: All class names MUST start with an Uppercase