should I use Data Widget or EMDK for a Xamarin form application

Tags: 

I am very new to the mobile application development. we bought a TC72. I have been working on a Xamarin form for the device.
Should I use Data Widget or EMDK to work with my Xamarin form? does Data Widget even work with Xamarin form?

Thanks a lot!

Darryn Campbell
The recommended development

The recommended development approach is to use DataWedge to capture data.  I did a couple of tutorials a while back on integrating DW with Xamarin: http://www.darryncampbell.co.uk/2018/01/16/tutorial-scan-with-datawedge-intent-output-on-zebra-devices-with-xamarin/ and http://www.darryncampbell.co.uk/2018/04/10/tutorial-the-datawedge-intent-api-with-xamarin/ 

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Fang Zhang
Thanks Darryn for your

Thanks Darryn for your information. I tried your samples. It works for native android forms. I am looking for some examples that passing scanned data to an Xamarin.form text field.

My form defined as
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:stockApp"
x:Class="stockApp.MainPage"
Title="My Application">
<StackLayout Margin="20" Spacing="20">
<Label Text="Barcode Number"/>
<Entry x:Name="item_barcode"
Placeholder="Please Scan your item barcode"
Text="" />
<Grid ColumnSpacing="20">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Button Text="Login"
Clicked="OnSaveButtonClicked" />
<Button Grid.Column="1"
Text="Reset"
Clicked="OnResetButtonClicked"/>
</Grid>
</StackLayout>
</ContentPage>

How can I pass in the value from scanner to item_barcode text field?

Is there any sample code for this?

Thanks a lot!

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Darryn Campbell
It is more of a Xamarin

It is more of a Xamarin question and I am not a Xamarin expert but please see https://developer.zebra.com/community/home/blog/2018/07/11/xamarinforms-freshmvvm-datawedge-take-2, specifically the sample app at https://github.com/Zebra/Inventory/releases/tag/datawedge2 which shows how to do this

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments