Re: [android-developers] Re: Audio Play

2012-11-01 Thread rahul B
Dear, Forward your code. Can help you out. On Fri, Nov 2, 2012 at 2:46 AM, bob b...@coolfone.comze.com wrote: Be sure to use this approach: final Button button = (Button) findViewById(R.id.button_id); button.setOnClickListener(new View.OnClickListener() { public

Re: [android-developers] how to play recorded audio ? using AudioTrack

2012-10-16 Thread rahul B
Hi, My pleasure.. On Tue, Oct 16, 2012 at 3:09 PM, Tamil Arasi arasi...@gmail.com wrote: Hi rahul, Thank u for ur code. this code is very useful to me . On Mon, Oct 15, 2012 at 2:54 PM, rahul B tech.rah...@gmail.com wrote: Here I am posting some sample which works fine with me

Re: [android-developers] how to play recorded audio ? using AudioTrack

2012-10-15 Thread rahul B
Here I am posting some sample which works fine with me.. package com.audiotrack; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.BufferUnderflowException; import android.app.Activity; import android.media.AudioFormat; import

[android-developers] Re: AudioRecord is not working as expected

2012-05-21 Thread rahul B
Dear Amit, please help me out. can you post your running code. I am in search since many days. Plese help me out. Thanks. On Monday, February 27, 2012 12:57:02 PM UTC+5:30, amit wrote: I have written following code in which I am trying to record and play the audio... But all I get is just