[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
Android Application Development Tutorial – 33 – Creating a Method
by
Tags:
Comments
35 responses to “Android Application Development Tutorial – 33 – Creating a Method”
-
Can anyone help me please!! i got stuck in 33rd tutorial.. the syntax error on token stated below..
the error is R.id.tbPassword it said change type of tbPassword to boolean? and the syntax error on token is "case" assert expected.. please help….break;{
case R.id.tbPassword:
if (passTog.isChecked()){
input.setInputType(InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_VARIATION_PASSWORD);
}else{
input.setInputType(InputType.TYPE_CLASS_TEXT); -
Really helpful tutorials..
Thanks man for your time and effort!! -
I am having some weird errors.
its about the method we just created for the most part. -
"void" keyword does not mean its method. void there specifies the return type of the method. if return type is "void" function does not return anything FOR THE MOST PART
-
Thank you for these great tutorials 🙂
-
it would be better if you could explain stuff better. For example, why we don't need the final modifier anymore and why we needed it in the first place to begin with. It seems like your assuming no one here knows any Java so your dumbing down the explanation a lot to the point it makes no sense. Overall however, the videos are helpful.
-
I am watching this on 2014.. for the most part
-
I think it return 0 though, void
-
I think he knows that, but if you don't have a programming backround it can be really hard to explain what a method is returning
-
Captain obvious…He knows this but he doesnt mention that because it doesnt matter for the moment and cause there are totally newbies watching the tutorial he doesnt want to freak them out with all the details. It wouldnt made sense if he was able to do 200 android tutorials without knowing what void is standing for…
-
Ah, I'm incredibly sorry! I didn't read that "-.-" at the end. I thought you were one of those annoying people on YouTube. If that comment was ironic, then I agree with you completely!
-
If you didn't understand that because of my bad english(I'm italian), my previous comment was an ironic one guys!
It's obvious that Travis knows what the return types are and I think everyone who watches these Android tutorials knows about that. -
Everyone who has actually bothered to watch some programming tutorials knows this…try watch Bucky's C++ Tutorials, he explains it within the first 15 tutorials. Travis just didn't tell us because he's teaching those who don't have any programming background as well as those who do, so he doesn't want to confuse you.
-
Wrong.
-
really? is it a return type? O.O
I really think Bucky doesn't know that, thanks for your explanation -.- -
I tried to count the "for the most part"s, but I couldnt focus on the lesson. haha
-
java # javascript
-
… wut?
I have no idea what you're talking about.
I have watched pretty much all of Bucky's Java tutorials.
The only thing I know of with the name prototype is a creation pattern involving cloning.
That makes no sense, and no one pattern applies in all instances.
Wut. -
Dude! It is just so much obvious that he knows what it is.
He is saying it in such a way just because he does not wants to get into the details, you seem to understand java well, but for those who do not it would become very confusing if he gets in so much of the details. Just my 1000$ -
I am watching this on 2013 ,for the most part !!!!
-
Solved 🙂
-
getting errors:
The value of the local variable btnCmd is not used
The value of the local variable passTog is not used
The value of the local variable input is not used
The value of the local variable display is not used -
Can someone help me ? when I'm pressing textplay it shows Unfortunately, TestB has stopped. How to solve this problem ? btw before this tutorial it worked fine.
-
thats why i agree with him.. for the most part
-
he noes but he is trying to make things simple for the people who dont noe this so he is saying so
-
Wait… This feels wrong. There's no prototype!! Bucky said we should use prototypes when using java!!
-
for extra credit – look up in interwebs RoboGuice and in activity declare:
@InjectView(R.id.bResults)
Button chkCmd;and no need for clumsy method that finds all required views.
-
why it cant run on an AVD with Android4.1 ???
Please help . . -
From my experience of using methods, I have concluded that void is only a space maker/organizer that can also be used more than once. use void methods only when you'll use MULTIPLE lines of code more than once or you think your class is starting to look cluttered. 🙂
-
He actually says it – 3:07 "void, again void basically means it's just a method, and it's gonna return… well, let's be… just think that as just being a method FTMP" – so he says what it is, for someone, who isn't at all familiar with programming. That's actually his mission – hell yeah, he could talk exactly about everything, like in this huge 700 pages books, but he tries to save our time and explain in simple words the same problem, what is simillar to reducing those books to 100 pages 🙂
-
TheNewBoston / CornBoyz is THE man.
-
So why can't it be final? I know he said it, but it didn't really make sense to me.
-
He didn't even call it beconAndEggs.
-
it's funny but i already forgot what R.raw is :), i kind of abandoned this tutorial…
-
The R.raw is usually because your "raw" folder is not in the /res/ folder, at least that's how it was for me.
Leave a Reply