Auto Submit of record based on data

Auto Submit of record based on data

Hi,
   I am trying to create an app which will allow the user to scan bar code data from a bar code scanner connected to the mobile and submit it.  The use case is the user will scan barcodes of each product using the barcode scanner and when the user reads a particular bar code say "A0000" which indicates an end of customer I want to submit the form and reload it to read the bar codes of next set of products.
   The users of the App are Visually impaired people and it is hard for them to either use the camera mobile to scan or press submit for every customer. 
  Looking forward to the suggestions.

Abdul