Commit graph

61 commits

Author SHA1 Message Date
vikrama 983d29eb62 Removed some commented code, and general code cleanup. Turned many
variables into finals.  Change the UI to display network name and type
more clearly.



git-svn-id: https://zxing.googlecode.com/svn/trunk@1469 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-07-08 05:12:51 +00:00
dswitkin@google.com f70d7e51bf - Bumped version to 3.4 beta 1.
- Fixed two crashes on low DPI devices because of missing/stale views in layout-ldpi/capture.xml.
- Added support for apps on SD card on Froyo.
- Updated SDK to 8.
- Tweaked some font sizes.
- Updated the What's New page.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1464 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-29 21:11:27 +00:00
vikrama 6943578c18 Do not broadcast the intent
git-svn-id: https://zxing.googlecode.com/svn/trunk@1453 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-23 03:01:43 +00:00
dswitkin@google.com b94d44c5a1 - Made sure barcode scanning always restarts when the activity is resumed.
- Fixed a potential ANR - we can never sleep on the main thread.
- Bumped the version number.
- Minor cleanup and 100 columns fixes.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1447 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-18 16:17:12 +00:00
vikrama fb1e512208 Android activity to add a network, and all associated code for dealing
with WIFI: schemes on the Android side.

 Things to be done:
1. Much more testing.
2. Implement SB and test it well.
3. Clean up the UI to make it beautiful.
4. Figure out what to do when the network is connected: exit the
   Barcode Scanner?  Currently, the activity kills itself, restoring
   camera capture.
5. Publicize the WIFI: scheme.



git-svn-id: https://zxing.googlecode.com/svn/trunk@1425 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-15 03:49:49 +00:00
dswitkin c6f29f2ebc Created Barcode Scanner 3.31 final.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1394 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-28 15:30:48 +00:00
dswitkin a0ecb24f54 Created Barcode Scanner 3.31 beta 1.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1391 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-26 16:58:15 +00:00
dswitkin@google.com 8af8dea749 Final change for Barcode Scanner 3.3.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1348 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-10 17:14:21 +00:00
dswitkin 8976d86915 Bumped the version to 3.3 beta 2.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1329 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-03 15:54:37 +00:00
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