Datawedge new line not working on dynamic screens - Android

// Expert user has replied.
D Devanand Kondur 3 years 6 months ago
19 2 0

Hi,
 
   I configured Datawedge to properly send an entery key after each scan. My scree(action in android) is dynamic and each time it repaints. The enter key is being sent only the first time. When I repaint it with a new set of widgets (Views) on an TextEntry field it does not get the new line. Has anyone experienced such a situation before?
 
While debugging the first time I see that it hits the breakpoint (ontextchanged action) twice first without the new line and next with the new line. When the screen is repainted with new widgets it hits only once with the data.
 
thanks

Please Register or Login to post a reply

2 Replies

T THARINDU WELIGODAPOLA

Hi Can you confirm whether you have the text field focus after repaint the activity.

Y Yanis Dalabiras

Hi, I have not heard of this issue before.  There should not be any dependencies between how a text field is created and how DW sends the keys.  Presumably the DW profile is not changing as a result of the screen repainting?  i.e. perhaps DW is configured to only apply your profile when a specific activity is displayed and for some reason DW is switching profile during the repaint, perhaps going back to the default profile?

CONTACT
Can’t find what you’re looking for?