If so, how?
Or can only (java) libraries do it?
I'd rather raise an event than hardcode it to call something from a specific activity
Why:
I made a UI in a code module ( http://www.b4x.com/forum/basic4android-share-your-creations/11287-lcar-star-trek-tng-ui-clone.html ) and I want it to handle all the mouse/touch events
When an item is clicked, I want it to raise an event for it
EDIT: If it's not possible, I can just do it like Erel's multitouch example did it, and push the events into a list. Then just poll that list after touch events.
Or can only (java) libraries do it?
I'd rather raise an event than hardcode it to call something from a specific activity
Why:
I made a UI in a code module ( http://www.b4x.com/forum/basic4android-share-your-creations/11287-lcar-star-trek-tng-ui-clone.html ) and I want it to handle all the mouse/touch events
When an item is clicked, I want it to raise an event for it
EDIT: If it's not possible, I can just do it like Erel's multitouch example did it, and push the events into a list. Then just poll that list after touch events.
Last edited: