andbook!.pdf - Learning Android Get an anddev.org - Android-Shirt Back to index
anddev.org Header Logo
FAQ Search Top rated articles Browse Feeds anddev.org - Authors Contact Details Register Log in

Tutorial: Custom Media Streaming for Android's MediaPlayer

Goto page Previous  1, 2
 
       anddev.org - Android Development Community | Android Tutorials | Index -> Advanced Tutorials
Author Message
marielisacr
Junior Developer


Joined: 21 May 2008
Posts: 12

PostPosted: Fri May 23, 2008 3:29 am    Post subject: Reply with quote

Hi,

i check what you said, the method deleteTrackName() is also called when i debug your tutorial, the same for enable() and disable() so i guess it isn't the problem. I don't kwon what they do, i only found people with my same problem but with any solution post it.

If you said that you did a robust media player i guess it can be done but i really don't have any idea what is happening now, if you figure out anything please tell me, i really need it.

Thanks for your help
Back to top
View user's profile Send private message
biosopher
Developer


Joined: 15 Mar 2008
Posts: 25
Location: San Francisco, California

PostPosted: Fri May 23, 2008 3:41 am    Post subject: Reply with quote

To debug further, you need to put in more debug traces to figure out exactly which method is being called and failing.

Sadly that's the only way to develop the robust player I now have. It took quite awhile to debug and I had many similar application crashes along the way.

If you're using Eclipse, it would be much easier to skip the debug traces and set breakpoints.

Once you've done that & figured out which method call creates the crash, let me know. I can help you track it down more from there.

Biosopher
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marielisacr
Junior Developer


Joined: 21 May 2008
Posts: 12

PostPosted: Fri May 23, 2008 4:19 am    Post subject: Reply with quote

Thanks, i will do that.

I will continue debbuging the aplication, as sun as i figure out which method is crashing i will let you know.

Thanks for your help
Back to top
View user's profile Send private message
marielisacr
Junior Developer


Joined: 21 May 2008
Posts: 12

PostPosted: Fri May 30, 2008 11:19 pm    Post subject: Reply with quote

Hi biosopher,

I solve my problem, i was working in other things when i realize wath was the problem.

To start i did a better management of the files, and the main problem was to many instances of the MediaPlayer, instead of use new MediaPlayer y just used the method reset().

Thank for everything and good luck in the android challenge Wink
Back to top
View user's profile Send private message
Display posts from previous:   
       anddev.org - Android Development Community | Android Tutorials | Index -> Advanced Tutorials All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


© 2007, Android Development Community
All rights reserved.
Powered by phpBB.