DataWedge-Intent-Example-1 icon indicating copy to clipboard operation
DataWedge-Intent-Example-1 copied to clipboard

DataWedge data output

Open cissemy opened this issue 4 years ago • 3 comments

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

cissemy avatar Jan 20 '21 21:01 cissemy

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

darryncampbell avatar Jan 21 '21 07:01 darryncampbell

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

cissemy avatar Jan 21 '21 12:01 cissemy

Please take a look at this guide to help get started: https://medium.com/@darryncampbell_83863/getting-started-with-datawedge-on-zebra-devices-9af2cdd1110c

darryncampbell avatar Jan 21 '21 13:01 darryncampbell