What is the simpliest work with the DataWedge in C# in Android?
I am trying to start up datawedge:
DWedge= new Intent();
DWedge.SetPackage("com.symbol.datawedge");
StartActivityForResult(DWedge, 3000);
I left only one profile DWDEMO, in profiles Profile0 (default) and Launcher reset the flag Profile enabled.
In the method OnActivityResult the data always is null:
protected override void OnActivityResult(int requestCode, Result resultCode, Intent data)
{
base.OnActivityResult(requestCode, resultCode, data);
if (data == null)
Toast.MakeText(this, "data==null", ToastLength.Short).Show();
What is wrong? How to tune profiles and to receive scanned codes into my activity?
My application called Track15.Track15. Can you send me an example in C#?
StartActivityForResult |
1 Replies
Hi, please see https://github.com/darryncampbell/DataWedge-GettingStarted-Samples/tree/... for a sample on using DataWedge through Xamarin (C#). I also wrote an article on Medium walking through the process: https://medium.com/@darryncampbell_83863/getting-started-with-datawedge…