dswitkin
963c449b81
Made the buttons on the Share screen a bit wider and better spaced out. I didn't bother with the landscape version although it could use the same treatment.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1133 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-03 16:42:43 +00:00
dswitkin
67280f4ced
Reduced ProGuard passed from 7 to 4 since there was no additional benefit.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1132 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-03 16:04:51 +00:00
srowen
5199348cfd
Issue 274, for consideration
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1129 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-26 02:47:44 +00:00
srowen
b93d81b9f0
git-svn-id: https://zxing.googlecode.com/svn/trunk@1128 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-26 02:31:27 +00:00
srowen
dd41427374
Committing for consideration since I really think this is a win. Issue 283.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1127 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-26 01:47:04 +00:00
srowen
1cd7c7e44c
Slightly better app filtering
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1126 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23 22:44:19 +00:00
srowen
d1973dce0a
Draft of 'thinking' visualization for barcode scanning. Works for 1D and QR codes.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1125 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23 16:42:31 +00:00
srowen
aee98771a2
Filter some non-market apps
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1124 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23 15:26:33 +00:00
srowen
c9175ecae2
Pull out optimize target so we can selectively disable ProGuard with -Dno-optimize
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1123 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-23 09:41:58 +00:00
dswitkin
f4cd22ee1a
Consolidated all the Android LuminanceSource classes into one file. Either a 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-23 03:16:41 +00:00
srowen
5339ef7757
Bug fix, use data height/width to check input size
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1120 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22 15:24:29 +00:00
srowen
87b6b0ec66
Technically split out YUV 4:2:0 and 4:2:2 support and tried implementing RGB conversion for 4:2:0
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1119 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22 12:55:18 +00:00
srowen
c0c1290611
Logging vCard content received to help debug
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1117 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-22 05:59:00 +00:00
srowen
f337db0b35
Issue 278
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1115 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-20 00:55:13 +00:00
srowen
f919bbcba5
Use the new Android 2.0-style SDK value for this field so it compiles
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1112 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-17 20:33:13 +00:00
srowen
57cebcc697
Tiny speedups
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1111 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-17 20:32:10 +00:00
srowen
58b5bf7b0f
Commit share app functionality for broader testing and comments
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1110 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-17 11:54:15 +00:00
dswitkin
3b957d3dec
Made the final changes for Barcode Scanner 3.01.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1103 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-06 17:10:10 +00:00
srowen
c47cf9752e
Improve Spanish translation from Marcelo, standardize lines for comparison, add some auto translation of missing strings in Chinese
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1101 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-06 10:01:37 +00:00
srowen
5be212750e
Issue 263
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1094 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-11-02 23:04:24 +00:00
srowen
154172b6ab
Committing Jeff's latest for ISSUE-238. May still be an issue with international properties?
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1091 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-30 18:34:37 +00:00
srowen
7e9f5c95f9
German translation
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1090 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-30 10:38:32 +00:00
srowen
6d7cab3dd4
Possible small fix for missing external-libs-folder issue
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1087 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-26 15:23:01 +00:00
srowen
30f60cd2b7
French translation
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1086 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-24 23:47:49 +00:00
srowen
ac87d667c7
Update and reformat Russian translation
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1085 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-23 22:59:13 +00:00
dswitkin
bb763ea960
The final compatibility changes for Barcode Scanner 3.0, which is now finished.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1084 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-23 16:40:54 +00:00
srowen
989d3387f6
Russian translation
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1083 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-22 23:46:03 +00:00
srowen
0a26db6e5a
Tiny clarification to build
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1082 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-22 18:55:27 +00:00
dswitkin
7f428a3a9b
- Added back support for Cupcake by making the choice of preview callback 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-22 14:51:53 +00:00
dswitkin
c36697c812
- Fixed a crash on first launch after install on some hardware.
...
- 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-20 18:09:40 +00:00
srowen
f4940b5782
Properly drop table on update
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1078 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-20 16:57:21 +00:00
srowen
4bd0064326
Fixes to Spanish translation
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1077 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-19 20:55:08 +00:00
srowen
79f27cde1b
Update DB version to ensure older clients update (see Issue 254)
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1076 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-19 20:44:45 +00:00
dswitkin
0fd5a2c506
- Created Barcode Scanner 3.0 beta 1, for Donut and above only.
...
- 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-19 18:04:57 +00:00
srowen
16c8ded299
Issue 246, add Italian translation (and standardize spacing of strings.xml files)
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1072 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-13 16:55:16 +00:00
dswitkin
3bf20cf82f
Switched back to the one shot preview mechanism and lowered the beep volume a bit.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1071 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-10-13 14:02:13 +00:00
srowen
762bb70046
Enhanced book support
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1068 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-29 22:33:55 +00:00
srowen
85fc102cb9
Draft Spanish translation -- in review with native speaker
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1067 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-29 22:33:30 +00:00
srowen
29b88b66e3
Improved history function
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1066 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-29 22:33:03 +00:00
dswitkin
1c4fe60220
Unbroke the app after the big subpackage reshuffle of '09:
...
- 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-28 16:07:20 +00:00
dswitkin
965ea2f3fe
Updated the HTML "What's new" page with 3.0 features.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1062 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-23 15:19:44 +00:00
dswitkin
4c7fb2cbd7
Bumping to 3.0 alpha 2 to reflect the new history feature.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1061 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-23 15:07:13 +00:00
srowen
e844ff06f4
Add history feature; group some functionality into subpackages
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1058 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-21 18:03:29 +00:00
srowen
8c876a047a
Allow custom search on 'text' results. Seems maybe useful for Code 128/39 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-16 09:58:41 +00:00
srowen
5b041daad0
Spell checker fixes, narrowed scope / made less visible where possible. Little stuff
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1053 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-15 09:03:05 +00:00
dswitkin
2b0d14963d
Added some comments to public methods.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1051 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-11 16:11:47 +00:00
dswitkin
7983309b66
This should have been deleted in the last change.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1050 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-11 14:02:39 +00:00
dswitkin
833ca52c27
Lots of updates:
...
- 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-10 22:18:58 +00:00
dswitkin
e83cb0cef1
Final changes for Barcode Scanner 2.93.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1046 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-09-03 20:37:38 +00:00
srowen
fff6624521
SImplified optimization a bit and made it more aggressive.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1044 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-28 13:31:16 +00:00
srowen
b05d7601cf
Revert to pre-Cupcake preview callback system since seems to be some 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-26 21:48:52 +00:00
dswitkin
599d513d73
Made another fix for the Samsung Galaxy, and bumped the version to 2.92.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1036 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-21 14:18:31 +00:00
dswitkin
fc9bc55213
Made a new fix to turn off the Samsung Galaxy flash, and cut release 2.91.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1035 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-08-19 14:52:16 +00:00
srowen
6dbf893cb0
Add MatrixToImageWriter convenience class, small code tweaks in javase/, 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-30 08:58:57 +00:00
srowen
91d8e04d86
Re-enable ProGuard, and finally identified the workaround that seems to make 4.4 work with our code without a VerifyError
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1025 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-22 10:36:11 +00:00
dswitkin
9dc583f556
Set a camera parameter to force the flash off. Also fixed the uninstall build targets.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1024 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-21 21:36:33 +00:00
dswitkin
d71c099313
Converted the Android client and the test app to use the Android 1.5 SDK, 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-21 19:33:25 +00:00
dswitkin
38f73bca64
Added an optimization to the Android client's LuminanceSource 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-15 18:32:01 +00:00
dswitkin
c51c5800f6
Added Germany to the list of Google Product Search locales.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1019 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-10 18:55:04 +00:00
dswitkin
c0cf079ccb
Created v2.9 of Barcode Scanner, and added Japanese translations.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@1018 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-07-09 15:20:42 +00:00
dswitkin
167197ec7a
Refactored the MonochromeBitmapSource class hierarchy into LuminanceSource, 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-26 17:49:45 +00:00
srowen
63a1dc62a3
Issue 198
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@972 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-19 13:23:09 +00:00
dswitkin
ea0ef87c2b
Changed "Search book" back to "Search book contents" for clarity, since it's 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: https://zxing.googlecode.com/svn/trunk@970 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-18 15:51:18 +00:00
srowen
eed790a0bf
Issue 155: allow custom product search, and, other small tweaks I think nobody will yell at me for
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@967 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-10 16:40:56 +00:00
srowen
96025842a1
Don't use books.google.cn for Book Search -- doesn't exist. Also a few tiny tweaks.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@965 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-08 17:00:09 +00:00
srowen
9bc1fe4695
Updates to compile against 1.5; figuring we will shortly need to be 1.5-friendly
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@964 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-06-06 19:50:27 +00:00
dswitkin
b24162298a
Cut Barcode Scanner v2.8 for Android.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@960 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-28 16:03:28 +00:00
dswitkin
e19e9a83f6
I moved a chunk of the histogram/black point code out of 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-21 19:56:25 +00:00
dswitkin
c8d74f359f
Stopped sending the decode duration in a message, which no one was looking at, and logged it instead.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@943 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-21 16:02:24 +00:00
dswitkin
9ab5dc84ab
Added simplified and traditional Chinese translations for the Android client from Kevin Xue.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@935 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-11 14:58:14 +00:00
srowen
35800f4bca
Restore shutdown of connection manager
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@926 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01 19:13:47 +00:00
srowen
fb2813d1ea
Streamline contact encoding and avoid encoding a line break
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@925 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01 17:25:42 +00:00
srowen
e168d0c3c6
Possible small bug fix and cleanup of unneeded code
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@924 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01 17:23:17 +00:00
dswitkin
ae1241880b
Final changes for v2.7 of Barcode Scanner, including sending product lookups to the mobile version of Google Product Search.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@923 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-05-01 14:36:57 +00:00
dswitkin
02f779cbee
Fixed or removed a bunch of TODOs, and enforced the 100 columns limit in a 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
2009-04-13 21:20:11 +00:00
dswitkin
312d33c381
Removed a bunch of logging cruft from the network code which we don't need.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@906 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-04-13 20:33:28 +00:00
dswitkin
4166f0d707
Fixed encoding geo locations in a QR code. Some floats got converted to doubles by accident in a previous cleanup pass.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@905 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-04-13 20:09:51 +00:00
dswitkin
1038cfef62
Created v2.6 final, and added the ability for web apps to launch Barcode Scanner by linking to http://zxing.appspot.com/scan .
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@885 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-11 19:35:23 +00:00
dswitkin
824121f0de
Changes to create Barcode Scanner 2.6 beta 1.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@882 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-09 20:06:14 +00:00
dswitkin
5b5c7945bb
Turned on ITF support in the Android client, and fixed a bug in the ITF result points, which by convention should draw across the whole body of the barcode, not just the start range.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@881 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-09 15:57:57 +00:00
dswitkin
24580d6bac
- Added the version number to the about box in a robust way which will not 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: https://zxing.googlecode.com/svn/trunk@875 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-06 18:31:45 +00:00
dswitkin
c1bc060065
Changed the order of the BaseMonochromeBitmapSource constructor arguments to 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: https://zxing.googlecode.com/svn/trunk@874 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-03-06 16:52:35 +00:00
dswitkin
b2f3eb6b7b
Revised the What's New help page, and bumped the version to 2.5 final.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@866 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-20 19:04:13 +00:00
dswitkin
bbfc82cc47
- Fixed issue 146, QR Codes get clipped when encoding very large amount of data, by adding a ScrollView.
...
- Also added support for sharing multiple email addresses and phone numbers.
git-svn-id: https://zxing.googlecode.com/svn/trunk@864 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-17 17:10:23 +00:00
dswitkin
fb4c6f9d48
Changed the Intent to send emails to address issue 145.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@847 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-10 20:08:20 +00:00
srowen
f2a9165b7c
Refactored width/height values into superclass and enabled construction of RGBMonochromeBitmapSource from a Bitmap
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@846 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-09 21:25:45 +00:00
srowen
5546f77004
Make public to enable reuse; add convenience constructor for no cropping, or cropping without a Rect object. Also optimize a few things.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@843 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-06 14:06:05 +00:00
srowen
1c539c66a4
Convert asserts to exceptions where the conditions could be false in a correct, bug-free program -- makes sure caller errors are caught and reported meaningfully
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@840 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-05 13:06:19 +00:00
srowen
89176baf0c
git-svn-id: https://zxing.googlecode.com/svn/trunk@835 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-30 18:19:16 +00:00
srowen
37fbeaa36a
Small updates from code inspection
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@823 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-10 17:01:34 +00:00
srowen
6d8febc69e
git-svn-id: https://zxing.googlecode.com/svn/trunk@813 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-03 14:30:45 +00:00
srowen
0e253bbad1
git-svn-id: https://zxing.googlecode.com/svn/trunk@812 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-03 14:25:49 +00:00
srowen
3fc5820213
Oops, appears I accidentally committed a typo -- addressing that
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@811 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-02 18:41:04 +00:00
srowen
29f9ff964c
Commit additional check for null as suggested on discussion group
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@810 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-02 14:32:24 +00:00
srowen
9433c5955b
Add more unit tests for client.result, and more small code tweaks.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@809 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-30 15:31:25 +00:00
dswitkin
2d9c5fbc5f
Fixed a broken inline image in the HTML help.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@786 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-16 20:18:09 +00:00
srowen
131cfe4c5c
More reckless refactoring and code style tweaks -- mostly adding braces around conditional/loops, and using @Override
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@784 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-11 23:34:49 +00:00
dswitkin
c91265df17
Added two new preferences: vibrate on scan, and copy contents to clipboard on scan.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@783 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-11 17:09:12 +00:00
srowen
1f2699c196
Small speedups in time-related code
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@780 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-09 16:20:32 +00:00
dswitkin
d300a96e7a
Updated the permission to read bookmarks to conform to the new Android API.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@777 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-05 16:09:36 +00:00
dswitkin
3ef2b0b618
Fixed a bug in geo coordinate display, where we were always tacking on "deg 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: https://zxing.googlecode.com/svn/trunk@776 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-03 16:14:56 +00:00
dswitkin
e63f1c843c
Update the manifest to 2.4 beta 2.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@775 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02 22:27:12 +00:00
dswitkin
27380eb838
Worked around a bug in Android 1.0 with using gravity and padding at the same time, which broke the Share UI.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@774 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02 22:10:27 +00:00
dswitkin
271c9b2dde
New HTML edits from Joseph, and added a fading edge to the WebView to make it more obvious that there is more content the user can scroll to.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@773 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-02 20:26:21 +00:00
dswitkin
7f5c93a71d
Added a specific message for unsearchable books, and changed the Exit button in the help to Done to be a little clearer.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@766 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-01 16:10:28 +00:00
dswitkin
e52e695dee
Bumped the version number to create v2.4 beta 1.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@763 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-26 15:30:34 +00:00
dswitkin
fd327c94c4
Created an HTML help system, which is hooked up to the Menu/Help button. It 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: https://zxing.googlecode.com/svn/trunk@761 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-25 22:12:02 +00:00
dswitkin
4e5aa67970
Made phone numbers hyphenated in the display below the encoded QR Code.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@759 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-22 01:20:25 +00:00
dswitkin
8df34ebb42
Added great new artwork from Joseph for the Share UI. Also renamed the Share menu item to be clearer.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@758 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-21 21:04:11 +00:00
dswitkin
6d7d507e27
Forced the Android client to only decode the existing 7 formats, thereby excluding ITF for the time being.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@751 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 21:05:50 +00:00
dswitkin
960a169da7
Added support for encoding multiple email addresses and phone numbers using the new constants I added to the Contacts app for Android 1.1.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@750 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20 19:58:33 +00:00
dswitkin
7b0a66862d
Updated the Android client to use native/local QR Code encoding. For now it still runs on a thread and has a temporary "Working..." dialog. As I optimize a bit further, these may not be necessary.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@739 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-19 20:54:39 +00:00
dswitkin
87ab9a5aa5
Added support for adding a contact with multiple email addresses and phone numbers. This change requires Android 1.1 to work, but is harmless on 1.0.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@723 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-18 21:31:35 +00:00
srowen
ecc05c1ef3
Appear to have fixed the URL escaping issues this time without regression
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@710 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-16 10:20:20 +00:00
srowen
002d80eed2
Added note about dex's issue with post-optimization debug symbol table
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@700 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-14 14:13:45 +00:00
srowen
ad307ebc0b
making stuff final, weakening types, etc. per IntelliJ analysis
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@693 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-13 13:14:53 +00:00
dswitkin
bbbef0d716
Wrote a new bookmark picker activity for use by the Share button, because I couldn't get the platform version to work.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@691 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-12 15:42:44 +00:00
dswitkin
acd409b094
Fixed a regression in the QR Code encoder. The contents do not need to be run through URLEncoder first.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@690 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-12 14:40:23 +00:00
dswitkin
bb52a165d0
Changed the ChartServer and Search Book Contents URLs back to google.com instead of using the LocaleManager, as they are API calls, not user-facing websites.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@687 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-11 19:19:11 +00:00
dswitkin
e9a6e8e906
Added support for Furigana using the SOUND field in MECARD. AddressBookParsedResult now has a pronunciation field to represent this. I'm not aware of whether this is supported in other formats like VCARD, so they all pass null for now.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@686 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-11 16:31:27 +00:00
srowen
88b77d67db
Now attempts to use locale-specific Google property in client. Also made some stuff final that can be.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@685 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-11 15:32:31 +00:00
dswitkin
5a26635782
Somehow the IntelliJ Subversion integration did not commit these deleted files when I did the rename.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@684 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-11 14:48:11 +00:00
dswitkin
9de8f5e1f0
Hid the Share menu if the results screen was showing, since it didn't make sense. Also change the autofocus delay to 1.5 seconds, to make it hunt a little less, and give the autoexposure system more time to run.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@683 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-10 22:47:09 +00:00
dswitkin
aef1dedb61
Did a bunch of renaming, there was no need for the Barcodes prefix.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@682 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-10 20:50:34 +00:00
dswitkin
f21c34ae16
First pass at adding a UI for sharing data via QR Codes. There's now a Share button in the main capture menu which leads to a choice of contacts, bookmarks, and clipboard contents, which will be encoded and shown full screen. Launching the bookmarks picker currently crashes with a permission problem, which I'm investigating.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@681 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-10 20:35:33 +00:00
dswitkin
99f49760da
Renamed launcher icon.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@676 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-07 15:07:54 +00:00
dswitkin
de83fdf806
Fixed two leaks when using AndroidHttpClient.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@675 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-06 19:55:38 +00:00
dswitkin
034b6ef1f2
Added support for landscape mode when encoding QR Codes, and made some small layout improvements.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@672 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-06 17:17:07 +00:00
dswitkin
d9dce6b108
Finished renaming UPC --> Product in a few places.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@671 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-06 16:25:39 +00:00
dswitkin
4c5c81e8a5
Added support for supplying a postal address when encoding a QR Code.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@670 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-06 16:13:16 +00:00
srowen
e6e3472471
Renamed UPC result type to Product, and introduced an idea of 'product ID' and 'normalized product ID' to account for UPC-E, where the actual visible ID is different from what we may want to search for as a key. Updated clients to use this too.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@668 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-04 12:08:19 +00:00
dswitkin
ef7c421a66
Fixed Search Book Contents when built under ProGuard.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@667 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-03 16:13:56 +00:00
dswitkin
8671371c59
Did a big refactoring on the MonochromeBitmapSource. I removed all the caching luminance calls and converted them to getting luminance data on demand. This saved another 33,000 function calls per rejected scan, good for another 15 ms savings. I also moved the luminance calls to BaseMonochromeBitmapSource and made them protected, to indicate that the decoders shouldn't use them.
...
Overall the recent optimizations took one rejected scan from 307 to 135 ms, which is definitely noticeable.
WARNING: I am not able to build the Bug or J2ME clients, but I believe they are correct.
git-svn-id: https://zxing.googlecode.com/svn/trunk@656 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-30 18:44:10 +00:00
dswitkin
1d8b533310
Fixed the Android client when using ProGuard. The ViewfinderView constructor is loaded dynamically by the XML view inflation code, which requires explicitly preserving it.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@654 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-30 15:41:52 +00:00
dswitkin
43e155804f
Looks like -allowaccessmodification to ProGuard results in a bogus binary. It compiles, but the Dalvik verifier rejects it at runtime. I'm removing this flag for now, which means we lose inlining on some important getters and setters.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@652 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-29 20:38:33 +00:00
dswitkin
1e478df248
Added androidtest to the top-level clean target and set it up for ProGuard too. Made both Android builds depend on clean so they work when switching between normal and ProGuard builds, and made install and reinstall use the latest binary instead of recompiling.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@651 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-29 20:13:05 +00:00
dswitkin
77f41cce22
Added another target for building a debug key signed Android client, and removed the old optimized target from core.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@650 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-29 19:50:37 +00:00
srowen
6f6da9a04c
moved ProGuard optimization into Android build file since it's the only way to fully optimize the final build product (inlining of key methods). Also always dump proguard results.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@649 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-29 15:42:22 +00:00
dswitkin
fd9ecdac96
Added support for a title when searching for an address, for example a business name. Also changed snipppets --> snippet in book search.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@635 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-23 18:34:35 +00:00
srowen
96f6428eea
Add column caching to MonochromeBitmapSources and use it to improve Data Matrix speed
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@631 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-22 08:43:56 +00:00
dswitkin
c14dbc8381
Added versionName and versionCode to the Android client manifest.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@626 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-18 19:27:43 +00:00
dswitkin
35115ce1f3
The new Android client, featuring:
...
- a completely new result UI with multiple actions per barcode
- Search Book Contents, powered by Google Book Search
- support for calendar events
- support for URLs and addresses in contact info
- many other small improvements, like making URLs hyperlinked
git-svn-id: https://zxing.googlecode.com/svn/trunk@625 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-18 16:23:24 +00:00
dswitkin
f3123f432b
Removed the old Android client in preparation for the new one.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@624 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-18 13:31:08 +00:00
srowen
394fb04c81
Reformatting and minor code tweaks
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@621 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-17 14:48:22 +00:00
dswitkin
0d7dfdbfae
Added the missing AndroidHttpClient to the package, which fixes the Android client build using the 1.0 SDK.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@613 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-13 16:08:58 +00:00
dswitkin
39bc2d9bdd
Fixed missing "Send SMS" button in Android client. We showed the SMS number but were unable to launch the SMS app without this.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@579 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-11 15:37:17 +00:00
dswitkin
db58d130a8
Small updates and improvements to the Android client.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@577 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-11 14:02:28 +00:00
dswitkin
fecaba26de
The new 0.9 SDK Android client (for real this time).
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@569 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-19 19:14:09 +00:00
dswitkin
b8eef13b00
Deleted the M5 Android client in preparation for an up-to-date version for the 0.9 SDK.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@567 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-19 16:26:01 +00:00
srowen
6d124e1be5
Minor style tweaks
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@503 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-07-09 17:24:02 +00:00
srowen
aa65741586
More refactoring of parsed results / result parsers; added basic vCard support
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@487 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-27 17:50:47 +00:00
srowen
c9018b1bd2
Take advantage of new parsed result fields in Android client
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@484 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-26 20:20:27 +00:00
srowen
011e6e9cee
Big refactoring of ParsedResult: now split into ResultParser and 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: https://zxing.googlecode.com/svn/trunk@482 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-26 19:49:38 +00:00
srowen
e0db8f9271
Standardize and update all copyright statements to name "ZXing authors" as suggested by open-source team to correctly attribute copyright in a project with contributions from several sources.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@455 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-19 20:56:24 +00:00
dswitkin
9adb83bbd3
Refactored the MonochromeBitmapSource hierarchy to share a great deal of code and shrink the derived classes considerably.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@418 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-11 23:52:35 +00:00
srowen
f5b58916c1
Fix bad logic black point estimator, improving threshold estimation performance (and adjust some == to .equals())
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@417 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-11 19:59:38 +00:00
srowen
a73fc5919a
Added SMSTO support, added subject/body param support in mailto:, improved handling of mailto: and tel: URIs
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@402 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-23 22:40:13 +00:00
dswitkin
6291508a2e
Merged revisions 378,380,382 via svnmerge from
...
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: https://zxing.googlecode.com/svn/trunk@384 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-03 16:10:16 +00:00
srowen
635d904283
Many more little tweaks from IntelliJ inspections
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@382 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-02 19:18:14 +00:00
srowen
dee32b1323
Fix typo introduced at the last second before commit. Watch that 'a' key!
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@381 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-02 18:41:05 +00:00
srowen
188c7fbecb
Added preliminary support for MobileTag formats; not enabled yet.
...
Added "sms:" URI support.
git-svn-id: https://zxing.googlecode.com/svn/trunk@380 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-02 18:39:03 +00:00
dswitkin
1d2f419d38
Fixed a typo in the Android build file.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@375 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-21 23:16:48 +00:00
dswitkin
f59ed95541
Merged revisions 321,327,330,332,334,342-343,352-353,355-358,361-363,365,372 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: https://zxing.googlecode.com/svn/trunk@374 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-21 22:44:40 +00:00
srowen
aa5cdcb64b
Fix Issue 50, not building on Windows, by adding some small workarounds for Windows paths in build files for Android
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@363 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-16 00:34:13 +00:00
srowen
d2a240220c
Small simplification of build file condition properties using else attribute
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@362 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-16 00:27:36 +00:00
dswitkin
0b7bface5b
Made sure the BitmapSource subclasses do not reuse a BitArray which is too small.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@355 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-10 20:57:37 +00:00
srowen
32d92ca3a9
Forward-porting Daniel's fix
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@344 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-04-03 22:43:56 +00:00
dswitkin
4b0927626f
Changed the project names for the two Android clients to disambiguate them.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@330 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-31 20:55:38 +00:00
dswitkin
87f79c076c
Removed @Override from Tom's code, which gave errors in 1.5 because they referred to an interface instead of a base class.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@328 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-31 19:49:08 +00:00
srowen
93db610970
Made the RGB to luminance approximation/optimization a little faster -- one less shift
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@327 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-31 19:04:38 +00:00
srowen
10ce9dde67
Updates to build on M5
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@320 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-28 16:54:29 +00:00
srowen
683a78256d
Improved bounds-checking and point-nudging logic in GridSampler. We should check more than endpoints.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@317 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26 17:01:13 +00:00
srowen
e97b55f884
Removed old YUV-based implementation
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@314 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26 14:43:42 +00:00
srowen
7de539a67c
biasTowardsWhite was, embarassingly, not accomplishing anything mathematically. It proved to not have much value so has been removed, to simplify the code.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@313 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-26 14:42:33 +00:00
srowen
c32827af04
More aggressive inlining, to inline some key methods like BitArray.get(), resulting in significant performance boost
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@311 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-25 18:23:49 +00:00
srowen
b88df41dca
More aggressive ProGuard optimization
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@307 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-21 12:46:00 +00:00
srowen
91e3968774
Automatically inserts version number in strings.xml now
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@303 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19 20:23:27 +00:00
srowen
8c105d8fc4
Automatically inserts version number in strings.xml now
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@302 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19 20:23:10 +00:00
srowen
76757bdcd4
More proper support for geo: URLs in Android
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@301 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19 20:18:28 +00:00
srowen
14a9eb7d20
Fixed bug in rotation code for BufferedImageMonochromeBitmapSource; fixed "SKIP_N_BARCODES" behavior to ignore barcodes already found.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@297 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-19 17:09:27 +00:00
srowen
7214289cf0
Oops, use 5 passes of optimization
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@294 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-18 16:56:12 +00:00
srowen
379c3a8cc0
Add support for tel: URIs
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@292 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 20:17:20 +00:00
srowen
cc06bc326b
Fixed naming convention. Everything should be a "ParsedResult"
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@289 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 18:24:26 +00:00
srowen
c3b3254cf6
Some refactoring to remove small disconnect between how Results are handled and whether the client thinks it can do anything meaningful with a Result
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@288 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 18:12:00 +00:00
srowen
b18107391b
Nope, disable link from geo: URL to Google Maps. Does not quite work in the browser yet.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@287 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 16:50:03 +00:00
srowen
444ec0b00f
Add client support for geo URIs
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@285 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-17 15:16:59 +00:00
srowen
34cc1d2b9d
Move GridSampler into common package and refactor to ready it for use with Data Matrix
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@278 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-14 18:44:41 +00:00
srowen
ea13f8b052
Refactorings to allow raw bytes to be passed back with reader result, where applicable
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@270 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-12 18:51:46 +00:00
srowen
c6b6bfb332
Deprecated YUV version
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@263 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-10 21:36:12 +00:00
srowen
5f8beb71c6
Switch to RGB-based captures for decoding, in preparation for move to continuous scan model
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@262 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-10 21:31:47 +00:00
srowen
5f867e7b0d
Fixed handling of new Android Intent result
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@261 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-10 21:23:58 +00:00
srowen
024c46b18e
Just addin' copyright comments
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@252 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06 21:11:45 +00:00
srowen
3ee4cb2b66
Add support for Android Intent URIs encoded in a barcode
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@250 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06 16:01:15 +00:00
srowen
f7306489b6
Now supports KDDI/AU / Softbank address book format
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@249 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-06 15:43:31 +00:00
srowen
a78f7f40d5
Various code tweaks and refactorings suggested by IntelliJ
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@246 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-05 17:26:44 +00:00
srowen
f79bb97605
Don't like using == instead of equals() here, even though it's valid here. Fixed that.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@240 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-03 22:07:43 +00:00
srowen
905b1f7676
Fix typo in method "isRotate*d*Supported"; don't attempt to rotate images of unknown format
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@238 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-03 21:36:03 +00:00
srowen
c4ee6727d6
Use TRY_HARDER hint in javase CommandLineRunner. TRY_HARDER now tries rotating the image when dealing with 1D barcodes. Clarified and fixed value type of several items in the "hints" Hashtables.
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@235 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-03-03 19:48:08 +00:00
srowen
848609c0c5
Added "URLTO" format support
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@229 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-25 22:15:36 +00:00
srowen
759bef6f8a
More little tweaks to make the 'release' build target happy again
...
git-svn-id: https://zxing.googlecode.com/svn/trunk@227 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-22 19:32:35 +00:00