GithubHelp home page GithubHelp logo

Comments (4)

jobhh avatar jobhh commented on July 26, 2024

Are you running this on a compatible Urovo device?

from sdk_releaseforandroid.

CY015 avatar CY015 commented on July 26, 2024

I have just deployed it on the AVD(Pixel 4 XL) and my personal Android phones, but both of them were crashed.

You mean I should deploy it on the suitable device (such as a Smart POS I9000S/I9100 model, PDA I6310/DT50/DT40/DT30 model) like he said in README.md?

Are you running this on a compatible Datalogic device?

from sdk_releaseforandroid.

jobhh avatar jobhh commented on July 26, 2024

It looks like the sample is using Urovo specific stuff, like Urovo's ScanManager class: https://github.com/urovosamples/SDK_ReleaseforAndroid/blob/master/Samples/ScanManager/app/src/main/java/com/scan/demo/ScanManagerDemo.java

If you click the code from Urovo's SDK in your IDE you'll see only a stub, the SDK imported to the project contains no actual implementation. To actually run it you'll need a device that has an implementation of Urovo's SDK installed.

That said, I'm not a great fan of the namespace Urovo is using. For example ScanManager is located at android.device.ScanManager. It would have been so much clearer if they would use something like com.urovo.device.ScanManager for their SDK. Now it's needlessly hard to distiguish between classes from the Android OS and Urovo's SDK.

from sdk_releaseforandroid.

CY015 avatar CY015 commented on July 26, 2024

Thank you for your sincerely answer, I will try it later.

Maybe I misunderstood at first, seeing that the projects in the Samples folder can run directly on the devices without modifying too much code.

from sdk_releaseforandroid.

Related Issues (20)

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.