How to create cpa tutorials www.cpa-tutorials.com

Android Tutorial & Lessons 3: Start learning XML to create custom layouts

Posted on

Android Tutorial & Lessons 3: Start learning XML to create custom layouts:Check out the discussion forum for this lesson: www.cornboyz.com 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. Please subscribe and thumbs up the video and you will be a pro in no time In this lesson you will learn: -Fix the error within the project -clean project -start the Android emulator -Start learning XML to create layouts (learn the TextView coding) -Learn about referencing strings in resources folder This video is the 3 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 applications. 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

Comments (25) Trackbacks (0)
  1. It doesnt let me start the project: cant start because of errors in my project (i didnt change anything to the original/basic/standart code!!!) when i look at the error it says, it cant find the source jar or zip file -> i give him the path to android.jar but the error doesnt vanish…what should i do?
    “The source attachment does not contain the source for the file Activity.class. You can change the source attachment by clicking the Change Atteched Source below:”

  2. It doesnt let me start the project: cant start because of errors in my project (i didnt change anything to the original/basic/standart code!!!) when i look at the error it says, it cant find the source jar or zip file -> i give him the path to android.jar but the error doesnt vanish…what should i do?

    “The source attachment does not contain the source for the file Activity.class. You can change the source attachment by clicking the Change Atteched Source below:”

  3. where is your lesson no 2?

  4. When i try to run it as an Android application it comes an error :
    “Your project contains an error(s), please fix them before running your application.”

    But if i scroll down on the problems bar i only can see the error ”
    Error generating final archive: Debug Certificate expired”

    I don’t know how to fix it ?

  5. In “main.xml” tab i have “design” where you have “Graphical Layout”, how do I get mine to say Graphical Layout?

    Also when I write a new line of stuff and hit save then look in the Android emulator it doesn’t show up?

  6. I’m trying to copy the text and paste it to duplicate the “Text view” content so I can build up my page with text lines just like you did in min 3:50, but I can’t make it to copy it …any suggestion anyone>?

  7. TutorialTube(.)net Learn to make android games easy and free!

  8. Si tu veux faire un cours va te moucher avant :-)

  9. why i have not the Andrion Project selection when i click to new?

  10. I have a problem with the tutorial, in android:text=”@string/hello” is error, it’s says Error: No resource found that matches the given name (at ‘text’ with value ‘@string/hello’). main.xml /Baasic/res/layout line 5 Android AAPT Problem…. I check everything, but it’s still there…. Help me please

  11. very clear tutorial thanks :D

  12. It is nothing in my gen[Generated Java Files] )= help me…..

  13. the main.xml file in the layout folder is empty when I open it.
    It gives me the following message:
    No XML content. Please add a root view or layout to your document.
    Can you please help me to solve it? thank you

  14. @ilovemyung sorry where do i need to enter this? im kinda new with eclipse

  15. @ilovemyung if u have this problem too, put this in the path C:PROGRA~2Androidandroid-sdk

  16. @mako06arcy can you please tell me what was your error for this:
    [2011-07-15 21:59:01 - Emulator] invalid command-line parameter: files.

    [2011-07-15 21:59:01 - Emulator] Hint: use ‘@foo’ to launch a virtual device named ‘foo’.

    [2011-07-15 21:59:01 - Emulator] please use -help for more information

    please its urgent

  17. @Robbinski14 im using x64-Windows and i have this problem.. :/

  18. i have this problem when i try to run it as AndroidApplication at 1:03 , help!!
    =)
    [2011-09-06 21:32:47 - Emulator] invalid command-line parameter: Files.
    [2011-09-06 21:32:47 - Emulator] Hint: use ‘@foo’ to launch a virtual device named ‘foo’.
    [2011-09-06 21:32:47 - Emulator] please use -help for more information

  19. HOLY SHIT!! You are my hero!! Great tutorial dude!!!!

  20. Thanks men..

  21. invalid command-line parameter: and.what to do?

  22. This video is a response to Diddy – Dirty Money – Coming Home ft. Skylar Grey??? WTF

  23. @pocho31 U mean edu4java??that guy is lol

  24. I just put the android-sdk-windows in the wrong folder, it should be in your main drive, mine’s C:

  25. @auki110 you’ve probably got a space in your sdk location. Try using C:PROGRA~1 instead of C:Program Files or C:PROGRA~2 if you’re running x64-Windows and your SDK is in C:Program Files (x86). Of course this works for other folders, such as C:Documents and Settings (C:DOCUME~1)


Trackbacks are disabled.