• user warning: Table './avideotutorial/votingapi_vote' is marked as crashed and last (automatic?) repair failed query: SELECT * FROM votingapi_vote v WHERE 1 = 1 AND v.content_type = 'node' AND v.content_id = 454 AND v.tag = 'upndown' AND v.uid = 0 AND v.vote_source = '3.145.76.196' AND v.timestamp >= 1734794339 in /data/avideotutorial/sites/all/modules/votingapi/votingapi.module on line 557.
  • user warning: Table './avideotutorial/votingapi_vote' is marked as crashed and last (automatic?) repair failed query: SELECT * FROM votingapi_vote v WHERE 1 = 1 AND v.content_type = 'node' AND v.content_id = 454 AND v.tag = 'upndown' AND v.uid = 0 AND v.vote_source = '3.145.76.196' AND v.timestamp >= 1734794339 in /data/avideotutorial/sites/all/modules/votingapi/votingapi.module on line 557.

Android Development Tutorials 9: Adding sound with MediaPlayer


Android Tutorial & Lessons 9: Adding sound with MediaPlayer:

Here is the link for learning more about android Activity: http://developer.android.com/reference/android/app/Activity.html

Whats up CornFanz, thanks for watching my videos, I would love it if you subscribe and give me some feedback.

In this lesson you will:
-Add some sound to our Splash Screen in our myMain class
-Learn about the start, pause, & release methods from the MediaPlayer class
-Get a better understanding of why we added the onDestroy, onResume, & onPause methods.
-Understand the differences between setting up a local variable & a variable that can be use by the whole class

Next we will be learning about the how to use the buttons to actually do something, YAY!

This video is the 9th 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: @cornboyz


See video

video list

Comments

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options