summaryrefslogtreecommitdiff
path: root/src/com
AgeCommit message (Collapse)AuthorFilesLines
2008-06-26Big refactoring of ParsedResult: now split into ResultParser and ↵srowen3-67/+39
ParsedResult classes, per Christian's suggestion. This unifies the parsed results that are produced from various input, simplifying client handling of different types. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@482 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-20Standardize and update all copyright statements to name "ZXing authors" as ↵srowen9-9/+9
suggested by open-source team to correctly attribute copyright in a project with contributions from several sources. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@455 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-12Refactored the MonochromeBitmapSource hierarchy to share a great deal of ↵dswitkin1-108/+26
code and shrink the derived classes considerably. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@418 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-11Fix bad logic black point estimator, improving threshold estimation ↵srowen1-1/+1
performance (and adjust some == to .equals()) git-svn-id: http://zxing.googlecode.com/svn/trunk/android@417 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-24Added SMSTO support, added subject/body param support in mailto:, improved ↵srowen1-6/+9
handling of mailto: and tel: URIs git-svn-id: http://zxing.googlecode.com/svn/trunk/android@402 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-03Merged revisions 378,380,382 via svnmerge from dswitkin3-1/+21
https://zxing.googlecode.com/svn/trunk/android-m3 ........ r378 | dswitkin | 2008-04-28 21:27:27 -0400 (Mon, 28 Apr 2008) | 4 lines - Added Joseph's excellent supermarket checkout beep. There seems to be a bug in the M3 framework where it sometimes plays twice or hiccups. - Changed the status bar to flash green for a second when the result points are drawn. - Added install as a target to the build file. - Fixed a crashing bug when decoding from preview mode (driver problem). ........ r380 | srowen | 2008-05-02 14:39:03 -0400 (Fri, 02 May 2008) | 2 lines Added preliminary support for MobileTag formats; not enabled yet. Added "sms:" URI support. ........ r382 | srowen | 2008-05-02 15:18:14 -0400 (Fri, 02 May 2008) | 1 line Many more little tweaks from IntelliJ inspections ........ git-svn-id: http://zxing.googlecode.com/svn/trunk/android@384 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-02Many more little tweaks from IntelliJ inspectionssrowen5-25/+32
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@382 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-02Fix typo introduced at the last second before commit. Watch that 'a' key!srowen1-1/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@381 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-02Added preliminary support for MobileTag formats; not enabled yet.srowen1-3/+17
Added "sms:" URI support. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@380 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-22Merged revisions 321,327,330,332,334,342-343,352-353,355-358,361-363,365,372 ↵dswitkin7-247/+597
via svnmerge from https://zxing.googlecode.com/svn/trunk/android-m3 ........ r321 | srowen | 2008-03-28 09:57:55 -0700 (Fri, 28 Mar 2008) | 1 line Updates for 0.6; set aside a different android-m3-home variable for android-m3 build ........ r327 | srowen | 2008-03-31 12:04:38 -0700 (Mon, 31 Mar 2008) | 1 line Made the RGB to luminance approximation/optimization a little faster -- one less shift ........ r330 | dswitkin | 2008-03-31 13:55:38 -0700 (Mon, 31 Mar 2008) | 1 line Changed the project names for the two Android clients to disambiguate them. ........ r332 | dswitkin | 2008-04-01 09:11:36 -0700 (Tue, 01 Apr 2008) | 1 line Added some debugging features to the M3 Android client. You can now press 'C' to capture a photo, 'U' to decode only UPC/1D barcodes, and 'Q' to decode only QR Codes. ........ r334 | dswitkin | 2008-04-01 12:23:05 -0700 (Tue, 01 Apr 2008) | 1 line Added latency measurement in milliseconds to the Android client. ........ r342 | dswitkin | 2008-04-03 14:13:50 -0700 (Thu, 03 Apr 2008) | 1 line Improved the Android M3 viewfinder display, by making the framing box larger and zooming in. Also fixed a bug when restarting the activity where the camera params were stale. Fixed handling of geo and tel URIs. ........ r343 | srowen | 2008-04-03 15:18:16 -0700 (Thu, 03 Apr 2008) | 1 line Moved the "geo:" fix to the 'right' place ........ r352 | dswitkin | 2008-04-08 08:25:13 -0700 (Tue, 08 Apr 2008) | 1 line Rewrote the Android M3 client to do continuous decoding, which means you no longer have to push the shutter button. Now you can just place the barcode in the viewfinder and it will display the contents as soon as it decodes them. That also means you no longer get "barcode not found" error dialogs which is a big improvement. Also made sure that capturing debug JPEGs uses unique filenames. ........ r353 | dswitkin | 2008-04-08 09:06:13 -0700 (Tue, 08 Apr 2008) | 1 line Improved the CameraThread state machine, and fixed a bug where preview would not continue after capture. ........ r355 | dswitkin | 2008-04-10 13:57:37 -0700 (Thu, 10 Apr 2008) | 1 line Made sure the BitmapSource subclasses do not reuse a BitArray which is too small. ........ r356 | dswitkin | 2008-04-11 12:30:54 -0700 (Fri, 11 Apr 2008) | 1 line Changed ProGuard settings so it will inline methods which use private members. This eliminates tens of thousands of function calls to BitArray.get() on a typical decode, and lots of other work as well. Overall we're roughly 20% faster by using ProGuard than turning it off. ........ r357 | dswitkin | 2008-04-11 13:25:09 -0700 (Fri, 11 Apr 2008) | 1 line Made the worker threads shut down synchronously to fix a race condition where the CameraManager could close the camera driver too soon. ........ r358 | dswitkin | 2008-04-11 14:16:08 -0700 (Fri, 11 Apr 2008) | 1 line Added 'T' as a shortcut to toggle debug method tracing using android.os.Debug and traceview for analysis. The traces are written to /sdcard, which means the SD Card must not be mounted as a volume by USB at the time. Tracing can slow down decoding by a factor of 5 or more but gives very useful insights into where the time is going. ........ r361 | dswitkin | 2008-04-15 15:34:49 -0700 (Tue, 15 Apr 2008) | 1 line A couple small improvements to the CameraManager. ........ r362 | srowen | 2008-04-15 17:27:36 -0700 (Tue, 15 Apr 2008) | 1 line Small simplification of build file condition properties using else attribute ........ r363 | srowen | 2008-04-15 17:34:13 -0700 (Tue, 15 Apr 2008) | 1 line Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android ........ r365 | dswitkin | 2008-04-17 13:09:17 -0700 (Thu, 17 Apr 2008) | 1 line Converted the Android client to use a status bar on the bottom of the screen instead of dialogs for a much better, less interrupting user experience. ........ r372 | dswitkin | 2008-04-21 11:11:02 -0700 (Mon, 21 Apr 2008) | 1 line Added some simple sharpening for 1D decoding which allowed a couple more blackbox images to pass. There were a few cases where the format or content is now misdetected, but since the net gain was positive I decided to make those non-fatal errors. In real world use the sharpening seems to help, and I think we can do even better with a better algorithm. ........ git-svn-id: http://zxing.googlecode.com/svn/trunk/android@374 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-11Made sure the BitmapSource subclasses do not reuse a BitArray which is too ↵dswitkin1-1/+1
small. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@355 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-04Forward-porting Daniel's fixsrowen1-1/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@344 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-31Removed @Override from Tom's code, which gave errors in 1.5 because they ↵dswitkin1-5/+0
referred to an interface instead of a base class. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@328 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-31Made the RGB to luminance approximation/optimization a little faster -- one ↵srowen1-3/+3
less shift git-svn-id: http://zxing.googlecode.com/svn/trunk/android@327 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-28Updates to build on M5srowen7-97/+215
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@320 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26Improved bounds-checking and point-nudging logic in GridSampler. We should ↵srowen1-1/+1
check more than endpoints. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@317 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26Removed old YUV-based implementationsrowen1-126/+0
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@314 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26biasTowardsWhite was, embarassingly, not accomplishing anything ↵srowen2-6/+2
mathematically. It proved to not have much value so has been removed, to simplify the code. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@313 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19More proper support for geo: URLs in Androidsrowen2-9/+9
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@301 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19Fixed bug in rotation code for BufferedImageMonochromeBitmapSource; fixed ↵srowen2-2/+4
"SKIP_N_BARCODES" behavior to ignore barcodes already found. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@297 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17Add support for tel: URIssrowen2-0/+9
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@292 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17Fixed naming convention. Everything should be a "ParsedResult"srowen1-12/+12
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@289 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17Some refactoring to remove small disconnect between how Results are handled ↵srowen2-85/+80
and whether the client thinks it can do anything meaningful with a Result git-svn-id: http://zxing.googlecode.com/svn/trunk/android@288 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17Nope, disable link from geo: URL to Google Maps. Does not quite work in the ↵srowen1-8/+9
browser yet. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@287 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17Add client support for geo URIssrowen1-0/+8
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@285 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14Move GridSampler into common package and refactor to ready it for use with ↵srowen1-44/+14
Data Matrix git-svn-id: http://zxing.googlecode.com/svn/trunk/android@278 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-12Refactorings to allow raw bytes to be passed back with reader result, where ↵srowen1-2/+2
applicable git-svn-id: http://zxing.googlecode.com/svn/trunk/android@270 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11Deprecated YUV versionsrowen1-0/+2
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@263 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11Switch to RGB-based captures for decoding, in preparation for move to ↵srowen3-2/+151
continuous scan model git-svn-id: http://zxing.googlecode.com/svn/trunk/android@262 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-11Fixed handling of new Android Intent resultsrowen3-2/+12
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@261 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06Add support for Android Intent URIs encoded in a barcodesrowen2-1/+70
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@250 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06Now supports KDDI/AU / Softbank address book formatsrowen1-2/+17
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@249 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-05Various code tweaks and refactorings suggested by IntelliJsrowen3-14/+14
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@246 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-04Don't like using == instead of equals() here, even though it's valid here. ↵srowen1-7/+7
Fixed that. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@240 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-04Fix typo in method "isRotate*d*Supported"; don't attempt to rotate images of ↵srowen1-1/+1
unknown format git-svn-id: http://zxing.googlecode.com/svn/trunk/android@238 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-03Use TRY_HARDER hint in javase CommandLineRunner. TRY_HARDER now tries ↵srowen1-0/+8
rotating the image when dealing with 1D barcodes. Clarified and fixed value type of several items in the "hints" Hashtables. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@235 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-26Added "URLTO" format supportsrowen2-4/+13
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@229 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-22Improved GridSampler API -- no need for reflection anymore. Reintroduced ↵srowen2-0/+115
Android GridSampler implementation, which still doesn't quite work yet. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@221 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-21Oh and made a constant field finalsrowen1-1/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@219 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-21Now calls setSizeFromLayout() rather than fixed to a 320x240 sizesrowen1-4/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@218 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-15Replaced busy wait with wait()/notifyAll() idiomsrowen1-9/+26
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@206 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-15Brought this back into sync with BufferedImageMonochromeBitmapSourcesrowen1-57/+14
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@205 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-14Biiig standardization of whitespace. 2 space indents now, no tabs.srowen6-145/+144
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@191 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-14More minor javadoc, code tweakssrowen3-7/+27
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@189 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-14This is the first version of the ZXing Android client.dswitkin6-0/+966
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@185 59b500cc-1b3d-0410-9834-0bbf25fbcc57