Hi all,

I tried some stuffs, but i didn't find yet the solution, so
question...

I've a Layout containing some ImageView.

I manage the TouchEvent on the layout, with a setOnTouchListener, to
launch animation when user slide on screen. If I do a slide on an
Image, nothing happens. So I would like that the animation is launched
when user slide on an image.

I tried to use the dispatch event from my ImageView, but my app crash
always...I get a NullPointer but I don't finf where...the logs are not
really explicit...see below
Do you have a solution or a good strategy?

Thanks for your help

04-10 19:18:38.884: ERROR/AndroidRuntime(12224):
java.lang.NullPointerException
04-10 19:18:38.884: ERROR/AndroidRuntime(12224):     at
android.view.ViewRoot.handleMessage(ViewRoot.java:1198)
04-10 19:18:38.884: ERROR/AndroidRuntime(12224):     at
android.os.Handler.dispatchMessage(Handler.java:88)
04-10 19:18:38.884: ERROR/AndroidRuntime(12224):     at
android.os.Looper.loop(Looper.java:123)
04-10 19:18:38.884: ERROR/AndroidRuntime(12224):     at
android.app.ActivityThread.main(ActivityThread.java:3739)
04-10 19:18:38.884: ERROR/AndroidRuntime(12224):     at
java.lang.reflect.Method.invokeNative(Native Method)
04-10 19:18:38.884: ERROR/AndroidRuntime(12224):     at
java.lang.reflect.Method.invoke(Method.java:515)
04-10 19:18:38.884: ERROR/AndroidRuntime(12224):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:739)
04-10 19:18:38.884: ERROR/AndroidRuntime(12224):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
04-10 19:18:38.884: ERROR/AndroidRuntime(12224):     at
dalvik.system.NativeStart.main(Native Method)
--~--~---------~--~----~------------~-------~--~----~
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