summaryrefslogtreecommitdiff
path: root/android/src
AgeCommit message (Collapse)AuthorFilesLines
2009-11-26Committing for consideration since I really think this is a win. Issue 283.srowen1-0/+3
git-svn-id: https://zxing.googlecode.com/svn/trunk@1127 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-24Slightly better app filteringsrowen2-5/+35
git-svn-id: https://zxing.googlecode.com/svn/trunk@1126 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23Draft of 'thinking' visualization for barcode scanning. Works for 1D and QR ↵srowen5-59/+123
codes. git-svn-id: https://zxing.googlecode.com/svn/trunk@1125 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23Filter some non-market appssrowen1-1/+11
git-svn-id: https://zxing.googlecode.com/svn/trunk@1124 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23Consolidated all the Android LuminanceSource classes into one file. Either a ↵dswitkin8-413/+27
device can be handled by this file, or the app won't work. The Android platform requires every device to support yuv420sp camera preview buffers, but we also let two other similar formats sneak in for compatibility. I also removed the ability to convert LuminanceSource data into ARGB images, which wasn't used. I also reverted a String-related change to QRCodeEncoder.java. The new method appears present in Java 1.6's String class but not in Android's. git-svn-id: https://zxing.googlecode.com/svn/trunk@1121 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22Bug fix, use data height/width to check input sizesrowen1-1/+2
git-svn-id: https://zxing.googlecode.com/svn/trunk@1120 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22Technically split out YUV 4:2:0 and 4:2:2 support and tried implementing RGB ↵srowen5-28/+149
conversion for 4:2:0 git-svn-id: https://zxing.googlecode.com/svn/trunk@1119 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22Logging vCard content received to help debugsrowen1-3/+8
git-svn-id: https://zxing.googlecode.com/svn/trunk@1117 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-20Issue 278srowen2-4/+52
git-svn-id: https://zxing.googlecode.com/svn/trunk@1115 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-17Tiny speedupssrowen2-11/+11
git-svn-id: https://zxing.googlecode.com/svn/trunk@1111 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-17Commit share app functionality for broader testing and commentssrowen3-4/+143
git-svn-id: https://zxing.googlecode.com/svn/trunk@1110 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-03Issue 263srowen1-3/+8
git-svn-id: https://zxing.googlecode.com/svn/trunk@1094 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-30Committing Jeff's latest for ISSUE-238. May still be an issue with ↵srowen4-19/+96
international properties? git-svn-id: https://zxing.googlecode.com/svn/trunk@1091 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-23The final compatibility changes for Barcode Scanner 3.0, which is now finished.dswitkin1-2/+2
git-svn-id: https://zxing.googlecode.com/svn/trunk@1084 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-22- Added back support for Cupcake by making the choice of preview callback ↵dswitkin1-1/+23
conditional on the build flavor. - Fixed a number of non-dpi-aware resource dimensions. - Bumped the version to 3.0 beta 3. git-svn-id: https://zxing.googlecode.com/svn/trunk@1081 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-20- Fixed a crash on first launch after install on some hardware.dswitkin3-4/+15
- Moved the beep sound to the music stream and made the volume keys work. - Bumped the version to 3.0 beta 2. git-svn-id: https://zxing.googlecode.com/svn/trunk@1080 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-20Properly drop table on updatesrowen1-1/+1
git-svn-id: https://zxing.googlecode.com/svn/trunk@1078 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-20Update DB version to ensure older clients update (see Issue 254)srowen1-1/+1
git-svn-id: https://zxing.googlecode.com/svn/trunk@1076 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-19- Created Barcode Scanner 3.0 beta 1, for Donut and above only.dswitkin2-15/+113
- Added support for ACTION_SEND intent for encoding a QR from Contacts. - Made VCARD parsing a little less strict. - Updated help and fixed a minor UI issue. - Removed vestigial intent support using the old package name. git-svn-id: https://zxing.googlecode.com/svn/trunk@1075 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-13Switched back to the one shot preview mechanism and lowered the beep volume ↵dswitkin2-7/+5
a bit. git-svn-id: https://zxing.googlecode.com/svn/trunk@1071 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-30Enhanced book supportsrowen1-5/+20
git-svn-id: https://zxing.googlecode.com/svn/trunk@1068 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-30Improved history functionsrowen3-38/+87
git-svn-id: https://zxing.googlecode.com/svn/trunk@1066 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-28Unbroke the app after the big subpackage reshuffle of '09:dswitkin3-8/+11
- Updated manifest entries. - Made necessary classes public. - Fixed ProGuard exclusions. - Updated resource file class name. git-svn-id: https://zxing.googlecode.com/svn/trunk@1065 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-21Add history feature; group some functionality into subpackagessrowen26-99/+330
git-svn-id: https://zxing.googlecode.com/svn/trunk@1058 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-16Allow custom search on 'text' results. Seems maybe useful for Code 128/39 ↵srowen1-5/+20
payloads, and, the UI for this result type is not overcrowded yet git-svn-id: https://zxing.googlecode.com/svn/trunk@1055 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-15Spell checker fixes, narrowed scope / made less visible where possible. ↵srowen1-2/+2
Little stuff git-svn-id: https://zxing.googlecode.com/svn/trunk@1053 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-11Added some comments to public methods.dswitkin2-3/+39
git-svn-id: https://zxing.googlecode.com/svn/trunk@1051 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-11This should have been deleted in the last change.dswitkin1-130/+0
git-svn-id: https://zxing.googlecode.com/svn/trunk@1050 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-11Lots of updates:dswitkin35-826/+1219
- Added support for new YUYV preview buffer format. - Made the preview rectangle larger. - Added support for high resolution screens. - Updated for Donut but still runs on Cupcake. - Converted to standard Java coding style for member variables. - Added many comments and author tags. - Removed some Petit Four hacks and vestigial code. *** The app must be built with the Donut SDK from now on. git-svn-id: https://zxing.googlecode.com/svn/trunk@1049 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-04Final changes for Barcode Scanner 2.93.dswitkin1-2/+5
git-svn-id: https://zxing.googlecode.com/svn/trunk@1046 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-27Revert to pre-Cupcake preview callback system since seems to be some ↵srowen2-2/+3
collision between the new one and auto-focus callback that stops scanning in some cases. Also, remove a bad version number from search activity? git-svn-id: https://zxing.googlecode.com/svn/trunk@1042 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-21Made another fix for the Samsung Galaxy, and bumped the version to 2.92.dswitkin1-3/+6
git-svn-id: https://zxing.googlecode.com/svn/trunk@1036 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-19Made a new fix to turn off the Samsung Galaxy flash, and cut release 2.91.dswitkin1-2/+3
git-svn-id: https://zxing.googlecode.com/svn/trunk@1035 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-30Add MatrixToImageWriter convenience class, small code tweaks in javase/, ↵srowen1-2/+2
make ByteMatrix width/height property getters names standard git-svn-id: https://zxing.googlecode.com/svn/trunk@1028 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-22Set a camera parameter to force the flash off. Also fixed the uninstall ↵dswitkin1-0/+3
build targets. git-svn-id: https://zxing.googlecode.com/svn/trunk@1024 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-21Converted the Android client and the test app to use the Android 1.5 SDK, ↵dswitkin1-3/+3
and to use a more efficient preview frame mechanism too. We now require devices to be running Cupcake or a newer version of the platform. This change temporarily removes the Proguard step, which Sean is going to add back. git-svn-id: https://zxing.googlecode.com/svn/trunk@1023 59b500cc-1b3d-0410-9834-0bbf25fbcc57
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: https://zxing.googlecode.com/svn/trunk@1020 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-10Added Germany to the list of Google Product Search locales.dswitkin1-3/+4
git-svn-id: https://zxing.googlecode.com/svn/trunk@1019 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: https://zxing.googlecode.com/svn/trunk@993 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-19Issue 198srowen3-14/+64
git-svn-id: https://zxing.googlecode.com/svn/trunk@972 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-10Issue 155: allow custom product search, and, other small tweaks I think ↵srowen9-105/+45
nobody will yell at me for git-svn-id: https://zxing.googlecode.com/svn/trunk@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: https://zxing.googlecode.com/svn/trunk@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: https://zxing.googlecode.com/svn/trunk@964 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: https://zxing.googlecode.com/svn/trunk@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: https://zxing.googlecode.com/svn/trunk@943 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01Restore shutdown of connection managersrowen1-1/+5
git-svn-id: https://zxing.googlecode.com/svn/trunk@926 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01Streamline contact encoding and avoid encoding a line breaksrowen2-16/+33
git-svn-id: https://zxing.googlecode.com/svn/trunk@925 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01Possible small bug fix and cleanup of unneeded codesrowen2-35/+6
git-svn-id: https://zxing.googlecode.com/svn/trunk@924 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01Final changes for v2.7 of Barcode Scanner, including sending product lookups ↵dswitkin4-76/+157
to the mobile version of Google Product Search. git-svn-id: https://zxing.googlecode.com/svn/trunk@923 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-04-14Fixed or removed a bunch of TODOs, and enforced the 100 columns limit in a ↵dswitkin4-38/+43
bunch of places. Also allowed QR Codes to be encoded of contacts without names. git-svn-id: https://zxing.googlecode.com/svn/trunk@907 59b500cc-1b3d-0410-9834-0bbf25fbcc57