【正文】
Button start。 Button jieshu。 String currentplay = /mnt/asec/。 MediaPlayer myMediaPlayer = new MediaPlayer()。 SeekBar sBar。 Handler handler = new Handler()。 public void onCreate(Bundle savedInstanceState) { (savedInstanceState)。 setContentView()。 String musiame = 。 musicinform = (TextView) findViewById()。 bianji = (Button) findViewById()。 start = (Button) findViewById()。 jieshu = (Button) findViewById()。 DBAdapter db = new DBAdapter(getApplicationContext())。 ()。 Cursor c = (musiame)。 String inform = 。 if (()) { inform = (2) + 作者 : + (3) + 出版日期: + (4)。 currentplay = (1)。 } ()。 ()。 ()。 try { (currentplay)。 } catch (IllegalArgumentException e) { // TODO Autogenerated catch block ()。 } catch (IllegalStateException e) { 25 // TODO Autogenerated catch block ()。 } catch (IOException e) { // TODO Autogenerated catch block ()。 } try { ()。 } catch (IllegalStateException e) { // TODO Autogenerated catch block ()。 } catch (IOException e) { // TODO Autogenerated catch block ()。 } (inform)。 sBar = (SeekBar) findViewById()。 (())。 setListener()。 } 程序運(yùn)行截圖 26 5 總結(jié) 與展望 Android 操作系統(tǒng)是目前最火、前景最被看好的手機(jī)操作系統(tǒng),基于 Android 平臺(tái)的手機(jī)點(diǎn)歌體統(tǒng)具有應(yīng)用軟件具有功能實(shí)用、運(yùn)行速度快、占用空間小、對(duì)硬件設(shè)備要求較低等優(yōu)點(diǎn),具有很好的市場(chǎng)價(jià)值。 本 文討論了 Android 平臺(tái)上應(yīng)用程序的設(shè)計(jì)原則、 點(diǎn)歌系統(tǒng) 的架構(gòu)設(shè)計(jì),功能模塊實(shí)現(xiàn)、配置文件的設(shè)計(jì)。 敘述了 音樂(lè)庫(kù)模塊的詳細(xì)設(shè)計(jì)及界面實(shí)現(xiàn)。論文 涉及 到Android 上應(yīng)用程序的核心開(kāi)發(fā)技術(shù),包括 Activity 和 Service 生命周期的管理,組件與組件之的通信 , Android 消息處理機(jī)制, 線(xiàn)程模型,界面切換和 Task 棧等內(nèi)容。 本文具體實(shí)現(xiàn)了以下功能: 1)使用 SQLite 數(shù)據(jù)庫(kù) 存儲(chǔ)歌曲及相關(guān)信息; 2) 添加、刪除、查看歌曲的相關(guān)信息 ; 3) 對(duì)歌曲進(jìn)行點(diǎn)播、編輯等相關(guān)操作 ; 4) 設(shè)置不同的條件 ( 名稱(chēng) 、 作曲、出版時(shí)間等 )進(jìn)行查詢(xún)。 由于本人的水平有限,系統(tǒng)還存在很多值得改進(jìn)的地方: 1) 進(jìn)一步完善音樂(lè)庫(kù)模塊的功能。由于時(shí)間關(guān)系,本軟件只實(shí)現(xiàn)了播放列表和全部歌曲列表。根據(jù)用戶(hù)需求,可添加專(zhuān)輯列表和藝術(shù)家列表,列表可根據(jù)專(zhuān)輯名和藝術(shù)家名按字母順序進(jìn)行排序,同時(shí)每個(gè)藝術(shù)家和專(zhuān)輯包含屬于該專(zhuān) 輯或藝術(shù)家的歌曲列表。 2) 添加播放模式。播放模式包括:隨機(jī)播放、列表循環(huán)、單曲循環(huán)等模式。該模式的實(shí)現(xiàn)可在后臺(tái)音樂(lè)服務(wù)模塊中實(shí)現(xiàn),后臺(tái)音樂(lè)服務(wù)根據(jù)用戶(hù)設(shè)置的播放模式,從播放隊(duì)列里找到下一首播放的歌曲并打開(kāi),同時(shí)傳遞意圖給播放主界面,顯示播放的新歌曲。 3) 添加設(shè)置功能。即用戶(hù)可以根據(jù)需要設(shè)置自己喜歡的音效,播放模式等內(nèi)容。 4) 添加與手機(jī)上其他應(yīng)用程序交互的功能 , 如把歌曲設(shè)置為手機(jī)鈴聲 。 27 參考文獻(xiàn) 28 致謝 29 為你提供優(yōu)秀的畢業(yè)論文參考資料,請(qǐng)您刪除以下內(nèi)容, O(∩ _∩ )O 謝謝?。。?A large group of tea merchants on camels and hors es from Northwes t China39。s S haanxi province pas s through a s top on the ancient S ilk Road, Gans u39。s Zhangye city during their journey to Kazak hs tan, May 5, 2021. Th e caravan, cons is ting of more than 100 camels , three hors e drawn carriages and four s upport vehicles , s tarted the trip from Jingyang county in S haanxi on S ept 19, 2021. It will pass through Gans u province and Xinjiang Uygur autonomous region, and finally a rrive in Almaty, formerly k nown as AlmaAta, the larges t city in Kazak hs tan, and Dungan in Zhambyl province. The trip will cover about 15,000 k ilometers and tak e the caravan more than one year to plete. The caravan is expected to return to Jingyang in March 2021. Then they will e back , carrying s pecialty products from Kazak hs tan A s mall art troupe founded s ix decades ago has grown into a hous ehold name in the Inner Mongolia autonomous region. In the 1950s , Ulan Mu qir Art Troupe was created by nine y oung mus icians , who toured remote villages on hors es and performed traditional Mongolian mus ic and dances for nomadic families . The 54 yearold was born in Tongliao, in eas tern Inner Mongolia and joined the troupe in s ays there are 74 branch troupes acros s Inner Mongolia and actors give around 100 s hows every year to local nomadic people. I can s till recall the days when I toured with the troupe in the early 39。80s. We s at on the back of pick up truck s for hours . The s k y was blue, and we couldn39。t help but s ing the folk s ongs , Nas un s ays . The vas tnes s of Inner Mongolia and the lack of entertainment options for people living there, made their lives lonely. The nomadic people were very excited about our vis its , Nas un recalls. We didn39。t have a formal s tage. The audience jus t s at on the gras s . Us ually, the performances became a big party with local people joining in. For him, the rewarding part about touring is n39。t jus t about s haring art with nomadic families but als o about gaining ins piration for the mus ic and dance. Ulan Muqir literally trans lates as red burgeon, and today39。s performers of the troupe s till tour the region39。s villages and entertain nomadic families , but their fame has s pread around the world. On May 16 and 17, nearly 100 s ingers and danc ers from the troupe performed at Beijing39。s Poly Theater. Their s how, titled Ulan Muqir on the Gras s land, depicted the his tory and development of the art troupe. Being from the region allowed me to embrace the culture of Inner Mongolia and being a member of the troupe s howed me where I belonged, Nas un, the art troupe39。s pres ident, who is als o a renowned tenor, tells China Daily. During a tour in 1985, he went to a village and met an elderly local man, wh o tol d him a s tory about his friends hip with a s olide r from S henyang, capital of Northeas t China39。s Liaoning province, decades ago. The s olider gave the old man a handmade s addle when they bid farewell. The s tory ins pired Nas un to write Carved S addle, a s ong that later became one of his mos t popular numbers . Now, every year, Nas un recruits young s ingers and dancers for the troupe. The troupe has als o des igned a new repertoire, which is mos tly bas ed on the daily lives of Mongolian people, es pecially the lives of nomadic families , and has bined contemporary m us ical elements with folk s ongs of the region. Haimu, a 2