MP3ÒôÀÖ²¥·ÅÆ÷ÂÛÎÄ

ÇൺÀí¹¤´óѧ±ÏÒµÂÛÎÄ£¨Éè¼Æ£©

ÕªÒª

µ±½ñÉç»áÕý´¦ÓÚÒ»¸ö·ÉËÙ·¢Õ¹µÄʱ´ú£¬Òƶ¯ÐÅÏ¢¼¼Êõ·¢Õ¹ËÙ¶ÈÓÈΪͻ³ö£¬ÖÇÄÜÊÖ»úµÄÓ¦ÓøüÊÇÉîÈëµ½ÎÒÃÇÿһ¸öÈËÉú»îÖУ¬½²µ½ÕâÀï¾Í²»µÃ²»Ìáµ½Èç½ñ×îΪÖËÊÖ¿ÉÈȵÄÖÇÄÜÊÖ»ú²Ù×÷ϵͳ¡ª¡ª°²×¿£¬ËüÒÑÔÚÖÇÄÜÊÖ»úÊг¡Õ¼¾ÝÁ˰ë±Ú½­É½¡£

ÏÖ½ñÉç»áÉú»î½ôÕÅ£¬¶øÐÀÉÍÒôÀÖÊ·ÆäÖÐ×îºÃµÄÊæ»ºÑ¹Á¦µÄ·½Ê½Ö®Ò»£¬±¾ÏîÄ¿µÄÄ¿µÄÊÇ¿ª·¢Ò»¸ö¿ÉÒÔ²¥·ÅÖ÷Á÷ÒôÀÖÎļþ¸ñʽµÄ²¥·ÅÆ÷£¬±¾ÂÛÎĵÄÒôÀÖ²¥·ÅÆ÷²ÉÓÃÁËAndroid¿ªÔ´ÏµÍ³¼¼Êõ£¬ÀûÓÃJavaÓïÑÔºÍEclipse¿ª·¢¹¤¾ß¶Ô²¥·ÅÆ÷´úÂë½øÐбàд¡£ÒÔÏÂÕýÎÄÖиø³öÁËÏêϸÉè¼Æ¹ý³Ì¡¢²¿·Ö½çÃæ½ØÍ¼¼°Ö÷ÒªµÄÀàͼ£¬±¾ÎÄ»¹¶Ô¿ª·¢¹ý³ÌÖÐÓöµ½µÄÎÊÌâºÍ½â¾ö·½·¨½øÐÐÁËÏêϸµÄÌÖÂÛ£¬¸ÃÒôÀÖ²¥·ÅÆ÷Ö÷Òª¹¦ÄÜÊDz¥·ÅMP3µÈÒôÀÖÎļþ£¬²¢ÇÒÄܹ»¿ØÖƲ¥·ÅÆ÷²¥·Å£¬ÔÝÍ££¬Í£Ö¹£¬ÉÏÒ»Çú£¬ÏÂÒ»Çú£¬ÐÔÄÜÁ¼ºÃ£¬ÔÚAndroidϵͳÖÐÄܶÀÁ¢ÔËÐС£¶ÔÓÚ²¥·Å¸èÇúµÄÎļþ£¬±¾²¥·ÅÆ÷Ö»ÏÞÓÚÓ¦Óòã³ÌÐòµÄ̽ÌÖ£¬ËùÒÔ¶Ô¾ßÌåµÄÎļþ²»×öÉîÈëÑо¿¡£

¹Ø¼ü´Ê£ºÖÇÄÜÊÖ»ú£¬°²×¿£¬ÒôÀÖ²¥·ÅÆ÷

ÇൺÀí¹¤´óѧ±ÏÒµÂÛÎÄ£¨Éè¼Æ£©

ABSTRACT

Current society is in an era of rapid development, where the mobile information technology¡¯s pace of development is particularly prominent,the application of smart phone is even more deeply into the personal lives,talking about these,I have to mention current hottest smartphone operating system - - Android,it has accounted for half of the smartphone market.

Nowadays life is stressful, and enjoying music has become one way of relieving stress, the purpose of this project is to develop a file format that can play music.Music player, this paper uses the Android technology, the use of the Java language and Eclipse development tools player code be written. At the same time,the following text gives a detailed design process, some screen shots and major functional flow chart.The paper also encounters in the development process problems and solutions were discussed in detail, the music player main function is to play MP3 music files,and the ability to control the player to play, pause, stop, previous song, next song, good performance in the Android system can operate independently. For playing the song files, this player is limited to application layer discussion, so do not do in-depth study of specific documents.

KEY WORDS: Smart Phone, Android, Music Player

ÇൺÀí¹¤´óѧ±ÏÒµÂÛÎÄ£¨Éè¼Æ£©

Ŀ¼

