DataWedge-Intent-Example-1
DataWedge-Intent-Example-1 copied to clipboard
DataWedge data output
Hi, I have xamarin forms app using zebra scanner. Every scan is supposed to populated the listview only. But beside the listview , every entry box with focus is getting populated . Any reason ? In the main activity , i have 👍 _broadcastReceiver = new DataWedgeReceiver(); App scannerApp = new App(); _broadcastReceiver.scanDataReceived += (s, scanData) => { MessagingCenter.Send<App, string>(scannerApp, "ScanBarcode", scanData); }; In my contentPage i have : MessagingCenter.Subscribe<App, string>(this, "ScanBarcode", (sender, arg) => { var message = arg.ToString(); Device.BeginInvokeOnMainThread(() => {
if (JobsCollection.Any(p => p.TicketNo == message.Trim())) { return; }
JobsCollection.Add(new Job { TicketNo = message.Trim() });
scanPage.Title = "Scanned:" + JobsCollection.Count();
});
});
Thanks
Hi,
But beside the listview , every entry box with focus is getting populated .
You probably have the keystroke output turned on in your DataWedge profile, you need to use Intent output and configure your application broadcast receiver appropriately
Hi, Is turning off keystroke output enough ? How can I use Intent output and configure your application broadcast receiver using xamarin ? Or do I have to do that in profile ? Thanks
On Thu, Jan 21, 2021 at 2:57 AM Darryn [email protected] wrote:
Hi,
But beside the listview , every entry box with focus is getting populated .
You probably have the keystroke output turned on in your DataWedge profile, you need to use Intent output and configure your application broadcast receiver appropriately
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/darryncampbell/DataWedge-Intent-Example-1/issues/1#issuecomment-764453583, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAVJCIM7BQYHSGBMIEF6TLS27NABANCNFSM4WLI2DGA .
-- CISSE M. Y. Sofware/Web Developer Phone :(347) 443-9028
Please take a look at this guide to help get started: https://medium.com/@darryncampbell_83863/getting-started-with-datawedge-on-zebra-devices-9af2cdd1110c