Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Multimedia program Audio program
Title: 20110629_091718255 Download
 Description: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState) setContentView(R.layout.main) recordButton = (Button) this.findViewById(R.id.Button01) stopButton = (Button) this.findViewById(R.id.Button02) playButton=(Button)this.findViewById(R.id.Button03) stopPlay=(Button)this.findViewById(R.id.Button04) // 录音按钮点击事件 recordButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { File file = new File("/sdcard/"+ "CC"+ new DateFormat().format("ccccMMdd_HHmmss",Calendar.getInstance(Locale.CHINA))+ ".amr") Toast.makeText(getApplicationContext(), "正在录音,录音文件在"+file.getAbsolutePath(), Toast.LENGTH_LONG) .show()
 Downloaders recently: [More information of uploader 819763569]
 To Search:
File list (Check if you may need any files):
AudioTest\.classpath
.........\.project
.........\AndroidManifest.xml
.........\bin\AudioTest.apk
.........\...\classes.dex
.........\...\.om\twm\AudioTest.class
.........\...\...\...\AudPly.class
.........\...\...\...\AudRec.class
.........\...\...\...\R$attr.class
.........\...\...\...\R$layout.class
.........\...\...\...\R$raw.class
.........\...\...\...\R$string.class
.........\...\...\...\R.class
.........\...\resources.ap_
.........\build.properties
.........\build.xml
.........\default.properties
.........\gen\com\twm\R.java
.........\local.properties
.........\res\layout\main.xml
.........\...\raw\libaaaa.so
.........\...\values\strings.xml
.........\src\com\twm\AudioTest.java
.........\...\...\...\AudPly.java
.........\...\...\...\AudRec.java
.........\tests\AndroidManifest.xml
.........\.....\build.properties
.........\.....\build.xml
.........\.....\default.properties
.........\.....\local.properties
.........\.....\src\com\twm\AudioTestTest.java
.........\.....\gen\com\twm
.........\.....\src\com\twm
.........\bin\com\twm
.........\gen\com\twm
.........\src\com\twm
.........\tests\gen\com
.........\.....\src\com
.........\bin\com
.........\gen\com
.........\res\drawable
.........\...\layout
.........\...\raw
.........\...\values
.........\src\com
.........\tests\bin
.........\.....\gen
.........\.....\libs
.........\.....\res
.........\.....\src
.........\assets
.........\bin
.........\gen
.........\libs
.........\res
.........\src
.........\tests
AudioTest
新建文本文档.txt
Android拍照、录像、录音代码范例.txt
    

CodeBus www.codebus.net