µÚ1Õ Ð÷ ÂÛ ........................................................ 1 1.1 ¹úÄÚÍâÑо¿Çé¿ö¼°Æä·¢Õ¹ÏÖ×´ ..................................... 2 1.2 ¿ª·¢¸Å¿ö ....................................................... 2 1.3 ¿ÎÌâµÄÀ´Ô´ºÍÑо¿ÒâÒå ........................................... 3 µÚ2Õ ÏîÄ¿¼¼Êõ½éÉÜ ................................................. 4 2.1 AndroidÏîÄ¿½éÉÜ ............................................... 4 2.1.1 ʲôÊÇAndroid ............................................. 4 2.1.2 AndroidÓ¦ÓÃÈí¼þ¿ª·¢µÄºËÐļ¼Êõ ............................. 7 2.2 ECLIPSE¹¤¾ß½éÉÜ ................................................. 9 µÚ3Õ ϵͳÐèÇó·ÖÎö ................................................ 12 3.1 ¹¦ÄÜÐèÇó ...................................................... 12 3.1.1 ²¥·ÅÆ÷µÄ»ù±¾¿ØÖÆÐèÇó ...................................... 12 3.1.2 ²¥·ÅÆ÷ÓѺÃÐÔÐèÇó .......................................... 15 3.2 ÐÔÄÜÐèÇó ...................................................... 16 3.2.1 Êý¾Ý¾«È·¶È ................................................ 16 3.2.2 ʱ¼äÌØÐÔ .................................................. 16 3.2.3 ÊÊÓ¦ÐÔ .................................................... 17 3.3 ¿É¿¿ÐÔÐèÇó .................................................... 17 3.4 ÔËÐл·¾³ÐèÇó .................................................. 17 3.5 ²úÆ·ÖÊÁ¿ÐèÇó .................................................. 17 3.5.1 ¹ÊÕÏ·ÖÎö .................................................. 17 3.5.2 ϵͳÀûÓÃÂÊ ................................................ 18 3.5.3 ¿É¿¿ÐÔ ? ................................................ 18 3.5.4 °²È«ÐÔ .................................................... 18 µÚ4Õ ÒôÀÖ²¥·ÅÆ÷µÄ×ÜÌåÉè¼Æ ........................................ 19 4.1 ¸ÅÒªÉè¼Æ ...................................................... 19 4.2 ¹¦ÄÜÁ÷³Ìͼ .................................................... 19 µÚ5Õ ÒôÀÖ²¥·ÅÆ÷µÄÏêϸÉè¼Æ ........................................ 21 5.1 Àà¹ØÏµ ........................................................ 21 5.2 ¸÷Ä£¿éÏêϸÉè¼Æ ................................................ 23 5.2.1 ²¥·ÅÆ÷µÄ»¶Ó­½çÃæºÍÖ÷Òª½çÃæµÄÉè¼ÆºÍ˵Ã÷ .................... 23

ÇൺÀí¹¤´óѧ±ÏÒµÂÛÎÄ£¨Éè¼Æ£©

5.2.2 ÍøÂçÎļþÁбíµÄ»ñÈ¡ ........................................ 26 5.2.3 MP3ÎļþµÄÏÂÔØÓëдSD¿¨²Ù×÷ ............................... 29 5.2.4 MP3ÎļþµÄ²¥·Å ............................................ 32 5.2.5²¥·Å¹¦ÄÜʵÏÖϸ½Ú .......................................... 32 µÚ6Õ ϵͳ²âÊÔ .................................................... 37 6.1 Èí¼þ²âÊԵķ¢Õ¹Ê· .............................................. 37 6.2 Èí¼þ²âÊÔµÄÏà¹Ø±³¾° ............................................ 38 6.3 Èí¼þ²âÊÔ¸ÅÊö .................................................. 38 6.3.1 Èí¼þ²âÊԵ͍Òå ............................................ 39 6.3.2 Èí¼þ²âÊÔµÄÃèÊö ............................................ 39 6.3.3 Èí¼þ²âÊÔµÄÔ­Ôò ............................................ 39 6.4 Èí¼þ²âÊÔÖеÄÀà²âÊÔ ............................................ 40 6.4.1 »ùÓÚ·þÎñµÄÀà²âÊÔ¼¼Êõ? .................................... 40 6.5 Èí¼þ»·¾³µÄ²âÊÔ ................................................ 41 6.5.1 Èí¼þ²âÊÔµÄÐÔÄÜÒªÇó ........................................ 41 6.5.2 ²âÊÔ ...................................................... 41 6.5.3 Èí¼þ²âÊÔµÄÆÀ¼Û ............................................ 41 6.5.4 ²âÊÔ½×¶Î .................................................. 42 6.6 ÒôÀÖ²¥·Å¹¦ÄܲâÊÔ .............................................. 43 µÚ7Õ ½áÂÛ ........................................................ 44 7.1 Óöµ½ÎÊÌâ ...................................................... 44 7.2 ½â¾ö°ì·¨ ...................................................... 44 7.3 ÊÕ»ñÌå»á ...................................................... 44 7.4 Õ¹Íû .......................................................... 45 Ö л .............................................................. 46 ²Î¿¼ÎÄÏ× ........................................................... 47

ÁªÏµ¿Í·þ£º779662525#qq.com(#Ìæ»»Îª@)