Learn Android Tutorial 1.10- Introduction to the Button

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
8,492
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 24, 2011

Learn Android Tutorial 1.10- Introduction to the Button

In this lesson you will:
-Create a new layout called tutorial1.xml
-Create a new class called tutorialOne.java
-Introduction to the defining and using the button to start a new activity
-Maybe understand a little be more about the Activity cycle?!?!?
-set up our new Intent in the android manifest
-Thumbs up this video ;)

This video is the 10th 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.

follow me on twitter: mybringback
www.mybringback.com

  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (34)

Sign In or Sign Up now to post a comment!
  • findViewById( I can't get the R.id to come up, with R my only options are:layout, raw, class, attr, drawable, string, and this... I do NOT have android.R imported...

    What's wrong??

  • Hey guys..just figured out the error...what mistake we all are doing is probably that in startActivity function we all have been passing the wrong parameters ie. com.mybringback.thebasics.Tuto­rials1 wheres it SHOULD BE com.mybringback.thebasics.TUTO­RIAL1

  • @mybringback gettin an error "The application The BaiscSeries has stopped unexpectedly"

    and asks to force close it ...Please help....

  • Iv'e been having the same problem other people have been having, all i did to fix it was exam my code, i found some problems fixed them and it worked. ;) make sure all of your java and xml stuff is capitalized correctly and spelled the same, and check to make sure you dont have any spelling errors

  • Hi guys if anyone is still having trouble with the force close issue, I have managed to get mine to work by commenting out logoMusic.release() in the onPause class as below

    @Override protected void onPause() { // TODO Auto-generated method stub super.onPause();

    // logoMusic.release(); } im not sure what implications this may have in the future but at least I can continue with the other tutorials

    great tutorials Travis

  • Back and forwards, back and forwards, back and forwards. I could do this for days.

  • @edwardsirignano YES! Thanks for that, maybe i should learn to spell correctly before I learn to program with Java!

  • an error message (forcs close) appears when i run my application

  • My application just crashes after the "splash" screen. It never gets to the buttons. It all worked well before this tutorial.

    Help?

  • @edwardsirignano :D i had the same crap :DD so dumb :D

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more