The issue was the event which launched this new Intent.
I was catching the onTouch event....in place of onClick (if it was on
touch I had to dispatch Action.DOWN and Action.UP :))

it can help others guys...So enjoy!

On 14 avr, 20:08, arnouf <[email protected]> wrote:
> Hi all,
>
> I call an activity from another with
> startActivity(new Intent(Caller.this,
>                                 NewActivity.class));
>
> I had a problem with a variable. So, using debug I saw that I pass two
> times in the onCreate method of NewActivity!
>
> I was a little bit surprised.....
>
> Somebody can explain why and how can I avoid this behaviour?
>
> Regads
--~--~---------~--~----~------------~-------~--~----~
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