summaryrefslogtreecommitdiff
path: root/src/com/google
AgeCommit message (Collapse)AuthorFilesLines
2009-11-22Logging vCard content received to help debugsrowen1-3/+8
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@1117 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-20Issue 278srowen2-4/+52
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@1115 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-17Tiny speedupssrowen2-11/+11
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@1111 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-17Commit share app functionality for broader testing and commentssrowen3-4/+143
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@1110 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-03Issue 263srowen1-3/+8
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@1080 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-20Properly drop table on updatesrowen1-1/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@1071 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-30Enhanced book supportsrowen1-5/+20
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@1068 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-30Improved history functionsrowen3-38/+87
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@1065 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-21Add history feature; group some functionality into subpackagessrowen26-99/+330
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@1053 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-11Added some comments to public methods.dswitkin2-3/+39
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@1051 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-11This should have been deleted in the last change.dswitkin1-130/+0
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@1049 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-04Final changes for Barcode Scanner 2.93.dswitkin1-2/+5
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: http://zxing.googlecode.com/svn/trunk/android@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: 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-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-10Issue 155: allow custom product search, and, other small tweaks I think ↵srowen9-105/+45
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-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-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 ↵dswitkin4-76/+157
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 ↵dswitkin4-38/+43
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-09Changes to create Barcode Scanner 2.6 beta 1.dswitkin1-1/+1
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 ↵dswitkin3-11/+21
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-17- Fixed issue 146, QR Codes get clipped when encoding very large amount of ↵dswitkin2-11/+27
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