登录
首页 » Java » Android-music-player-source

Android-music-player-source

于 2013-08-05 发布 文件大小:1045KB
0 71
下载积分: 1 下载次数: 64

代码说明:

  安卓音乐播放器源码,附带详细word文档说明。(Android music player source, with a detailed documentation.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 产品报废评估系统
    产品报废评估系统旨在找出不符合规定的质量参数的产品。系统将自动检查本产品根据已定义的参数,并完成一定不完美的产品区分开来。
    2022-06-11 17:42:50下载
    积分:1
  • Android-PPT
    Android learn. This document include all PPT and other meterials to help you learn the Android development(Android learn. This document include all PPT and other meterials to help you learn the Android development.)
    2015-05-05 21:00:44下载
    积分:1
  • Android Intent实例
    Android Intent开发实例 核心代码:package com.amaker.ch06.app;import com.amaker.ch06.app.R;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;import android.widget.EditText;/** * @author 郭宏志 * 发送Email */public class MainActivity extends Activity { // 声明视图组件 private EditText toEditText,subjectEditText,contentEditText; private Button sendBtn; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // 实例化视图组件 toEditText = (EditText)findViewById(R.id.toEditText01); subjectEditText = (EditText)findViewById(R.id.subjectEditText01); contentEditText = (EditText)findViewById(R.id.contentEditText01); sendBtn = (Button)findViewById(R.id.sendButton01); // 为按钮添加单击监听器 sendBtn.setOnClickListener(listener); } // 发送按钮单击监听器 private OnClickListener listener = new OnClickListener() { @Override public void onClick(View v) { // 获得输入信息 String to = toEditText.getText().toString(); String subject = subjectEditText.getText().toString(); String content = contentEditText.getText().toString(); // 创建Intent Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); // 设置内容类型 emailIntent.setType("plain/text"); // 设置额外信息 emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{to}); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject); emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, content); startActivity(Intent.createChooser(emailIntent, "发送邮件...")); } };}
    2014-11-24下载
    积分:1
  • BreakIterator
    Break Iterator Source Code for Andriod.
    2013-11-18 22:21:22下载
    积分:1
  • hadoop-2.7.1-src.tar
    hadoop2.7.1最新源码,搭建方式及最新说明(hadoop2.7.1new srccode )
    2015-09-02 09:51:18下载
    积分:1
  • android 播放网络MP3 音乐播放
    简单的基本功能,实测可行。 核心代码:package com.sharpandroid.music.activity;import java.io.IOException;import android.app.Activity;import android.os.Bundle;import android.util.Log;import android.view.View;import android.widget.Button;import android.widget.ImageButton;import android.widget.SeekBar;import android.widget.TextView;import com.sharpandroid.music.R;import com.sharpandroid.music.StreamingMediaPlayer;public class MediaPlayer extends Activity { private Button streamButton; private ImageButton playButton; private boolean isPlaying; private TextView playTime; private StreamingMediaPlayer audioStreamer; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); initControls(); } private void initControls() { playTime=(TextView) findViewById(R.id.playTime); streamButton = (Button) findViewById(R.id.button_stream); streamButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { startStreamingAudio(); }}); playButton = (ImageButton) findViewById(R.id.button_play); playButton.setEnabled(false); playButton.setOnClickListener(new View.OnClickListener() { public void onClick(View view) { if (audioStreamer.getMediaPlayer().isPlaying()) { audioStreamer.getMediaPlayer().pause(); playButton.setImageResource(R.drawable.button_play); } else { audioStreamer.getMediaPlayer().start(); audioStreamer.startPlayProgressUpdater(); playButton.setImageResource(R.drawable.button_pause); } isPlaying = !isPlaying; }}); } private void startStreamingAudio() { try { final SeekBar progressBar = (SeekBar) findViewById(R.id.progress_bar); if ( audioStreamer != null) { audioStreamer.interrupt(); } audioStreamer = new StreamingMediaPlayer(this, playButton, streamButton, progressBar,playTime); audioStreamer.startStreaming("http://192.168.64.1/xa.mp3",5208, 216); streamButton.setEnabled(false); } catch (IOException e) { Log.e(getClass().getName(), "读取音乐出错!", e); } }}
    2014-05-26下载
    积分:1
  • BBS论坛代码
    该部门代码包涵了BBS论坛开发多有模块的源代码,其中报包括数据库的连接,jsp等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等等 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-05-16 17:30:49下载
    积分:1
  • 相当好的网站HTML5的前台模板源码下载
    相当好的网站HTML5的前台模板源码下载
    2014-11-19下载
    积分:1
  • Android_Gadget_CDC_driver
    android gadget driver
    2019-05-23 14:07:34下载
    积分:1
  • smartClock
    这是一个Android自绘时钟的源代码,并且调试成功的,有需要的朋友,不容错过啦!(This is an Android source code from the painting clock, and debugging success, a friend in need, do not miss it!)
    2013-04-17 09:46:34下载
    积分:1
  • 696518资源总数
  • 104271会员总数
  • 57今日下载