Hi, Where are you unbinding (& stopping) your the service ? Where are you stopping the thread ?
I think you need to study service lifecycle carefully. http://developer.android.com/guide/topics/fundamentals/services.html http://developer.android.com/reference/android/app/Service.html Regards On Jun 22, 12:44 pm, Hitendrasinh Gohil <[email protected]> wrote: > Here is my log. > > I/WindowManager( 59): WIN DEATH: Window{43fc27e0 > com.musix.main/com.musix.main.MainMenu paused=false} > I/ActivityManager( 59): Process com.musix.main (pid 296) has died. > W/ActivityManager( 59): Service crashed 2 times, stopping: > ServiceRecord{43f3c050 com.musix.main/.NotificationService} > I/WindowManager( 59): WIN DEATH: Window{43ff2318 > com.musix.main/com.musix.main.StreamingPlayerView paused=false} > I/WindowManager( 59): WIN DEATH: Window{44044b00 > com.musix.main/com.musix.main.CustomArtist paused=true} > I/ActivityManager( 59): Start proc com.musix.main for activity > com.musix.main/.MainMenu: pid=322 uid=10036 gids={3003} > W/InputManagerService( 59): Got RemoteException sending setActive(false) > notification to pid 296 uid 10036 > I/ActivityManager( 59): Displayed activity com.musix.main/.MainMenu: 1239 > ms (total 1239 ms) > W/KeyCharacterMap( 322): No keyboard for id 0 > W/KeyCharacterMap( 322): Using default keymap: > /system/usr/keychars/qwerty.kcm.bin > > > > > > > > > > On Tue, Jun 21, 2011 at 8:54 PM, TreKing <[email protected]> wrote: > > On Tue, Jun 21, 2011 at 3:50 AM, Hitendrasinh Gohil < > > [email protected]> wrote: > > >> .when the activity is visible > >> there isnt any problem.but when i navigate to previous screen and > >> again going to this activity it causes forced close to my app. > >> how to resolve this? > > > Use LogCat and your debugger to debug your code. > > > --------------------------------------------------------------------------- > > ---------------------- > > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > > transit tracking app for Android-powered devices > > > -- > > 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 > > -- > Regards, > Hitendrasinh Gohil -- 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

