The only item of interest in this project which I would think any others would have is the music player. To use it, songs need to be added to a *yourproject*/res/raw. As of now, I know it supports mp3 and m4a. One needs to import android.media.MediaPlayer, as well as other desired imports (such as android.media.MediaPlayer.OnCompletionListener).
Besides for this, one just needs to create and init a MediaPlayer object, and then tell it start. As mentioned, listeners can be attached to listen for it to end. Others may be possible.
Assignment Listing
Everything
FLots
Assignment 1+2:
Songs need to be added, cannot share due to copyrights.
Assignment 0:
File does not exist, but text to do it is the lowest post.
FLots
Assignment 1+2:
Songs need to be added, cannot share due to copyrights.
Assignment 0:
File does not exist, but text to do it is the lowest post.
Thursday, February 5, 2009
Subscribe to:
Posts (Atom)