KK wrote: > hi, > Seems the logcat > > 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): FATAL EXCEPTION: Timer-0 > 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): > java.lang.IllegalStateException > 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): at > android.media.MediaPlayer.getCurrentPosition(Native Method) > 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): at > com.infineon.musicplayer4mNet.MusicPlayerActivity$2.run(MusicPlayerActivity.java:174) > 11-26 13:32:06.727: ERROR/AndroidRuntime(10779): at > java.util.Timer$TimerImpl.run(Timer.java:284) > >
Try to cancel() the timer before releazing media player Also try to avoid Timer/TimerTask, use Handler instead pskink -- 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

