Re: [android-developers] play sound file

2012-04-29 Thread Jonas Petersson
On 2012-04-28 17:51, Mai Al-Ammar wrote: I install the new program every time but it still the old file. This my be related to what I have noted: Apparently there is some kind of optimization going on when deploying iteratively from Eclipse - adding files will work as expected, but removing

Re: [android-developers] play sound file

2012-04-29 Thread asheesh arya
try to install apk accurately in your mobile device then test it -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] play sound file

2012-04-28 Thread Mai Al-Ammar
Hello every one, I tried to play sound file (*.mp3) in Android application. I used the following code: MediaPlayer m = new MediaPlayer (); m = MediaPlayer.create(this, R.raw.start1); m.start(); first, I play a sound file, then when I tried to play another sound file, it still play the old one

Re: [android-developers] play sound file

2012-04-28 Thread Mark Murphy
On Sat, Apr 28, 2012 at 10:23 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I tried to play sound file (*.mp3) in Android application. I used the following code: MediaPlayer m = new MediaPlayer (); m = MediaPlayer.create(this, R.raw.start1); m.start(); first, I play a sound file, then when

Re: [android-developers] play sound file

2012-04-28 Thread Mai Al-Ammar
I did not delete it at run time, I delete the file before I compile the project and replace it with other file. but the program still play the old one On Sat, Apr 28, 2012 at 5:34 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Apr 28, 2012 at 10:23 AM, Mai Al-Ammar mai.alam...@gmail.com

Re: [android-developers] play sound file

2012-04-28 Thread Mark Murphy
On Sat, Apr 28, 2012 at 10:49 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I did not delete it at run time, I delete the file before I compile the project and replace it with other file. but the program still play the old one Then you did not install the modified app on the device. -- Mark

Re: [android-developers] play sound file

2012-04-28 Thread Mai Al-Ammar
I install the new program every time but it still the old file. On Sat, Apr 28, 2012 at 5:55 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Apr 28, 2012 at 10:49 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I did not delete it at run time, I delete the file before I compile the

Re: [android-developers] play sound file

2012-04-28 Thread Mark Murphy
On Sat, Apr 28, 2012 at 11:51 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I install the new program every time but it still the old file. You are mistaken about something. I have no way of telling you what. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

Re: [android-developers] play sound file

2012-04-28 Thread Mai Al-Ammar
I solve it :) I forgot to do clean the project in eclipse , I just compile and build thanks for your effort On Sat, Apr 28, 2012 at 7:12 PM, Mark Murphy mmur...@commonsware.comwrote: On Sat, Apr 28, 2012 at 11:51 AM, Mai Al-Ammar mai.alam...@gmail.com wrote: I install the new program every

[android-developers] Play Sound File

2010-07-22 Thread Monali
Hi, can we play sound file in phone line (in background)?? Please help me Thanks in Advance Monali -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from