The strange thing is that it only occurs on my samsung device not in
the emulator.

I even reproduced it with a fresh mini project (from eclipse 'new
project')
creating only one notification (like in the gist) at startup.
Clicking on that notification results in two calls of startActivity on
device. It results only in one call of startActivity in emulator.

Could this be a bug?

Regards,
Peter.

On 4 Apr., 12:29, Karussell <[email protected]> wrote:
> Hi there,
>
> what is wrong when my activity is started twice when I click on the
> created notification?
> I'm creating the notification inside a thread of a service. Here is
> the creation code:https://gist.github.com/899952
>
> I read that singleTop could solve this problem but I'm implementing a
> search so singleTop is not an option for me as I want to preserve
> history.
>
> Regards,
> Peter.

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