Code Monkey home page Code Monkey logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
This error occurs only for barcodes with leading zeroes and generates the 
following
error and leads to a NullPointer error on line 382 of ListActivity:

ERROR/ContentValues(15503): Cannot parse Integer value for 041143028704 at key 
identifier

line 382: if(contentValues.getAsInteger(getString(R.string.idDB)) != 0)

It must be the case that idDB is a barcode.

This can be fixed by changing line 382 to:

if(contentValues.get(getString(R.string.idDB)) != null){

Original comment by [email protected] on 5 Jan 2010 at 10:35

from posit-mobile.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
This is still causing problems.  POSIT does not crash, but the dialogue does not
appear and the user is not offered an opportunity to save the Find.  The Find 
is not
saved, although the image is saved.

Original comment by [email protected] on 18 Jan 2010 at 1:47

  • Changed state: Started

from posit-mobile.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
This is fixed.  The latest cause of the problem was that return "true" had been
delted in the CONFIRM_EXIT clause.  So the dialogue was immediately exiting.

Original comment by [email protected] on 18 Jan 2010 at 2:40

  • Changed state: Fixed

from posit-mobile.

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.