Code Monkey home page Code Monkey logo

unitechsample's Introduction

UnitechSample

Xamarin.Forms sample app for Unitech EA510 (EA502) barcode terminals

Screenshot

unitechsample's People

Contributors

zeprogfactory avatar

Watchers

 avatar  avatar  avatar

unitechsample's Issues

Does it work with Unitech EA520?

I'm trying with an Ea520, but it throws an error when setting: mScanManager.SwitchOutputMode(0);
The error is:

{Java.Lang.RuntimeException: stub
at Java.Interop.JniEnvironment+InstanceMethods.CallBooleanMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x0006e] in <00c315a988634383b446eff646084784>:0
at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualBooleanMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0002a] in <00c315a988634383b446eff646084784>:0
at Android.Device.ScanManager.SwitchOutputMode (System.Int32 mode) [0x0001a] in C:\test\Android\UnitechSample-master\Sources\JarBinding\obj\Debug\generated\src\Android.Device.ScanManager.cs:1525
at ZPF.UnitechHelper.initScan () [0x0002b] in C:\test\Android\UnitechSample-master\Sources\SampleUA510.Android\UnitechHelper.cs:36
at SampleUA510.Droid.MainActivity.OnCreate (Android.OS.Bundle savedInstanceState) [0x00076] in C:\test\Android\UnitechSample-master\Sources\SampleUA510.Android\MainActivity.cs:46
at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x00010] in /Users/builder/azdo/_work/1/s/xamarin-android/src/Mono.Android/obj/Release/monoandroid10/android-29/mcw/Android.App.Activity.cs:2704
at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.7(intptr,intptr,intptr)
--- End of managed Java.Lang.RuntimeException stack trace ---
java.lang.RuntimeException: stub
at android.device.ScanManager.switchOutputMode(ScanManager.java:120)
at crc643f00a447f24b6502.MainActivity.n_onCreate(Native Method)
at crc643f00a447f24b6502.MainActivity.onCreate(MainActivity.java:40)
at android.app.Activity.performCreate(Activity.java:8004)
at android.app.Activity.performCreate(Activity.java:7988)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3457)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3648)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2116)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7723)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:997)
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.