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
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
BTW a little shortcut with Eclipse. When you create a new activity class for Android you can type "Activity" in the Superclass field and hit Ctrl+space. It will give you android.app.Activity (+ some others), select that and it will import Activity and to the extention for you :). Thanks for the great tutorial Travis!
i havent looked beyond this video for the answer, dont want to get ahead of my self.
but on my second page, after whe hit the button, i added another button to go back to the main activity, i set the button up the exact same way kepping in mind the name changes. and it will not do anything when i hit the button. how do i fix this?
Travis. These vids are so helpful, so much more than the books on the market. And now that I've watched your videos the books make much more sense. People like you who share their knowledge like this are heroes. Many thanks and keep it up!
@jip46 I had the same problem, ran debug and found that it was the activity name causing an error.
What I did to fix this was renaming the TutorialOne java to tutorialone java by right-clicking the java go to Refactor > Rename... change it to lower case.
@mybringback / travis: I started to follow your old tutorial cause that was the one I found useful until I kept getting force closes, now I just started a new project and follow your new tutorial and I must say this one is way better!
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 4 days ago
@mybringback gettin an error "The application The BaiscSeries has stopped unexpectedly"
and asks to force close it ...Please help....
vishesh2dunks 4 days 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 1 month ago
Back and forwards, back and forwards, back and forwards. I could do this for days.
TheLowey2002 1 month 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
I GET THE SAME ERROR, force close, do you know the answer or not?, because you don't answer to nobody what happen there
falconxxx16 2 months ago
I was also getting force closes. Found out my class (.java) name didn't match what the AndroidManifest.xml has listed under activity android:name=.
edwardsirignano 4 months ago
@edwardsirignano :D i had the same crap :DD so dumb :D
Scr1393 2 months ago
@edwardsirignano YES! Thanks for that, maybe i should learn to spell correctly before I learn to program with Java!
ArevirDesign10 1 month ago
BTW a little shortcut with Eclipse. When you create a new activity class for Android you can type "Activity" in the Superclass field and hit Ctrl+space. It will give you android.app.Activity (+ some others), select that and it will import Activity and to the extention for you :). Thanks for the great tutorial Travis!
jazzninja77 4 months ago
on deck... 11...
tlmcqu80 4 months ago
Anyone else get lost around 3.43?
When I go to ID the button, the list that appears on 3.56 shows - But without the ID ?
JamesWasley 4 months ago
Comment removed
JamesWasley 4 months ago
I've studied Java OO for 2 years, and I must say that u are an excellent teacher! Really good! Keep it up!
/Sweden
vasterhaninge 6 months ago
okay great now that it stopped forclosing it wont even install on my emulater
thenaenaeshow 6 months ago
@thenaenaeshow
just right click on it and run it as a android applicatin dirrectly, also how did you fix it? :3
nerdVmuffin 5 months ago in playlist programing
still foreclosing tried to change it to 4 nd tried changing the andriod manifest any other ideas
thenaenaeshow 6 months ago
Lines in AndroidManifest.xml <action android:name and startActivity(new Intent must be same. That is the way how I solved my crash
Nele8808 6 months ago
Ya me to
sskansas 6 months ago
I keep getting a force close once I hit the button. Any ideas?
brianpotts622 7 months ago
@brianpotts622 I had the same issue I'm not sure if this will help but I changed the minSDKVersion in the manifest from 8 to 4 and it worked fine.
MacintoshBourne 6 months ago in playlist Android Development For Absolute Beginners
Comment removed
Nele8808 6 months ago
i havent looked beyond this video for the answer, dont want to get ahead of my self.
but on my second page, after whe hit the button, i added another button to go back to the main activity, i set the button up the exact same way kepping in mind the name changes. and it will not do anything when i hit the button. how do i fix this?
guitarjunky87 7 months ago
Comment removed
guitarjunky87 7 months ago
Comment removed
guitarjunky87 7 months ago
every time I try to run the app on the emulator is keeps saying that the app has stopped unexpectedly please try again. what do I do????
Thanks for all the help!!!
KperryJ 7 months ago
Travis. These vids are so helpful, so much more than the books on the market. And now that I've watched your videos the books make much more sense. People like you who share their knowledge like this are heroes. Many thanks and keep it up!
arthurmee 7 months ago
I don't get it.. If i open the app on the emulator it closes after i clicked those buttons..
I watched you're vid for like 2/3 times and did exactly the same thing...
jip46 8 months ago
@jip46 I had the same problem, ran debug and found that it was the activity name causing an error.
What I did to fix this was renaming the TutorialOne java to tutorialone java by right-clicking the java go to Refactor > Rename... change it to lower case.
@mybringback / travis: I started to follow your old tutorial cause that was the one I found useful until I kept getting force closes, now I just started a new project and follow your new tutorial and I must say this one is way better!
Kalder87 7 months ago in playlist Android Development For Absolute Beginners
thank you master :-)
gauravzerogravity 8 months ago
Thank you !
alejandrooooooo 8 months ago