summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-07-15Added an optimization to the Android client's LuminanceSource ↵dswitkin1-9/+11
implementation, and removed manual array copies in favor of System.arraycopy(). git-svn-id: http://zxing.googlecode.com/svn/trunk/android@1020 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-10Added Germany to the list of Google Product Search locales.dswitkin1-3/+4
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@1019 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-09Created v2.9 of Barcode Scanner, and added Japanese translations.dswitkin4-8/+117
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@1018 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-26Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, ↵dswitkin3-164/+142
Binarizer, and BinaryBitmap classes. The unit tests pass and I believe the change is complete, but there are some clients like J2ME and Bug that I can't build. This change will allow new thresholding algorithms to be developed and tested, as well as implemented per platform if needed (e.g. in JNI on Android). It should also perform better when multiple 2D Readers are installed, because the underlying image will only be converted to 1 bit once. It also allows some platforms to return luminance data without a copy. The current state of this checkin is to use the old black point algorithm, which now lives in GlobalHistogramBinarizer. This will be our benchmark and fallback for slower platforms. Going forward we will begin to use LocalBlockBinarizer as I shake out the edge cases and tune it for performance. Currently it is unused. IMPORTANT: I have temporarily included three methods from MonochromeBitmapSource at the end of BinaryBitmap as a way to make this change in stages. They are deprecated and will be removed soon. All of the Reader classes will need to change the way they examine 1 bit pixels to use the new getBlackRow() and getBlackMatrix() calls. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@993 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-19Issue 198srowen3-14/+64
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@972 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-18Changed "Search book" back to "Search book contents" for clarity, since it's ↵dswitkin1-3/+4
too confusing next to the "Book Search" button. The "Custom search" button will wrap in this case but it still fits fine. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@970 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-10Issue 155: allow custom product search, and, other small tweaks I think ↵srowen11-109/+59
nobody will yell at me for git-svn-id: http://zxing.googlecode.com/svn/trunk/android@967 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-08Don't use books.google.cn for Book Search -- doesn't exist. Also a few tiny ↵srowen2-15/+26
tweaks. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@965 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-06Updates to compile against 1.5; figuring we will shortly need to be 1.5-friendlysrowen2-12/+19
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@964 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-28Cut Barcode Scanner v2.8 for Android.dswitkin2-9/+7
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@960 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-21I moved a chunk of the histogram/black point code out of ↵dswitkin1-3/+3
BaseMonochromeBitmapSource and into BlackPointEstimator which makes a lot more sense. Unfortunately I had to expose three new methods and touch a bunch of files. But I did manage to reuse an array on subsequent calls, which was being allocated on every row scanned, so that might be a bit faster. It will also be easier to convert this code to JNI in the future if we want to, and/or do more advanced thresholding. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@945 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-21Stopped sending the decode duration in a message, which no one was looking ↵dswitkin1-2/+3
at, and logged it instead. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@943 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-11Added simplified and traditional Chinese translations for the Android client ↵dswitkin2-0/+188
from Kevin Xue. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@935 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01Restore shutdown of connection managersrowen1-1/+5
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@926 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01Streamline contact encoding and avoid encoding a line breaksrowen2-16/+33
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@925 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01Possible small bug fix and cleanup of unneeded codesrowen2-35/+6
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@924 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01Final changes for v2.7 of Barcode Scanner, including sending product lookups ↵dswitkin8-86/+183
to the mobile version of Google Product Search. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@923 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-04-14Fixed or removed a bunch of TODOs, and enforced the 100 columns limit in a ↵dswitkin5-42/+44
bunch of places. Also allowed QR Codes to be encoded of contacts without names. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@907 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-04-14Removed a bunch of logging cruft from the network code which we don't need.dswitkin1-131/+0
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@906 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-04-14Fixed encoding geo locations in a QR code. Some floats got converted to ↵dswitkin1-3/+4
doubles by accident in a previous cleanup pass. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@905 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-11Created v2.6 final, and added the ability for web apps to launch Barcode ↵dswitkin2-2/+10
Scanner by linking to http://zxing.appspot.com/scan. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@885 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-09Changes to create Barcode Scanner 2.6 beta 1.dswitkin3-9/+9
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@882 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-09Turned on ITF support in the Android client, and fixed a bug in the ITF ↵dswitkin1-1/+3
result points, which by convention should draw across the whole body of the barcode, not just the start range. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@881 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-06- Added the version number to the about box in a robust way which will not ↵dswitkin4-13/+24
get stale. - Moved the Book Search user agent into that class, which will continue to get stale, but never belonged in the XML, as it does not need translation. - Added a try/catch block around firing off intents, and an error dialog, so that we don't crash on bad intents like TEL: in the future (even though that particular one was fixed in core). git-svn-id: http://zxing.googlecode.com/svn/trunk/android@875 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-06Changed the order of the BaseMonochromeBitmapSource constructor arguments to ↵dswitkin1-1/+1
be width, height to match the rest of the codebase, and added two apparently missing methods to the J2ME subclass, although I can't test it. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@874 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-20Revised the What's New help page, and bumped the version to 2.5 final.dswitkin2-13/+8
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@866 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-17- Fixed issue 146, QR Codes get clipped when encoding very large amount of ↵dswitkin3-34/+57
data, by adding a ScrollView. - Also added support for sharing multiple email addresses and phone numbers. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@864 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-10Changed the Intent to send emails to address issue 145.dswitkin1-3/+5
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@847 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-10Refactored width/height values into superclass and enabled construction of ↵srowen1-14/+1
RGBMonochromeBitmapSource from a Bitmap git-svn-id: http://zxing.googlecode.com/svn/trunk/android@846 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-06Make public to enable reuse; add convenience constructor for no cropping, or ↵srowen1-19/+65
cropping without a Rect object. Also optimize a few things. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@843 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-05Convert asserts to exceptions where the conditions could be false in a ↵srowen1-2/+3
correct, bug-free program -- makes sure caller errors are caught and reported meaningfully git-svn-id: http://zxing.googlecode.com/svn/trunk/android@840 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-30git-svn-id: http://zxing.googlecode.com/svn/trunk/android@835 ↵srowen1-0/+4
59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-10Small updates from code inspectionsrowen2-14/+9
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@823 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-03git-svn-id: http://zxing.googlecode.com/svn/trunk/android@813 ↵srowen1-0/+2
59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-03git-svn-id: http://zxing.googlecode.com/svn/trunk/android@812 ↵srowen2-2/+2
59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-02Oops, appears I accidentally committed a typo -- addressing thatsrowen1-1/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@811 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-02Commit additional check for null as suggested on discussion groupsrowen1-3/+4
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@810 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-30Add more unit tests for client.result, and more small code tweaks.srowen10-45/+77
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@809 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-16Fixed a broken inline image in the HTML help.dswitkin1-1/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@786 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-12More reckless refactoring and code style tweaks -- mostly adding braces ↵srowen21-26/+84
around conditional/loops, and using @Override git-svn-id: http://zxing.googlecode.com/svn/trunk/android@784 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-11Added two new preferences: vibrate on scan, and copy contents to clipboard ↵dswitkin5-8/+44
on scan. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@783 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-09Small speedups in time-related codesrowen4-15/+32
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@780 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-05Updated the permission to read bookmarks to conform to the new Android API.dswitkin1-1/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@777 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-03Fixed a bug in geo coordinate display, where we were always tacking on "deg ↵dswitkin1-2/+2
N" and "deg E", which doesn't make sense. Really, N/S/E/W needs to be determined by sign, and the sign removed for W and S. However, since none of that can be translated easily, I removed it, and we now just print lat, long which is an acceptable standard. I also bumped the Android client to v2.4 final. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@776 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-03Update the manifest to 2.4 beta 2.dswitkin1-2/+2
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@775 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-03Worked around a bug in Android 1.0 with using gravity and padding at the ↵dswitkin2-4/+2
same time, which broke the Share UI. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@774 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02New HTML edits from Joseph, and added a fading edge to the WebView to make ↵dswitkin8-44/+49
it more obvious that there is more content the user can scroll to. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@773 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-01Added a specific message for unsearchable books, and changed the Exit button ↵dswitkin4-9/+15
in the help to Done to be a little clearer. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@766 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-26Bumped the version number to create v2.4 beta 1.dswitkin1-2/+2
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@763 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-26Created an HTML help system, which is hooked up to the Menu/Help button. It ↵dswitkin22-14/+315
also runs automatically the first time a new version of the app is run on a particular device. I wrote up a bunch of pages, which feature great art by Joseph, including a What's New page that we can edit for every release. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@761 59b500cc-1b3d-0410-9834-0bbf25fbcc57