Community
Topic: Xamarin component
Xamarin.Forms trial stuck on startup (SOLVED)
Hello
I was trying to test the good promising xamarin component. So, I installed it through NuGet on a new dedicated VS Xamarin.Forms project (PCL). I'm currently focused only on Android, so I've unloaded the iOS and UWP projects.
I followed the steps described in the GetStarted section here: https://components.xamarin.com/gettingstarted/pikkartar
As told in the guide, I added a marker to the \Assets\markers folder, as well as the trial license.spz to \Assets
But when I run the app on a Samsung tablet with Android 5.1.1, the app starts up on a blank screen, and nothing happens.
This is the OnCreate method from my MainActivity.cs:
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.apptest);
var _cameraFragment = FragmentManager.FindFragmentById
_cameraFragment.StartRecognition(new RecognitionOptions(RecognitionOptions.RecognitionStorage.Local, RecognitionOptions.RecognitionMode.ContinuousScan, new CloudRecognitionInfo(new String[] { })), this);
}
Hi,
the component we provide you allows only image recognition, to be able to display any content you need to implement your own rendering engine. We provide an Android example at this link. Soon we will release this part of tutorial written in c# for Xamarin too.
Alternatively there is already an iOS project in the sample folder of the Xamarin component that can be found at this link.
Best,
Ok, thank you. Looking forward for the Xamarin sample app.