Code Monkey home page Code Monkey logo

Comments (5)

josejuansanchez avatar josejuansanchez commented on May 20, 2024 1

@bmdalton You are right, the proposed PR in #53 only solves the issue described in the title :)

from usbserial.

bmdalton avatar bmdalton commented on May 20, 2024

Update: if you have the issue of the app crashing after you detach the USB device (when it was functionally working at whatever you need it to do), this does NOT fix that.

from usbserial.

felHR85 avatar felHR85 commented on May 20, 2024

This fix is still not merged. @bmdalton Did you try it on the pull request branch?

from usbserial.

bmdalton avatar bmdalton commented on May 20, 2024

I have. I have a copy of the code running in Android Studio, so I physically made the changes there. In both the original and the updated version, I have the same crash, which I have discovered is the result of modification of one line of code.

In your sample app, you have
screen shot 2016-06-28 at 4 02 45 pm
while I have updated this to be
screen shot 2016-06-28 at 4 03 10 pm

As you can see, I change "mActivity.get().display.append(data);" to "mActivity.get().setData(dataS);" which subsequently causes the crash. When I comment out that line, the app does not crash when I disconnect the USB device however it also doesn't function.

from usbserial.

abhishekkumar1902 avatar abhishekkumar1902 commented on May 20, 2024

any solutions for this crash issue?

from usbserial.

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.