Hi!

I'am writing an online radio streamer application. It's working very
well (activity->bind service->notificiation bar, ...etc), but
sometimes when I go back to the UI (ex.: click to the application icon
from the menu, when the service and the activity are already running -
> onResume) it's start a new/second/duplicated activity, but the old
one does't killed. For example: when I press key back after that it's
destroy the new activity and going to back to the old one, and I can
kill it too.

I put this code to the onResume:
Log.v(TAG, "Activity onResume called. Context:"+context);
and onlye when the problem is occured (stared the second activity
above the old one), I got a different contex id.

Where is the problem?

Thanks,
Leslie

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to