Commit graph

53 commits

Author SHA1 Message Date
srowen 726fa6ddfd Remove hard-coded colors as step towards importing Holo theme; remove borders to match Holo
git-svn-id: https://zxing.googlecode.com/svn/trunk@2399 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-10 12:03:03 +00:00
srowen fc6af9de77 Remove unused transparent viewfinder background which apparently can cause problems on some devices
git-svn-id: https://zxing.googlecode.com/svn/trunk@2395 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-25 18:29:17 +00:00
srowen b980bd71b6 Lint check: remove unused things
git-svn-id: https://zxing.googlecode.com/svn/trunk@2232 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-22 12:14:59 +00:00
srowen 5cc9295451 Reimplement History as a simple activity instead of dialog; add ability to delete one entry with a long press
git-svn-id: https://zxing.googlecode.com/svn/trunk@2106 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-01-09 20:12:59 +00:00
srowen cff3e66a87 New SDK 16 lint tool suggests removing some unused stuff, etc.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2094 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-12-18 01:07:14 +00:00
srowen 4add23c286 Issue 987 chop down most of the wi-fi functionality so that it triggers the network change and moves on; seems much less fragile in the face of Android device strangeness
git-svn-id: https://zxing.googlecode.com/svn/trunk@1929 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-09-24 15:46:17 +00:00
srowen 9af326638d Issue 941 retrieve more info from Google Books for ISBNs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1891 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-08-22 12:08:33 +00:00
dswitkin@google.com 261a349c4a - Added support for xlarge screens to handle tablets and disable compatibility mode.
- Improved the layout of the Share screen on big screens.
- Other minor cleanup.
- Bumped the version to 3.6 final.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1807 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-06-01 20:27:03 +00:00
dswitkin@google.com 75cc7fe591 Issue 821: Add text box for encoding arbitrary QR Code contents.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1766 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-05-11 20:38:54 +00:00
dswitkin@google.com 0dbfc11aa3 - Centered the results UI to look better on tablets.
- Other minor polish.
- Bumped the version to 3.54 beta 1.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1737 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2011-04-05 18:41:12 +00:00
srowen 46e8cef52e Make text more easily scrollable
git-svn-id: https://zxing.googlecode.com/svn/trunk@1675 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-11-30 05:27:41 +00:00
srowen a44f07ce90 Add "retreive more info" feature -- resolves redirectors and gets first product result inside the app
git-svn-id: https://zxing.googlecode.com/svn/trunk@1624 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-10-12 21:35:16 +00:00
srowen 897d6c3501 Issue 546, let share screen scroll on tiny screens
git-svn-id: https://zxing.googlecode.com/svn/trunk@1602 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-09-22 12:53:31 +00:00
dswitkin@google.com 63a5cd3055 Added a Google Shopper icon to the result buton for products and ISBNs.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1492 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-07-21 23:15:23 +00:00
dswitkin@google.com e95e16698a Final Barcode Scanner 3.4 changes:
- Cleaned up the sharing UI
- Removed a piece of black artwork
- Fixed the Froyo bug with the Help screen appearing blank
- Made external URLs in Help launch in the Browser
- Updated some help text

git-svn-id: https://zxing.googlecode.com/svn/trunk@1491 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-07-20 22:43:38 +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
srowen 8cbe558ec3 Add support for UPC/EAN +5 extensions, plus basic tests, and display the content in Android client as metadata
git-svn-id: https://zxing.googlecode.com/svn/trunk@1436 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-16 19:49:22 +00:00
srowen 8e142f1f24 Oops remove bar again
git-svn-id: https://zxing.googlecode.com/svn/trunk@1433 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-15 22:08:02 +00:00
srowen d8233b3ce1 ... and roll back a bit more to old status view, smaller text again
git-svn-id: https://zxing.googlecode.com/svn/trunk@1431 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-15 21:53:48 +00:00
srowen b238eb22a0 ... and put back status text, in a simplified form?
git-svn-id: https://zxing.googlecode.com/svn/trunk@1430 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-15 19:56:32 +00:00
srowen b7d6fcef1d Style-related changes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1428 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-15 16:25:24 +00:00
srowen d7a841bc2b Rest of cosmetic changes -- simpler, black theme with easier-to-touch buttons and consistent sizing, icons
git-svn-id: https://zxing.googlecode.com/svn/trunk@1426 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-15 13:04:18 +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
srowen 64373435b7 Prettify scan result screen, I think
git-svn-id: https://zxing.googlecode.com/svn/trunk@1423 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-14 10:59:24 +00:00
srowen 1851520440 Make font sizes more consistent in the app
git-svn-id: https://zxing.googlecode.com/svn/trunk@1418 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-08 22:52:12 +00:00
dswitkin@google.com 9bf3b2a3ef New icon from Roman Nurik, and help system tweaks.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1346 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-10 14:57:40 +00:00
srowen 02a8b98862 Ditch ugly "unknown" icon for standard project icon; tighten up barcode image view settings a little, I believe, by putting them in capture.xml and in dip units
git-svn-id: https://zxing.googlecode.com/svn/trunk@1265 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-30 18:33:11 +00:00
srowen 0b2f7dcd2e Add timestamp to result screen
git-svn-id: https://zxing.googlecode.com/svn/trunk@1261 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-26 22:40:09 +00:00
dswitkin 46a7febc7f Made a bunch of improvements to QVGA layouts.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1179 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-06 17:38:58 +00:00
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
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 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 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 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 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 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 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 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 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 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 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 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 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 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
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