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
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??
TheSything 5 days ago
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.Tutorials1 wheres it SHOULD BE com.mybringback.thebasics.TUTORIAL1
vishesh2dunks 2 weeks ago
@mybringback gettin an error "The application The BaiscSeries has stopped unexpectedly"
and asks to force close it ...Please help....
vishesh2dunks 2 weeks ago
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
PerfectorZY 1 month ago in playlist More videos from mybringback
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
barkoder 2 months ago
Back and forwards, back and forwards, back and forwards. I could do this for days.
TheLowey2002 2 months ago
@edwardsirignano YES! Thanks for that, maybe i should learn to spell correctly before I learn to program with Java!
ArevirDesign10 2 months ago
an error message (forcs close) appears when i run my application
AHXAL 2 months ago
My application just crashes after the "splash" screen. It never gets to the buttons. It all worked well before this tutorial.
Help?
Whatwid 2 months ago
@edwardsirignano :D i had the same crap :DD so dumb :D
Scr1393 2 months ago