First of all, I love your videos. I have two questions. What references do you suggest as I continue to try to improve my programming. Any books or certain websites?
Also, I am having a hard time understanding where all Eclipse stores file information for resources. For instance, I created a splash screen and named it splash.xcf by accident. I renamed to splash.png, but it looks as if it is still looking for the original file. Also, the resource chooser still shows files I've deleted??
Hey...at the end of lesson 5 you had mentioned trying to create an Icon for the app, kinda like our "homework"(you may show this in a later tutorial), my mind is just kinda stuck on learning how to do that
I have never taken Java before so i'm at a disadvantage here I think, but I am having an error : Multiple markers at this line - R cannot be resolved to a variable - Line breakpoint:mymain [line: 11] - onCreate(Bundle)
Any idea of what this means? Is there a quick fix to this?
Like your tutorials but I teaching Java while teaching Android sort of kills it. If you are going to try learning Android i think you should know the basics of Java at least.
what up man. After i create the new xml, my setContentView(R.layout.splash); say "splash cannot be resolved or is not a field". Could you tell me how that happen?
@haidangkieu1 what up buddy? most likely it is one of two problems. First check all the items in the "res" folder, (drawable, layout, etc) and make sure all the names are lower case. if you have a layout called "Layout1.xml" it will mess up your program, but it will fix it once you change the name to "layout1.xml" and clean the package. The other problem, which is probably the problem, is that you may be using keyboard shortcuts to add you imports automatically...
@haidangkieu1 and sometimes that will add the "import android.R" import. so scroll to the top of you java classes and check the imports, if you see "import android.R" delete it and clean the project.
@TheBaiga Hey wats up i think you should check your "myMain.java" and if you have ' import.android.R' then just delete that and save.If it dosen't do anything then check your resource file to see all content name is lower case. hope that help.
@TheBaiga Dont get frustrated. All i can say right now is that you should go back and check everything the spelling the case. Or you can message cornboy, I'm sorry im no help. I wish i can see your code and check to see what's missing, but i think the problem maybe in Manifest (android:name).
@MyRsIrl go to window >android SDK AVD manager> then click on the emulator you want to start up and click the checkbox "scale to display to real size" and you can mess around with the size there. then just have the emulator running in the background, so you don't have to let it load every time you run your app
@MyRsIrl what do you mean it doesn't load up? it takes like 3 minutes for the emulator to start up, then you just keep it running, and every time you run as an android application it will launch on that emulator, so always want to keep the emulator running if you dont want to wait for it to load every time
@MyRsIrl just get an android phone set it to debuggable and plug it into the computer it will run right on the droid if you don't know how then go to developer.android.com/guide/developing/device.html
@ekojk1242 hah, yea they slowly get a little better through out the series (not a ton), but the first 8 tutorials or so, I was sick as a dog, but definitely thanks for the tips!
The keyword "extends" means that the class myMain inherits from the class Activity. The class Activity have a function named "onCreate", so because myMain inherits from Activity we can overwrite this function in the myMain.
I want to know why we have to name the audio folder exactly 'raw' ?
iraklinho11 2 weeks ago
What are the dimensions for a wallpaper?
Hathspider 1 month ago
TravisIsAwesome. when i make a million bucks from my app watching your tutorials for free. i will be sure to contact you with gifts and joy =D
yousko 1 month ago
It goes 1 all they way to six
FavoriteFreshman 1 month ago in playlist More videos from CornboyzAndroid
First of all, I love your videos. I have two questions. What references do you suggest as I continue to try to improve my programming. Any books or certain websites?
Also, I am having a hard time understanding where all Eclipse stores file information for resources. For instance, I created a splash screen and named it splash.xcf by accident. I renamed to splash.png, but it looks as if it is still looking for the original file. Also, the resource chooser still shows files I've deleted??
dgentry138 2 months ago in playlist Android Tutorials: For Apps & Game Development
Comment removed
DarthLoI 2 months ago in playlist More videos from CornboyzAndroid
Comment removed
DarthLoI 2 months ago
"And you have to type TravisIsAwesome, or else it won't work... so make sure you do that."
MarchingBoxFive 2 months ago
Quick Question: Why did you chooses to call your sounds directory 'raw'? I would have thought to call it 'sound' or 'audio'.
FPEvideos 2 months ago
hey man umm i need help with the java text editing idk whats wrong but it dont allow me to edit any thing thats in the mymain.java what to do ?
zero0hero1 2 months ago
Comment removed
1smawley 3 months ago
Comment removed
1smawley 3 months ago
Comment removed
1smawley 3 months ago
I typed "TravisIsAwesome"
StonedRhino1990 3 months ago
where do you get your sound effects
envyhunterHD 4 months ago in playlist envyhunterHD's favorites
Watching your tutorial and it is probably the best one on the net. Thank you. Please continue with your work. This us great. Thanks
oseloth 4 months ago
hi i have an error which says, conversion to dalvik format failed with error 1, do you know how to fix that?
Olliix1 4 months ago
Comment removed
Olliix1 4 months ago
"splash screen" that thing which irritates EVERYONE when running apps, doesnt look pro at all.Just make "about" instead inside app.
bWWd0 4 months ago
"Java for Gangsters"
(C) 2011 Travis -- CornBoyz Development
aleafonthewind117 5 months ago 2
lol it's funny Travis pronounce boolean as bolen
Mrgreatestfreakout 5 months ago
what up my gangsters!!!!!! :)))))))))
OyemeLife 6 months ago
error Travis is not awsome Help :(
zuriel714 6 months ago
Hey...at the end of lesson 5 you had mentioned trying to create an Icon for the app, kinda like our "homework"(you may show this in a later tutorial), my mind is just kinda stuck on learning how to do that
MrStewdaddy 7 months ago
Travis might be awesome, but your average JACK-IN-OFFICE would complaint about how you brake the code conventions. ;-)
Great tut!
perfuzz 7 months ago
I have never taken Java before so i'm at a disadvantage here I think, but I am having an error : Multiple markers at this line - R cannot be resolved to a variable - Line breakpoint:mymain [line: 11] - onCreate(Bundle)
Any idea of what this means? Is there a quick fix to this?
kmel77083 7 months ago
Travis Is Awesome :)
n91jain 8 months ago
Respect my Gangsta! Loving these videos i hope the series doesn't stop. Thank you!
Catarouxx 8 months ago
Like your tutorials but I teaching Java while teaching Android sort of kills it. If you are going to try learning Android i think you should know the basics of Java at least.
garayBjj 8 months ago
WASSUP MA GANGSTERS :D
Thewildwolf79 9 months ago
Thank you for the perfect works!!!
pedrouan 9 months ago
Hahahaha it was funny greting
pedrouan 9 months ago
Thank U so much!! The videos are really very helpful !!
schkilitta 10 months ago
I am so grateful to you
vineetksirohi 11 months ago
I am so grateful to you
vineetksirohi 11 months ago
lol :D Travis is awesome..u have to type Travis is awesome ..or else it wont work he he :)
amitbikrath4uk 11 months ago
im getting the same R cannot be resolved error after i tried making a new xml layout
xp8ntballkid309x 11 months ago
thanks alot man. Your video really help a lot, keep up the good work.
haidangkieu1 11 months ago
what up man. After i create the new xml, my setContentView(R.layout.splash); say "splash cannot be resolved or is not a field". Could you tell me how that happen?
haidangkieu1 11 months ago 4
@haidangkieu1 what up buddy? most likely it is one of two problems. First check all the items in the "res" folder, (drawable, layout, etc) and make sure all the names are lower case. if you have a layout called "Layout1.xml" it will mess up your program, but it will fix it once you change the name to "layout1.xml" and clean the package. The other problem, which is probably the problem, is that you may be using keyboard shortcuts to add you imports automatically...
CornboyzAndroid 11 months ago
@haidangkieu1 and sometimes that will add the "import android.R" import. so scroll to the top of you java classes and check the imports, if you see "import android.R" delete it and clean the project.
Hope that helps
CornboyzAndroid 11 months ago
@haidangkieu1 i'm facing the same problem, cant seem to find out why ?
TheBaiga 9 months ago
@TheBaiga Hey wats up i think you should check your "myMain.java" and if you have ' import.android.R' then just delete that and save.If it dosen't do anything then check your resource file to see all content name is lower case. hope that help.
haidangkieu1 9 months ago
@haidangkieu1 still not working at my side :S :(
TheBaiga 9 months ago
@TheBaiga Dont get frustrated. All i can say right now is that you should go back and check everything the spelling the case. Or you can message cornboy, I'm sorry im no help. I wish i can see your code and check to see what's missing, but i think the problem maybe in Manifest (android:name).
haidangkieu1 9 months ago
@haidangkieu1 No bro, not getting frustrated, i really wanted to know how things work actually :(
TheBaiga 9 months ago
@haidangkieu1 Is there any other URL or site where i can get same kind tutorials ? can you suggest me some ?
TheBaiga 9 months ago
@TheBaiga Sorry baiga i dont know anyother URL learn android programing
haidangkieu1 9 months ago
@haidangkieu1 Thanks a lot for leading me this much far. i really appreciate your help :)
TheBaiga 9 months ago
Comment removed
wassup420blunt 11 months ago
Help! My emulator screen is too large! I can't see everything! (30-40% of the screen)
MyRsIrl 1 year ago
@MyRsIrl go to window >android SDK AVD manager> then click on the emulator you want to start up and click the checkbox "scale to display to real size" and you can mess around with the size there. then just have the emulator running in the background, so you don't have to let it load every time you run your app
CornboyzAndroid 1 year ago 3
@CornboyzAndroid It still doesn't load up, if I resize it.
MyRsIrl 1 year ago
@MyRsIrl what do you mean it doesn't load up? it takes like 3 minutes for the emulator to start up, then you just keep it running, and every time you run as an android application it will launch on that emulator, so always want to keep the emulator running if you dont want to wait for it to load every time
CornboyzAndroid 1 year ago
@CornboyzAndroid Thanks! too bad I can't sub twice.
MyRsIrl 1 year ago
This has been flagged as spam show
@CornboyzAndroid Thanks! too bad I can't subscribe twice.
MyRsIrl 1 year ago
@MyRsIrl just get an android phone set it to debuggable and plug it into the computer it will run right on the droid if you don't know how then go to developer.android.com/guide/developing/device.html
Computerwizgeek920 11 months ago
I LOLed at the "gangsta" bit...i am not even remotely close to being as cool as one... :)
HRayan 1 year ago
OMG! I just shat my pants cuz your previous videos were so boring and quiet and then in this one, .........WHUTS UP MY GANGSTAS! IM LIKE HOLLY SHIT!
ekojk1242 1 year ago
Comment removed
tvision21 1 year ago
@ekojk1242 hah, yea they slowly get a little better through out the series (not a ton), but the first 8 tutorials or so, I was sick as a dog, but definitely thanks for the tips!
CornboyzAndroid 1 year ago
THANKS gangsta!!!
TheMiTy 1 year ago
Good job Travis.
The keyword "extends" means that the class myMain inherits from the class Activity. The class Activity have a function named "onCreate", so because myMain inherits from Activity we can overwrite this function in the myMain.
2ivenhoe 1 year ago 6