android播放音乐示例
	这个例子是播放音乐的一个小例子也比较简单,大家需要去下载2个.mp3结尾的歌曲,然后放到SD卡里边 进行测试,就可以看到效果了。 运行效果如下
	 
	
	 
	main.xml
	Xml代码 
	<?xml version="1.0" encoding="utf-8"?>   
	<AbsoluteLayout    
	  xmlns:android="http://schemas.android.com/apk/res/android"   
	  android:orientation="vertical"   
	  android:layout_width="fill_parent"   
	  android:layout_height="fill_parent"   
	  >   
	  <ListView    
	  android:id="@id/android:list"   
	  android:layout_width="fill_parent"    
	  android:layout_height="fill_parent"   
	  android:layout_weight="1"   
	  android:drawSelectorOnTop="false"/>   
	  <ImageButton   
	  android:id="@+id/LastImageButton"   
	  android:layout_width="wrap_content"   
	  android:layout_height="wrap_content"     
	  android:layout_x="10px"   
	  android:layout_y="70px"   
	  android:src="@drawable/last"     
	  />   
	  <ImageButton   
	  android:id="@+id/StopImageButton"    
	  android:layout_height="wrap_content"     
	  android:layout_width="wrap_content"   
	  android:layout_x="70px"   
	  android:layout_y="70px"   
	  android:src="@drawable/stop"    
	  />     
	  <ImageButton   
	  android:id="@+id/StartImageButton"    
	  android:layout_height="wrap_content"     
	  android:layout_width="wrap_content"    
	  android:layout_x="130px"   
	  android:layout_y="70px"   
	  android:src="@drawable/start"    
	  />   
	  <ImageButton   
	  android:id="@+id/PauseImageButton"    
	  android:layout_height="wrap_content"     
	
相关新闻>>
- 发表评论
 - 
				
 
- 最新评论 进入详细评论页>>
 





