This issue happens only on a smat tv android device that I use. When I run the app on Samsung galaxy S3 It worked file. It plays both video and audio together.
So, I wrote a separate app which has a service to play the music. And my app bind to that service and the service can play the music. This solved my problem. On Sat, Apr 27, 2013 at 10:50 PM, bob <[email protected]> wrote: > That's really strange as MediaPlayer.java doesn't have anywhere near 4528 > lines: > > > http://grepcode.com/file_/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/media/MediaPlayer.java/?v=source > > Seems to have about 2433. > > Maybe you can copy and paste the stack trace? > > Thanks. > > > > On Saturday, April 27, 2013 5:27:08 AM UTC-5, shashidhar wrote: >> >> Hi, >> I am trying to run a video(with audio - using surfaceview approach to >> play video) and a separate another audio file in the same activity. For >> this, I am creating 2 media player objects. But, only one media player is >> running at a time. I mean, as soon as the 2nd media player object is >> created, the first one is not working. I get the error >> "*E/MediaPlayer.java(4528): >> release prev. media player*" as soon as it creates the 2nd instance of >> media player. >> >> >> Any help? >> >> Thanks, >> Shashidhar >> > -- > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

