Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (81)

Sign In or Sign Up now to post a comment!
  • Everytime I try to run it I get an Unexpected Error and then it Force Close. HELP!!

  • Such a helpful tutorial - I'M LOVING IT !)

  • I don't have a raw folder please answer me on my email : sofyluvsmiley@ gmail . Com

  • @sophiekattantv go to your workspace folder in your documents or something, then go to the project you are working on, and there you make a folder called raw :)

  • @sophiekattantv oh, i forgot something. When you are in your project folder, you need to get into the res folder and make a folder called raw there :)

  • How did he create the sound and add it to the file raw ?

  • i cant find my raw folder

  • @EwenSuper it's an optional folder, you have to create it by yourself and put your sound files in it

  • I should be asleep!!!

  • Comment removed

  • If your wondering why the Splash Acticity only runs once ots because ur phone or emulator is still running the application...what u need to do is press the home Button in the Emulator, then press Menu and Go To Settings, click on Applications, then Manage Applications, Click on "The New Boston" or whatever your app is called and Click the Button " Force Stop"....ur app should now fully close and ur Splash Screen will now open on App Start Up :)

  • RAR folder

  • For the most part :)

  • Song doesnt play :(

    stuck

  • why does he always say "for the most part" its kind of annoying, but the tutorials are still good.

  • rawr....

  • Even Late you the best man! Thank You!

  • Even though it was a late night, the had tut more content in this one enjoyed!

  • Your grandma is attention seeking!!

  • Grandma Joke Classic !!!!!

  • mine runs great on my phone but the splash only plays one time. a day later if i run it it skips right to main. how can i "reset" the splash on close ?

  • Man you are awesome :)

    Cheers from India :):)

  • @anyone!!! Please help me the virtual thingy won't play my splash activity help please reply!!!!!

  • "Unfortunately, The new Boston has Stopped."

    please help???@@@

    Thank you sooo much

  • New Drinking Game: Every time Travis says "For the Most Part" take a swig... greatest way to get wasted and learn Android (:

  • @LittleLukeh dam it, I got wasted!

  • Not adding sound...

  • Great tutorial, but what is with your pronunciation of 'raw'?

  • Comment removed

  • I now have a *sound* understanding of the concept!

  • why not use:

    try{ sleep(splashSang.getDuration()­);

    ?? :)

  • @JohnKSve

    because if sound has 1 minute duration some ppl dont wanna wait till it ends

  • I think Grandma is name of a pet dog

  • Adding "= new MediaPlayer();" after "MediaPlayer ourSong;" seemed to make the sound work for me!

  • "Grandma put your clothes back on" - Hahahaha!

  • For anyone who cannot get the sound working on the emulator (no matter what application you are running)

    1.check your windows volume settings for emulator

    2. go into your emulator and go to settings and turn all your volumes up

    3. for newer versions of SDK, sound does NOT work if "snapshot" was enabled when creating the adb (don't know why, but me and a bunch of other people using sdk with windows had this problem)....to fix this...you have to create a NEW emulator with no snapshot

  • @CleverSage0 Thaanks!!! no. 3 was the case !!!!

  • raw != rar

  • Cant get the sound working. How done exactly the same as in the tutorial, but still no sound. Thinking it might be the emulator. Anyone got any ideas?

  • So funny. xD

  • lol this guy is such a dork but in a really funny way aka DONTCHANGE

  • Setup everything exact the same as tutorial, have mp3 file in raw folder under res, but MediaPlayer is not working. Why?

  • dont use the emulator use your android phone in debugging mode, its the REAL emulator!

  • for the most part

  • When I run it, I get an error: Sorry! the application has stopped unexpectedly, please try again: force close. Any ideas? Do I need to enable sound for my emulator?

  • @tonymuilenburg I had the same problem when I did it this morning, but when I did it all over again it worked just fine. So I dont know what happened, I typed everything just like he did though..

  • @tonymuilenburg I had that problem, I added audio support - still crashed, tried a different mp3 and it was ok. I'm sure adding audio support helps though.

  • Anybody, THREE questions. 1) Why does he put the ourSong release method under OnPause, and not onfinish? Wouldn't it make sense to do it after the activity is complete? 2) Does it matter if you do the mediaplayer after the "threadtimer" paragraph? 3) Why does he type it "onSong" and not "Onsong" or "OnSong"?

  • @PancakePlease As for the first question, he stated in one of the previous tutorials that you can code everything you want from activity to do when it needs to finish in the onPause method too. So, in this case, there is no onFinish method so he used it there, but your logic seems OK and if that was the case, that you have onFinish method and the nature of this activity is not splash screen (it basically needs no pause, it's splash and done), you could use it that way.

  • @PancakePlease 2) It is basically irrelevant if you put it before of after the "threadtime" paragraph, but it is important that you put those two oursong lines before the "timer.start();" line. If you start the timer, the timer would end and song wouldn't be played as at the end of the timer you have a call for opening new activity. If this is wrong, someone please correct me, as I am not 100% sure whether the song will play "during" the timer method. 3) A common practice for naming variables

  • Cool tutorials man, but you should see therapist for your grandma problem :D

  • Why did Travis do all the work to make these videos, just to give all the views to Bucky's account? Why didn't Bucky just say "Head on over to MyBringBack's channel for 200 Android tutorials" ?

  • I couldn't access the raw folder, need help?

  • @merezk Make sure you created the raw folder inside the res folder and not the root folder

  • @RELDude legend!

  • Does the sound file have to be .mp3 or can it be something else like .wma?

  • Grandma, put your clothes back on!!!

  • You so funny! :D

  • I made it loop using the setLooping() method before starting it, then instead of release i lowered the volume using the setVolume() method. Awesome!

  • hahahaha...... granny is naughty.........

  • Comment removed

  • hey men what program are u using to make sounds for apps?

  • @McLizze I used the Hydrogen drumkit. Not sure if you can get it on platforms other than Linux, though.

  • @justinrixx np, i can make virtual machine and run linux on it thx

  • thought you have to use mPlayer.prepare();

  • for the most part

  • I didn't hear any sound at all!!

  • Congratulations to you Bucky on 2000! Wish you all the best!

  • just wondering why does it have to be lower case?

  • @pchelper102 most coding is case sensitive

  • Your grandma is really awesome ;]

  • 2000!!!!!!!!! Wheop!!!!!!!!!

  • and this video made the 2000 videos uploaded mark :)

  • whoooooooooooop

  • weop

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