Commit graph

152 commits

Author SHA1 Message Date
dswitkin 10116044ec Added the external storage permission to fix SD card writing issues and bumped the version to 3.3 beta 1.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1322 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-28 19:52:17 +00:00
dswitkin 73063a9f20 Final changes for Barcode Scanner 3.22.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1263 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-29 17:40:53 +00:00
dswitkin 10a25b1a2b Bumped the version to Barcode Scanner 3.21 final.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1254 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 16:17:52 +00:00
dswitkin 30f916b3d6 Made upgrades load the What's New page, while new installs load the default help page. Also bumped the version to 3.21 beta 1.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1242 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-05 22:41:02 +00:00
srowen efd236cb47 Forgot to add flashlight permission
git-svn-id: https://zxing.googlecode.com/svn/trunk@1224 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-27 09:58:46 +00:00
dswitkin 5bc9ba4563 Final changes for Barcode Scanner 3.2.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1220 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-24 21:38:15 +00:00
dswitkin 8090bb441a Added a Google Shopper button when scanning products, and bumped the version to 3.2 beta 1.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1216 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-22 15:55:25 +00:00
dswitkin 40ceee408a Allowed non-autofocus devices to see the app in Market, and updated the docs and version accordingly.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1173 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-04 20:38:41 +00:00
dswitkin 3e020bd24b Shipped Barcode Scanner 3.1 final.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1161 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-20 17:30:06 +00:00
dswitkin 20ae03785b Bumped the Android client version to 3.1 beta 1 and wrote up release notes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1159 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-14 01:40:21 +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 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
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
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
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
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
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 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
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
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
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 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 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 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 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 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 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
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 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 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 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 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 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 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 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 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 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 eb2fa80eaf Biiig standardization of whitespace. 2 space indents now, no tabs.
git-svn-id: https://zxing.googlecode.com/svn/trunk@191 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-14 20:25:54 +00:00
dswitkin 1ca6c123d4 This is the first version of the ZXing Android client.
git-svn-id: https://zxing.googlecode.com/svn/trunk@185 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-02-14 19:02:18 +00:00