Hi 

This issue is coming because of media player if ur see 


02-29 21:19:31.765: E/AndroidRuntime(5374): Caused by: 
*java.lang.**IllegalStateException* 

02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
*android.media.MediaPlayer*._stop(Native Method) 

02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
*android.media.MediaPlayer.**stop*(MediaPlayer.java:964) 


this is basically memory leak issue.
http://code.google.com/p/android/issues/detail?id=957 
http://stackoverflow.com/questions/7089201/android-media-player-returns-illegalstateexception
 
http://stackoverflow.com/questions/4445663/mediaplayer-prepare-is-throwing-an-illegalstateexception-when-playing-m4a-file
 

this s common issue in  android .. just go through these link and will 
solve ur problem 

Enjoy 
Moktarul Anam 


On Wednesday, 29 February 2012 18:08:17 UTC+5:30, Jae-young Yun wrote:
>
> Logcat 
>
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374): 
> java.lang.RuntimeException: Unable to stop activity 
> {com.android.sinsunby/com.android.sinsunby.SevenActivity}: 
> java.lang.IllegalStateException 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.app.ActivityThread.performDestroyActivity(ActivityThread.java: 
> 3607) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.app.ActivityThread.handleDestroyActivity(ActivityThread.java: 
> 3673) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.app.ActivityThread.access$2900(ActivityThread.java:125) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.os.Handler.dispatchMessage(Handler.java:99) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.os.Looper.loop(Looper.java:123) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.app.ActivityThread.main(ActivityThread.java:4627) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> java.lang.reflect.Method.invokeNative(Native Method) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> java.lang.reflect.Method.invoke(Method.java:521) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> com.android.internal.os.ZygoteInit 
> $MethodAndArgsCaller.run(ZygoteInit.java:858) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> dalvik.system.NativeStart.main(Native Method) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374): Caused by: 
> java.lang.IllegalStateException 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.media.MediaPlayer._stop(Native Method) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.media.MediaPlayer.stop(MediaPlayer.java:964) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> com.android.sinsunby.SevenActivity.onStop(SevenActivity.java:236) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.app.Instrumentation.callActivityOnStop(Instrumentation.java: 
> 1171) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.app.Activity.performStop(Activity.java:3857) 
>
> 02-29 21:19:31.765: E/AndroidRuntime(5374):         at 
> android.app.ActivityThread.performDestroyActivity(ActivityThread.java: 
> 3602) 
>
> i don't know why this happen,,,

-- 
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

Reply via email to