Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
javoid
Posts: 189
Registered: ‎11-24-2012
My Device: Dev Alpha B, Bold 9700
My Carrier: NA
Accepted Solution

Touch signals don't work in release build, debug is ok.

[ Edited ]

I have two containers that accept touchEvents that are visible at the same time, one underneath the other.  One checks for a horizontal swipe, the other for a vertical swipe.

 

The debug version of my app passes touch events to both containers.

 

The release build, however, only sends the touch event to the top most container.  When I disable the top container touches, the bottom container gets them.

 

Is there any way to have them 'pass through' to the lower container or ensure both containers get signals in a release build?

Please use plain text.
Developer
javoid
Posts: 189
Registered: ‎11-24-2012
My Device: Dev Alpha B, Bold 9700
My Carrier: NA

Re: Touch signals don't work in release build, debug is ok.

Didn't initialize a boolean flag properly, which controlled whether to allow the connection to be established or not.

 

Sometimes was true and other times false.

 

:smileyindifferent:

Please use plain text.