实例介绍
Android猜歌游戏源代码 课程中代码不全 并且很多bug 这个是我自己实现的 比原版好很多
【实例截图】
【核心代码】
MusicGame
└── MusicGame
├── AndroidManifest.xml
├── assets
│ ├── __00000.m4a
│ ├── __00001.m4a
│ ├── __00002.m4a
│ ├── __00003.m4a
│ ├── __00004.m4a
│ ├── __00005.m4a
│ ├── __00006.m4a
│ ├── __00007.m4a
│ ├── __00008.m4a
│ ├── __00009.m4a
│ ├── __00010.m4a
│ ├── cancel.mp3
│ ├── coin.mp3
│ └── enter.mp3
├── bin
│ ├── AndroidManifest.xml
│ ├── classes
│ │ └── com
│ │ └── example
│ │ └── musicgame
│ │ ├── BuildConfig.class
│ │ ├── data
│ │ │ └── Const.class
│ │ ├── model
│ │ │ ├── AlertDialogButtonListener.class
│ │ │ ├── IWordButtonOnClickListener.class
│ │ │ ├── Song.class
│ │ │ └── WordButton.class
│ │ ├── R$anim.class
│ │ ├── R$attr.class
│ │ ├── R$color.class
│ │ ├── R$dimen.class
│ │ ├── R$drawable.class
│ │ ├── R$id.class
│ │ ├── R$integer.class
│ │ ├── R$layout.class
│ │ ├── R$menu.class
│ │ ├── R$string.class
│ │ ├── R$style.class
│ │ ├── R.class
│ │ ├── ui
│ │ │ ├── Acomplish.class
│ │ │ ├── MainActivity$10.class
│ │ │ ├── MainActivity$11.class
│ │ │ ├── MainActivity$1.class
│ │ │ ├── MainActivity$2.class
│ │ │ ├── MainActivity$3.class
│ │ │ ├── MainActivity$4.class
│ │ │ ├── MainActivity$5.class
│ │ │ ├── MainActivity$6.class
│ │ │ ├── MainActivity$7$1.class
│ │ │ ├── MainActivity$7.class
│ │ │ ├── MainActivity$8.class
│ │ │ ├── MainActivity$9.class
│ │ │ └── MainActivity.class
│ │ └── util
│ │ ├── MyAdapter$1.class
│ │ ├── MyAdapter.class
│ │ ├── MyMediaPlayer.class
│ │ ├── Util$1.class
│ │ ├── Util$2.class
│ │ └── Util.class
│ ├── classes.dex
│ ├── dexedLibs
│ │ └── android-support-v4-a674ff482207af58fb136a0263839823.jar
│ ├── jarlist.cache
│ ├── MusicGame.apk
│ ├── res
│ │ └── crunch
│ │ ├── drawable-hdpi
│ │ │ ├── about_credit.png
│ │ │ ├── about_credit_sel.png
│ │ │ ├── about_rank_text.png
│ │ │ ├── about_text0.png
│ │ │ ├── about_text2.png
│ │ │ ├── about_wechat.png
│ │ │ ├── about_wechat_sel.png
│ │ │ ├── all_back.png
│ │ │ ├── all_back_sel.png
│ │ │ ├── allpass_back0.png
│ │ │ ├── allpass_back1.png
│ │ │ ├── allpass_rank.png
│ │ │ ├── allpass_rank_sel.png
│ │ │ ├── allpass_text0.png
│ │ │ ├── allpass_text2.png
│ │ │ ├── allpass_wechat.png
│ │ │ ├── allpass_wechat_sel.png
│ │ │ ├── base_title_off.png
│ │ │ ├── base_title_on.png
│ │ │ ├── bookstack_new.png
│ │ │ ├── buytip_bg.png
│ │ │ ├── buytip_cancel.png
│ │ │ ├── buytip_cancel_sel.png
│ │ │ ├── buytip_ok.png
│ │ │ ├── buytip_ok_sel.png
│ │ │ ├── credit_content.png
│ │ │ ├── game_buy1.png
│ │ │ ├── game_buy1_sel.png
│ │ │ ├── game_buy2.png
│ │ │ ├── game_buy2_sel.png
│ │ │ ├── game_center.png
│ │ │ ├── game_coin_icon.png
│ │ │ ├── game_coin.png
│ │ │ ├── game_coin_sel.png
│ │ │ ├── game_disc_light.png
│ │ │ ├── game_disc.png
│ │ │ ├── game_level.png
│ │ │ ├── game_level_title.png
│ │ │ ├── game_line.png
│ │ │ ├── game_pin.png
│ │ │ ├── game_share.png
│ │ │ ├── game_share_sel.png
│ │ │ ├── game_title.png
│ │ │ ├── game_word0.png
│ │ │ ├── game_word1.png
│ │ │ ├── game_wordblank.png
│ │ │ ├── game_wx_text.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── index_about.png
│ │ │ ├── index_about_sel.png
│ │ │ ├── index_background.png
│ │ │ ├── index_bar.png
│ │ │ ├── index_between.png
│ │ │ ├── index_bottom_caitu.png
│ │ │ ├── index_bottom_caitu_sel.png
│ │ │ ├── index_btn.png
│ │ │ ├── index_btn_sel.png
│ │ │ ├── index_dash.png
│ │ │ ├── index_footer.png
│ │ │ ├── index_guess.png
│ │ │ ├── index_guess_sel.png
│ │ │ ├── index_medal.png
│ │ │ ├── index_pin.png
│ │ │ ├── index_rect.png
│ │ │ ├── index_start.png
│ │ │ ├── index_start_sel.png
│ │ │ ├── index_title.png
│ │ │ ├── item4_banner.png
│ │ │ ├── item_element.png
│ │ │ ├── item_title_bg.png
│ │ │ ├── pass_next.png
│ │ │ ├── pass_next_sel.png
│ │ │ ├── pass_share.png
│ │ │ ├── pass_share_sel.png
│ │ │ └── splash_ht.png
│ │ ├── drawable-mdpi
│ │ │ ├── about_credit.png
│ │ │ ├── about_credit_sel.png
│ │ │ ├── about_rank_text.png
│ │ │ ├── about_text0.png
│ │ │ ├── about_text2.png
│ │ │ ├── about_wechat.png
│ │ │ ├── about_wechat_sel.png
│ │ │ ├── all_back.png
│ │ │ ├── all_back_sel.png
│ │ │ ├── allpass_back0.png
│ │ │ ├── allpass_back1.png
│ │ │ ├── allpass_rank.png
│ │ │ ├── allpass_rank_sel.png
│ │ │ ├── allpass_text0.png
│ │ │ ├── allpass_text2.png
│ │ │ ├── allpass_wechat.png
│ │ │ ├── allpass_wechat_sel.png
│ │ │ ├── base_title_off.png
│ │ │ ├── base_title_on.png
│ │ │ ├── bookstack_new.png
│ │ │ ├── buytip_bg.png
│ │ │ ├── buytip_cancel.png
│ │ │ ├── buytip_cancel_sel.png
│ │ │ ├── buytip_ok.png
│ │ │ ├── buytip_ok_sel.png
│ │ │ ├── credit_content.png
│ │ │ ├── game_buy1.png
│ │ │ ├── game_buy1_sel.png
│ │ │ ├── game_buy2.png
│ │ │ ├── game_buy2_sel.png
│ │ │ ├── game_center.png
│ │ │ ├── game_coin_icon.png
│ │ │ ├── game_coin.png
│ │ │ ├── game_coin_sel.png
│ │ │ ├── game_disc_light.png
│ │ │ ├── game_disc.png
│ │ │ ├── game_level.png
│ │ │ ├── game_level_title.png
│ │ │ ├── game_line.png
│ │ │ ├── game_pin.png
│ │ │ ├── game_share.png
│ │ │ ├── game_share_sel.png
│ │ │ ├── game_title.png
│ │ │ ├── game_word0.png
│ │ │ ├── game_word1.png
│ │ │ ├── game_wordblank.png
│ │ │ ├── game_wx_text.png
│ │ │ ├── ic_launcher.png
│ │ │ ├── index_about.png
│ │ │ ├── index_about_sel.png
│ │ │ ├── index_background.png
│ │ │ ├── index_bar.png
│ │ │ ├── index_between.png
│ │ │ ├── index_bottom_caitu.png
│ │ │ ├── index_bottom_caitu_sel.png
│ │ │ ├── index_btn.png
│ │ │ ├── index_btn_sel.png
│ │ │ ├── index_dash.png
│ │ │ ├── index_footer.png
│ │ │ ├── index_guess.png
│ │ │ ├── index_guess_sel.png
│ │ │ ├── index_medal.png
│ │ │ ├── index_pin.png
│ │ │ ├── index_rect.png
│ │ │ ├── index_start.png
│ │ │ ├── index_start_sel.png
│ │ │ ├── index_title.png
│ │ │ ├── item4_banner.png
│ │ │ ├── item_element.png
│ │ │ ├── item_title_bg.png
│ │ │ ├── pass_next.png
│ │ │ ├── pass_next_sel.png
│ │ │ ├── pass_share.png
│ │ │ ├── pass_share_sel.png
│ │ │ └── splash_ht.png
│ │ ├── drawable-xhdpi
│ │ │ └── ic_launcher.png
│ │ └── drawable-xxhdpi
│ │ └── ic_launcher.png
│ └── resources.ap_
├── gen
│ └── com
│ └── example
│ └── musicgame
│ ├── BuildConfig.java
│ └── R.java
├── ic_launcher-web.png
├── libs
│ └── android-support-v4.jar
├── proguard-project.txt
├── project.properties
├── res
│ ├── anim
│ │ ├── rotate_45.xml
│ │ ├── rotate_d_45.xml
│ │ ├── rotate.xml
│ │ └── scale.xml
│ ├── drawable
│ │ ├── back_button_icon.xml
│ │ ├── button_comment_icon.xml
│ │ ├── button_next.xml
│ │ ├── button_pay_no.xml
│ │ ├── button_pay_yes.xml
│ │ ├── button_to_wechat.xml
│ │ ├── button_wechat_icon.xml
│ │ ├── coin_game_icon.xml
│ │ ├── delete_button_icon.xml
│ │ ├── play_button_icon.xml
│ │ ├── share_button_icon.xml
│ │ ├── tip_button_icon.xml
│ │ └── word_button_icon.xml
│ ├── drawable-hdpi
│ │ ├── about_credit.png
│ │ ├── about_credit_sel.png
│ │ ├── about_rank_text.png
│ │ ├── about_text0.png
│ │ ├── about_text2.png
│ │ ├── about_wechat.png
│ │ ├── about_wechat_sel.png
│ │ ├── all_back.png
│ │ ├── all_back_sel.png
│ │ ├── allpass_back0.png
│ │ ├── allpass_back1.png
│ │ ├── allpass_rank.png
│ │ ├── allpass_rank_sel.png
│ │ ├── allpass_text0.png
│ │ ├── allpass_text2.png
│ │ ├── allpass_wechat.png
│ │ ├── allpass_wechat_sel.png
│ │ ├── base_title_off.png
│ │ ├── base_title_on.png
│ │ ├── bookstack_new.png
│ │ ├── buytip_bg.png
│ │ ├── buytip_cancel.png
│ │ ├── buytip_cancel_sel.png
│ │ ├── buytip_ok.png
│ │ ├── buytip_ok_sel.png
│ │ ├── credit_content.png
│ │ ├── game_buy1.png
│ │ ├── game_buy1_sel.png
│ │ ├── game_buy2.png
│ │ ├── game_buy2_sel.png
│ │ ├── game_center.png
│ │ ├── game_coin_icon.png
│ │ ├── game_coin.png
│ │ ├── game_coin_sel.png
│ │ ├── game_disc_light.png
│ │ ├── game_disc.png
│ │ ├── game_level.png
│ │ ├── game_level_title.png
│ │ ├── game_line.png
│ │ ├── game_pin.png
│ │ ├── game_share.png
│ │ ├── game_share_sel.png
│ │ ├── game_title.png
│ │ ├── game_word0.png
│ │ ├── game_word1.png
│ │ ├── game_wordblank.png
│ │ ├── game_wx_text.png
│ │ ├── ic_launcher.png
│ │ ├── index_about.png
│ │ ├── index_about_sel.png
│ │ ├── index_background.png
│ │ ├── index_bar.png
│ │ ├── index_between.png
│ │ ├── index_bottom_caitu.png
│ │ ├── index_bottom_caitu_sel.png
│ │ ├── index_btn.png
│ │ ├── index_btn_sel.png
│ │ ├── index_dash.png
│ │ ├── index_footer.png
│ │ ├── index_guess.png
│ │ ├── index_guess_sel.png
│ │ ├── index_medal.png
│ │ ├── index_pin.png
│ │ ├── index_rect.png
│ │ ├── index_start.png
│ │ ├── index_start_sel.png
│ │ ├── index_title.png
│ │ ├── item4_banner.png
│ │ ├── item_element.png
│ │ ├── item_title_bg.png
│ │ ├── pass_next.png
│ │ ├── pass_next_sel.png
│ │ ├── pass_share.png
│ │ ├── pass_share_sel.png
│ │ └── splash_ht.png
│ ├── drawable-mdpi
│ │ ├── about_credit.png
│ │ ├── about_credit_sel.png
│ │ ├── about_rank_text.png
│ │ ├── about_text0.png
│ │ ├── about_text2.png
│ │ ├── about_wechat.png
│ │ ├── about_wechat_sel.png
│ │ ├── all_back.png
│ │ ├── all_back_sel.png
│ │ ├── allpass_back0.png
│ │ ├── allpass_back1.png
│ │ ├── allpass_rank.png
│ │ ├── allpass_rank_sel.png
│ │ ├── allpass_text0.png
│ │ ├── allpass_text2.png
│ │ ├── allpass_wechat.png
│ │ ├── allpass_wechat_sel.png
│ │ ├── base_title_off.png
│ │ ├── base_title_on.png
│ │ ├── bookstack_new.png
│ │ ├── buytip_bg.png
│ │ ├── buytip_cancel.png
│ │ ├── buytip_cancel_sel.png
│ │ ├── buytip_ok.png
│ │ ├── buytip_ok_sel.png
│ │ ├── credit_content.png
│ │ ├── game_buy1.png
│ │ ├── game_buy1_sel.png
│ │ ├── game_buy2.png
│ │ ├── game_buy2_sel.png
│ │ ├── game_center.png
│ │ ├── game_coin_icon.png
│ │ ├── game_coin.png
│ │ ├── game_coin_sel.png
│ │ ├── game_disc_light.png
│ │ ├── game_disc.png
│ │ ├── game_level.png
│ │ ├── game_level_title.png
│ │ ├── game_line.png
│ │ ├── game_pin.png
│ │ ├── game_share.png
│ │ ├── game_share_sel.png
│ │ ├── game_title.png
│ │ ├── game_word0.png
│ │ ├── game_word1.png
│ │ ├── game_wordblank.png
│ │ ├── game_wx_text.png
│ │ ├── ic_launcher.png
│ │ ├── index_about.png
│ │ ├── index_about_sel.png
│ │ ├── index_background.png
│ │ ├── index_bar.png
│ │ ├── index_between.png
│ │ ├── index_bottom_caitu.png
│ │ ├── index_bottom_caitu_sel.png
│ │ ├── index_btn.png
│ │ ├── index_btn_sel.png
│ │ ├── index_dash.png
│ │ ├── index_footer.png
│ │ ├── index_guess.png
│ │ ├── index_guess_sel.png
│ │ ├── index_medal.png
│ │ ├── index_pin.png
│ │ ├── index_rect.png
│ │ ├── index_start.png
│ │ ├── index_start_sel.png
│ │ ├── index_title.png
│ │ ├── item4_banner.png
│ │ ├── item_element.png
│ │ ├── item_title_bg.png
│ │ ├── pass_next.png
│ │ ├── pass_next_sel.png
│ │ ├── pass_share.png
│ │ ├── pass_share_sel.png
│ │ └── splash_ht.png
│ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ ├── drawable-xxhdpi
│ │ └── ic_launcher.png
│ ├── layout
│ │ ├── accomplish.xml
│ │ ├── activity_main.xml
│ │ ├── float_buttons.xml
│ │ ├── l_remind.xml
│ │ ├── name_select.xml
│ │ ├── pan_layout.xml
│ │ ├── self_ui_gridview_button.xml
│ │ ├── top_bar.xml
│ │ └── view_answer_right.xml
│ ├── menu
│ │ └── main.xml
│ ├── values
│ │ ├── colors.xml
│ │ ├── config.xml
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
│ ├── values-v11
│ │ └── styles.xml
│ ├── values-v14
│ │ └── styles.xml
│ └── values-w820dp
│ └── dimens.xml
└── src
└── com
└── example
└── musicgame
├── data
│ └── Const.java
├── model
│ ├── AlertDialogButtonListener.java
│ ├── IWordButtonOnClickListener.java
│ ├── Song.java
│ └── WordButton.java
├── ui
│ ├── Acomplish.java
│ └── MainActivity.java
└── util
├── MyAdapter.java
├── MyMediaPlayer.java
└── Util.java
44 directories, 414 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论