StartActivityForResult

E Efkan YILMAZ 3 years 7 months ago
23 1 0

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#?

CONTACT
Can’t find what you’re looking for?