Hello, I've tried The web Interface to post that message but the message is
not appearing, so here it goes by mail.

The message >>
>
> Hello everyone,
>
> there is a question that's been annoying me and I don't find a clear
> answer in the documentation.
>
> I've got a activity showing the user a list of songs to play, and when
> he opens a song I launch an activity which embed a player.
>
> My problem is that when i finish playing i call "this.finish()", but
> when the user reopen the player, the "onCreate" is launched and it
> seems that the GUI is building itself "again".
>
> I've tried to not call "this.finish()" and call the
> Activity.startActivity on the father, but with this way, when I clic
> on the "back" button on the emulator, I get all the players playing in
> the same time (they still exist).
>
> So my question, is there a way to make an activity "a singleton" or to
> freeze it to be retrieved later (It can't be able to retrieve it with
> "back" button) or a way to cache all the constructions so to not have
> to do it again ?
>
>
> Thanks in advance.
> Your sincerly.

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