Hello MDK experts,
I'm currently working on an MDK application within the Web IDE, where users scan barcodes sequentially, leading to the generation of a TXT file. My progress includes the successful implementation of sequential barcode reading and file generation.
In alignment with the initial functional specification, the user has requested a menu with two options:
For the first option, I've opted for the MDK Barcode Scanner action approach. I've implemented logic in an MDK Rule that saves each scanned record in clientData, generating an array.
The second option, "Download Scanned Records," is also managed by a rule. In this case, I retrieve all the scanned records from clientData, generate a TXT file, and then facilitate its download to a specific folder on Android devices (in this case, Downloads Folder).
I would like to inquire about the feasibility of detecting whether the user has clicked on the "X" button in the Barcode Scanner Interface. The objective is to trigger the file download and generate a summary of scanned records upon closure of the Barcode Scanner Interface.
I'm uncertain whether this functionality is achievable. Could you kindly provide insight into whether this can be accomplished?
For reference, I attach a screenshot illustrating the scenario in question.
Thank you for your assistance.
Best regards,
Cristian