-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Number Format Exception #1
Comments
I will fetch the exception in the upcoming release and make the the server details persistent. |
That is very helpful info regarding acceptable barcode numbers. I was trying to scan a part number series that I have generated (Specifically #N00000). All my 'Internal Part Numbers' begin with '#' and have 6 alphanumeric characters (e.g. #K023Z5 and all my 'Storage Locations' begin with '$' and are 4 characters. Using PartKeepr with the barcode parsing routine set up in I can scan a part code (beginning with '#') and if it is recognised, the item will be displayed. If the part is unrecognised it will prompt to add a new item. If it is a location that is scanned (i.e. begins with '$'), PartKeepr will show all items at that location.
This functionality is quite useful - would I need to relabel all my items with the integer Internal ID in order to use Scannr? This would probably be a deal breaker for me.
Would it be possible to be more accommodating with looking up user generated Part numbers?
BW
John
On Nov 29, 2016, at 11:01 AM, mdrobisch <[email protected]> wrote:
I will fetch the exception in the upcoming release and make the the server details persistent.
I add some further imformation of valid barcode-tags in the documentation. I hope this helps to get it working.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Are you still working on this? |
Sorry for such a late reply - this had been on hold for a while but I have now revisited this as I have spent a long while reorganising my components. In the process, I have renumbered my parts to use the internal id which actually makes life much easier! I would like to be able to get this to work with Partkeepr/Scannr AND with a keyboard 'wedge' scanner. Background In the past I had a separately generated part number for all my components but realised this was not a good plan. I have now renumbered all my parts to be like '#375' (where 375 is the internal part number). With the new part numbers and location numbers (e.g. Would it be fairly simple to accommodate these prefixes (or any other user prefixes)? |
I had some further thoughts. You only have to make an allowance for a scan result that begins with the 'part' prefix. |
I gave in and renumbered all my parts - the renumbering wasn't too bad but I do now have a lot of new labels to stick on. |
Hi @Gasman2014 and @mdrobisch, The problem with the java.lang.NumberFormatException also happens when you use a EAN-13 number or a string in @Gasman2014 case. To fix this just handle to output from the barcode reader as a string instead of an integer. I will make a pr to change this. i also found a few other things for those i will make separate issues and pr's |
Installs and runs OK. Accepts login details but does not remember server details. Brings up camera scanner window and allows scanning - and identifies barcode number but immediately fails with a
java.lang.NumberFormatException during partscannrapp.ContinousCaptureActivity.
On a spare Android phone that I don't want to set up mail on so can't send entire error message
Android 5.1.1 / Kernel 3.10.49
The text was updated successfully, but these errors were encountered: