question

alexneem avatar image
alexneem asked Mark Mullan Deactivated answered

CloverSDK for Windows - Xamarin

I want to try use the Clover SDK with Xamarin in Visual Studio, is there a .NET SDK? I have tried converting the .jar files to a DLL for use within Visual Studio but get a load of errors....

SeverityCodeDescriptionProjectFileLineSuppression StateErrorCS0535'MerchantConnector.MerchantCallable' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Merchant.MerchantConnector.cs14ActiveErrorCS0534'AuthTask' does not implement inherited abstract member 'AsyncTask.DoInBackground(params Object[])'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.Util.AuthTask.cs9ActiveErrorCS0534'AppConnector' does not implement inherited abstract member 'ServiceConnector.GetServiceInterface(IBinder)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.App.AppConnector.cs9ActiveErrorCS0534'CustomerConnector' does not implement inherited abstract member 'ServiceConnector.GetServiceInterface(IBinder)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Customer.CustomerConnector.cs9ActiveErrorCS0534'MerchantConnector' does not implement inherited abstract member 'ServiceConnector.GetServiceInterface(IBinder)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Merchant.MerchantConnector.cs9ActiveErrorCS0535'MerchantConnector.MerchantCallableInvoker' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Merchant.MerchantConnector.cs36ActiveErrorCS0534'OrderPrintJob.Builder' does not implement inherited abstract member 'PrintJob.Builder.Build()'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.Job.OrderPrintJob.cs27ActiveErrorCS0534'ReceiptPrintJob.Builder' does not implement inherited abstract member 'PrintJob.Builder.Build()'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.Job.ReceiptPrintJob.cs28ActiveErrorCS0534'RefundPrintJob.Builder' does not implement inherited abstract member 'PrintJob.Builder.Build()'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.Job.RefundPrintJob.cs51ActiveErrorCS0534'StaticOrderPrintJob.Builder' does not implement inherited abstract member 'PrintJob.Builder.Build()'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.Job.StaticOrderPrintJob.cs89ActiveErrorCS0534'StaticReceiptPrintJob.Builder' does not implement inherited abstract member 'PrintJob.Builder.Build()'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.Job.StaticReceiptPrintJob.cs26ActiveErrorCS0534'TestOrderPrintJob.Builder' does not implement inherited abstract member 'PrintJob.Builder.Build()'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.Job.TestOrderPrintJob.cs26ActiveErrorCS0534'TestReceiptPrintJob.Builder' does not implement inherited abstract member 'PrintJob.Builder.Build()'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.Job.TestReceiptPrintJob.cs26ActiveErrorCS0534'TextPrintJob.Builder' does not implement inherited abstract member 'PrintJob.Builder.Build()'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.Job.TextPrintJob.cs49ActiveErrorCS0534'ViewPrintJob.Builder' does not implement inherited abstract member 'PrintJob.Builder.Build()'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.Job.ViewPrintJob.cs49ActiveErrorCS0534'PrinterConnector' does not implement inherited abstract member 'ServiceConnector.GetServiceInterface(IBinder)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.PrinterConnector.cs9ActiveErrorCS0535'PrinterConnector.PrinterCallable' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.PrinterConnector.cs14ActiveErrorCS0535'PrinterConnector.PrinterCallableInvoker' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.PrinterConnector.cs36ActiveErrorCS0534'ReceiptRegistrationConnector' does not implement inherited abstract member 'ServiceConnector.GetServiceInterface(IBinder)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.ReceiptRegistrationConnector.cs9ActiveErrorCS0535'ReceiptRegistrationConnector.ReceiptRegistrationCallable' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.ReceiptRegistrationConnector.cs14ActiveErrorCS0535'ReceiptRegistrationConnector.ReceiptRegistrationCallableInvoker' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Printer.ReceiptRegistrationConnector.cs36ActiveErrorCS0534'TenderConnector' does not implement inherited abstract member 'ServiceConnector.GetServiceInterface(IBinder)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Tender.TenderConnector.cs9ActiveErrorCS0535'TenderConnector.TenderCallable' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Tender.TenderConnector.cs14ActiveErrorCS0535'TenderConnector.TenderCallableInvoker' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V1.Tender.TenderConnector.cs36ActiveErrorCS0534'AppsConnector' does not implement inherited abstract member 'ServiceConnector.GetServiceInterface(IBinder)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V3.Apps.AppsConnector.cs9ActiveErrorCS0535'AppsConnector.AppCallable' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V3.Apps.AppsConnector.cs14ActiveErrorCS0535'AppsConnector.AppCallableInvoker' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V3.Apps.AppsConnector.cs36ActiveErrorCS0534'EmployeeConnector' does not implement inherited abstract member 'ServiceConnector.GetServiceInterface(IBinder)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V3.Employees.EmployeeConnector.cs9ActiveErrorCS0535'EmployeeConnector.EmployeeCallable' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V3.Employees.EmployeeConnector.cs14ActiveErrorCS0535'EmployeeConnector.EmployeeCallableInvoker' does not implement interface member 'ServiceConnector.IServiceCallable.Call(Object, ResultStatus)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V3.Employees.EmployeeConnector.cs36ActiveErrorCS0534'InventoryConnector' does not implement inherited abstract member 'ServiceConnector.GetServiceInterface(IBinder)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V3.Inventory.InventoryConnector.cs9ActiveErrorCS0534'OrderConnector' does not implement inherited abstract member 'ServiceConnector.GetServiceInterface(IBinder)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Sdk.V3.Order.OrderConnector.cs9ActiveErrorCS0535'Decimal' does not implement interface member 'IComparable.CompareTo(Object)'CloverBindingsc:\POC\CloverPoc\CloverBindings\obj\Debug\generated\src\Com.Clover.Core.Internal.Calc.Decimal.cs9ActiveErrorThe "ResolveLibraryProjectImports" task failed unexpectedly.System.IO.FileNotFoundException: Could not load assembly 'CloverBindings, Version=0.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?File name: 'CloverBindings.dll' at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters) at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(String fullName) at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Extract(DirectoryAssemblyResolver res, ICollection`1 jars, ICollection`1 resolvedResourceDirectories, ICollection`1 resolvedAssetDirectories, ICollection`1 resolvedEnvironments) at Xamarin.Android.Tasks.ResolveLibraryProjectImports.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()CloverPocAndroidApp

Can anyone help me? I am tearing my hair out here! :(
Clover Android SDK
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Mark Mullan avatar image
Mark Mullan Deactivated answered
Hi @alexneem,

Our clover-android-sdk is, at this point, only intended for native Android development. We have not developed it consciously intending that it will be compatible with Xamarin or other cross-platform development solutions. I've never encountered the trace that you posted (thanks for providing it), so it does seem Xamarin specific.

Our remote-pay-windows SDK would allow you to integrate your C# .NET POS with a Clover Mini via USB, if the .NET POS was operated from a separate device. But this will not help build a native Android app to live on the device itself.

Hope this helps... let us know more of what you're looking to accomplish if any additional questions come up.

Mark
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community