Commit graph

863 commits

Author SHA1 Message Date
srowen 0983aec832 Try to avoid another clipboard-related NPE
git-svn-id: https://zxing.googlecode.com/svn/trunk@2564 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-20 00:02:55 +00:00
srowen 0302080139 Catch another weird crash in Android on bad server response
git-svn-id: https://zxing.googlecode.com/svn/trunk@2563 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-19 23:13:34 +00:00
srowen 699e3ff2a8 Fix bug on clicking through to search after an RSS expanded product scan
git-svn-id: https://zxing.googlecode.com/svn/trunk@2562 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-19 23:08:04 +00:00
srowen 90e1822928 On scan we pass a grayscale image of the scanned image, which is used as a thumbnail. These days this is getting to be 2MB of data to bundle to copy around in memory. Instead scale by 50% and JPEG-encode. This saves some memory and paves the way for later perhaps saving the image data with history.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2561 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-19 20:48:03 +00:00
srowen 4b2237aeec Changes from lint inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2553 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-15 13:17:58 +00:00
srowen 65be855649 I keep forgetting that you can't use the normal IOException constructor in old Android
git-svn-id: https://zxing.googlecode.com/svn/trunk@2552 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-15 13:10:11 +00:00
srowen b89f3d5e35 Support GEO, NICKNAME from vCard (add as a 'note' in Android)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2551 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2013-01-09 21:32:05 +00:00
srowen 835f744a9d Avoid another apparent rare bug in the HTTP implementation
git-svn-id: https://zxing.googlecode.com/svn/trunk@2547 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-12-29 17:28:45 +00:00
srowen 32c7369fce Add VERSION:3.0 to vCard encoding
git-svn-id: https://zxing.googlecode.com/svn/trunk@2546 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-12-28 19:26:38 +00:00
srowen 69167c6bdc Work around a weird NPE inside the clipboard library
git-svn-id: https://zxing.googlecode.com/svn/trunk@2539 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-28 21:45:57 +00:00
srowen 126f33815e Make light thresholds less sensitive to avoid rapid on/off on some devices
git-svn-id: https://zxing.googlecode.com/svn/trunk@2538 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-28 00:14:57 +00:00
srowen 491102ba93 Catch rare SecurityException when accessing HTTP
git-svn-id: https://zxing.googlecode.com/svn/trunk@2532 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-25 11:33:13 +00:00
srowen 876518a856 Avoid possible NPE from early callback
git-svn-id: https://zxing.googlecode.com/svn/trunk@2528 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-20 18:20:32 +00:00
srowen 3bad6fc4c5 Changes from code inspection
git-svn-id: https://zxing.googlecode.com/svn/trunk@2526 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-20 08:29:02 +00:00
srowen 0288f08c1c Also use application context with Toast consistently
git-svn-id: https://zxing.googlecode.com/svn/trunk@2525 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-20 07:47:20 +00:00
srowen 4f93e88db1 Avoid Toast that won't go away by posting on UI thread
git-svn-id: https://zxing.googlecode.com/svn/trunk@2524 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-20 07:45:31 +00:00
srowen 42dcca3ccf Warn about using Google product results
git-svn-id: https://zxing.googlecode.com/svn/trunk@2523 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-20 06:48:39 +00:00
srowen f41a07ebcd Raise history limit to 2000
git-svn-id: https://zxing.googlecode.com/svn/trunk@2520 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-15 19:48:16 +00:00
srowen cfbabe908b Use Android 4.2 SDK consitently; don't target it for apps though
git-svn-id: https://zxing.googlecode.com/svn/trunk@2518 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-13 21:18:11 +00:00
srowen bbeafcb82e Enable RSS expanded
git-svn-id: https://zxing.googlecode.com/svn/trunk@2513 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-12 19:12:09 +00:00
srowen eb65f3b1ea Issue 1425 add more placeholders to fill in in the URL specified in the scan-from-webpage mechanism
git-svn-id: https://zxing.googlecode.com/svn/trunk@2507 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-09 16:35:21 +00:00
srowen 90a47a4029 Possibly final changes for automatic torch settings
git-svn-id: https://zxing.googlecode.com/svn/trunk@2506 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-08 22:59:44 +00:00
srowen 462c94e7a2 Infrastructure for automated torch on based on ambient light (not turned on yet)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2504 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-08 12:57:55 +00:00
srowen 8b7433c5dc Exclude Google TV by requiring touchscreen for now
git-svn-id: https://zxing.googlecode.com/svn/trunk@2502 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-11-07 17:41:49 +00:00
srowen 7b9eb7af63 Strangely, Exception constructors that take a chained Exception didn't exist before API level 9 (though have always been in Java). Don't use them to avoid NoSuchMethodError on Froyo and earlier.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2481 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-24 17:26:14 +00:00
srowen e6098ea320 Issue 1409 also include Chrome in code to reuse browser tab
git-svn-id: https://zxing.googlecode.com/svn/trunk@2479 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-22 15:21:50 +00:00
srowen 13d2272e24 Issue 1409 try to reuse browser tab on Intent reply
git-svn-id: https://zxing.googlecode.com/svn/trunk@2464 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-22 07:46:57 +00:00
dswitkin@google.com 4b42bddc5a Issue 1408: Added high res launcher icons for xhdpi and xxhdpi.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2463 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-19 16:04:43 +00:00
srowen f84ad91d00 Issue 1410 Chinese updates
git-svn-id: https://zxing.googlecode.com/svn/trunk@2462 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-19 08:11:02 +00:00
srowen 3edf7a57cc Bandages for misc. exceptions seen in the wild
git-svn-id: https://zxing.googlecode.com/svn/trunk@2459 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-17 07:59:12 +00:00
srowen 191f541f4a Issue 1404 show result correctly from history in bulk mode
git-svn-id: https://zxing.googlecode.com/svn/trunk@2453 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-10 20:21:17 +00:00
srowen 96cf12b0b4 Issue 1398 / Issue 1399 more German updates for docs
git-svn-id: https://zxing.googlecode.com/svn/trunk@2452 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-08 12:54:03 +00:00
srowen db7afc66b6 Work around Android NPE observed in the wild
git-svn-id: https://zxing.googlecode.com/svn/trunk@2451 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-07 11:16:08 +00:00
srowen 4c4ebbe0c5 Issue 1395 Slovak updates from Laurent
git-svn-id: https://zxing.googlecode.com/svn/trunk@2450 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-06 12:28:33 +00:00
srowen 51c1ce93e6 Issue 1392 log and warn about bad return URLs
git-svn-id: https://zxing.googlecode.com/svn/trunk@2448 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-03 21:21:37 +00:00
srowen 09e0fb3af3 Don't close history after clearing one item
git-svn-id: https://zxing.googlecode.com/svn/trunk@2447 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-03 10:05:44 +00:00
srowen 63b2016d3c Issue 1390 updated Japanese strings from hosigumayuugi
git-svn-id: https://zxing.googlecode.com/svn/trunk@2446 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-03 07:57:34 +00:00
srowen 30fdae5a21 Small addendum to last Finnish update
git-svn-id: https://zxing.googlecode.com/svn/trunk@2440 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-02 08:28:17 +00:00
srowen 932a03db8b Issue 1388 More Finnish translations
git-svn-id: https://zxing.googlecode.com/svn/trunk@2439 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-02 07:40:57 +00:00
srowen 2ab85327d5 More German updates from Malte, Swedish updates from professional translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@2438 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-10-01 09:50:22 +00:00
srowen 65e3d10b52 Catch odd IAE from HTTP connection -- bad URI?
git-svn-id: https://zxing.googlecode.com/svn/trunk@2437 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-30 10:08:05 +00:00
srowen 8596fcba7c Issue 1378 - 1384 more German updates from Alexander Schmidt
git-svn-id: https://zxing.googlecode.com/svn/trunk@2436 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-30 09:53:31 +00:00
srowen 80046da62c Issue 1378 first of several German updates from Alexander Schmidt
git-svn-id: https://zxing.googlecode.com/svn/trunk@2435 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-30 09:44:33 +00:00
srowen a20f1a2dcf Issue 1377 work around devices that fail to return valid preview sizes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2434 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-30 09:29:41 +00:00
srowen 38b3fe1280 Update for 4.3.1
git-svn-id: https://zxing.googlecode.com/svn/trunk@2433 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-29 12:30:04 +00:00
srowen 20e7963840 Update what's new for 4.3.1. Also fix HTML DOCTYPEs
git-svn-id: https://zxing.googlecode.com/svn/trunk@2432 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-29 12:25:11 +00:00
srowen e807ea80a1 On second though, exposure is just too subtly problematic. Comment it out.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2431 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-28 21:09:23 +00:00
srowen 55098463f2 More safe mode, and, add a setting to disable exposure to work around bad devices
git-svn-id: https://zxing.googlecode.com/svn/trunk@2430 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-28 15:18:19 +00:00
srowen 7f05aa2efb Enough with the camera bugs, step 1: add a fall-back 'safe mode' that tries to reconfig the camera with minimal parameters, if the device driver barfs explicitly
git-svn-id: https://zxing.googlecode.com/svn/trunk@2429 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-27 20:19:17 +00:00
srowen 238e8d6350 Try to work around devices whose calendar app only responds to EDIT, not INSERT Intent
git-svn-id: https://zxing.googlecode.com/svn/trunk@2428 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-27 11:55:25 +00:00
srowen 1b8414f70f Remove some unused stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@2423 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-26 19:14:43 +00:00
srowen ce6ed08823 Disable code/allocation optimization in Proguard as it seems to cause a VerifyError on CM10 (?)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2422 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-26 19:06:07 +00:00
srowen 4b24b57c06 Issue 1374 more Slovak updates
git-svn-id: https://zxing.googlecode.com/svn/trunk@2421 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-26 17:52:58 +00:00
srowen 6a94fe7225 Avoid exception when someone scans a file:/// URL barcode. And don't process it.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2420 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-26 17:40:30 +00:00
srowen 6c306ad1c7 Update Shopper icon
git-svn-id: https://zxing.googlecode.com/svn/trunk@2419 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-26 17:10:08 +00:00
srowen 7473d49434 Issue 1373 Slovak updates from Laurent
git-svn-id: https://zxing.googlecode.com/svn/trunk@2418 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-26 16:54:37 +00:00
srowen cf52d70528 Work around Android NPE bug in HttpURLConnection.connect()
git-svn-id: https://zxing.googlecode.com/svn/trunk@2416 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-26 10:34:31 +00:00
srowen e17d3ae292 Work around Android browsers that don't register to handle HTTP:// and HTTPS:// schemes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2415 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-26 09:54:01 +00:00
srowen 374aebc5dc Don't use String.isEmpty() -- bizarrely, some versions of Android don't have this method
git-svn-id: https://zxing.googlecode.com/svn/trunk@2414 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-26 09:28:49 +00:00
srowen 6dd4420bdd Don't beep/vibrate when choosing item from history
git-svn-id: https://zxing.googlecode.com/svn/trunk@2412 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-25 22:23:40 +00:00
srowen 5da73140a5 Fix minor NPE on item detail update
git-svn-id: https://zxing.googlecode.com/svn/trunk@2411 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-25 21:07:16 +00:00
dswitkin@google.com a7f832d6fb Final change for Barcode Scanner 4.3.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2410 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-25 15:36:20 +00:00
srowen 7011f4fcfc Two javadoc-related typo fixes before release
git-svn-id: https://zxing.googlecode.com/svn/trunk@2408 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-14 09:05:49 +00:00
srowen 2d15ccf5b5 Put version number in Help, fix some HTML entity problems, make version "beta 1"
git-svn-id: https://zxing.googlecode.com/svn/trunk@2407 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-13 06:41:17 +00:00
srowen e6115611f3 Suppress status message on Intent scan if result duration is requested to be 0
git-svn-id: https://zxing.googlecode.com/svn/trunk@2406 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-12 11:57:06 +00:00
srowen 34230c345a Update What's New for 4.3
git-svn-id: https://zxing.googlecode.com/svn/trunk@2405 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-12 11:22:01 +00:00
srowen 2be60d4824 Freshen screen shots in help screens
git-svn-id: https://zxing.googlecode.com/svn/trunk@2404 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-12 10:15:55 +00:00
srowen 8bf6573619 Fix apostrophe type
git-svn-id: https://zxing.googlecode.com/svn/trunk@2403 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-12 09:18:27 +00:00
srowen 9d4cb4a715 Add link to BS+ in prefs
git-svn-id: https://zxing.googlecode.com/svn/trunk@2402 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-11 16:30:12 +00:00
srowen 008c23fed8 Merge About into Help. Clean up Help a little. Auto-translate into common languages.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2401 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-10 16:39:11 +00:00
srowen 780be3396b Standardize colors, dimensions, text sizes, tweak and simplify layouts slightly
git-svn-id: https://zxing.googlecode.com/svn/trunk@2400 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-10 15:55:44 +00:00
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 9c3924fbc1 To support front-camera devices like the Nexus 7, don't require (rear) camera
git-svn-id: https://zxing.googlecode.com/svn/trunk@2398 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-09-09 15:46:33 +00:00
srowen 82ab2cd2cd Issue 1347 retrieve HTML title as supplemental info
git-svn-id: https://zxing.googlecode.com/svn/trunk@2397 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-28 09:30:13 +00:00
srowen a3db02fa49 Issue 1348 Finnish updates
git-svn-id: https://zxing.googlecode.com/svn/trunk@2396 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-28 08:12:21 +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 f309b56557 Add cropping for RGBLuminanceSource. And remove some unrelated dead code.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2394 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-23 23:44:47 +00:00
srowen 144321067c Fix encoding of certain Intents that don't have EXTRA_TEXT or EXTRA_STREAM
git-svn-id: https://zxing.googlecode.com/svn/trunk@2388 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-13 07:09:02 +00:00
srowen 0b3132e68f Issue 1330 French fixes from Morgan
git-svn-id: https://zxing.googlecode.com/svn/trunk@2386 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-10 08:42:38 +00:00
srowen 35d81298a0 Misc fixes from Lachezar
git-svn-id: https://zxing.googlecode.com/svn/trunk@2385 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-07 14:48:35 +00:00
srowen 3faf91672e Also allow continuous-video mode
git-svn-id: https://zxing.googlecode.com/svn/trunk@2384 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-07 13:36:32 +00:00
srowen 393137fb74 Allow 1280x720 preview but leave reticle same size
git-svn-id: https://zxing.googlecode.com/svn/trunk@2383 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-07 10:00:48 +00:00
srowen e7c2d667da Add support for controlling exposure for Froyo devices; fix typo
git-svn-id: https://zxing.googlecode.com/svn/trunk@2382 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-07 09:43:23 +00:00
srowen 3e2b52fa38 Correctly parallelize AsyncTask threading on Honeycomb and beyond
git-svn-id: https://zxing.googlecode.com/svn/trunk@2381 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-07 09:21:12 +00:00
srowen 5ec54ac140 Add optional workaround for devices that support continuous focus but badly, and enable it to be conservative
git-svn-id: https://zxing.googlecode.com/svn/trunk@2380 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-06 22:58:10 +00:00
srowen 82c8ec250e Oops, forgot auto-focus trigger (and one unrelated backport fix)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2379 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-06 22:57:36 +00:00
srowen 3a33c03f8d Remove last usages of Runnable/Timer in favor of AsyncTask
git-svn-id: https://zxing.googlecode.com/svn/trunk@2378 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-06 21:28:35 +00:00
srowen 24f5b64a2f Use AsyncTask for inactivity timer; fix case where device was unplugged while running
git-svn-id: https://zxing.googlecode.com/svn/trunk@2377 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-06 21:13:14 +00:00
srowen 65c5ef40b3 Use AsyncTask in network, supplemental info task. Fix product search scrape.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2375 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-06 20:41:04 +00:00
srowen 17882315dd Russian fix from Dmitry Parfenov
git-svn-id: https://zxing.googlecode.com/svn/trunk@2373 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-06 12:22:15 +00:00
srowen e4803b8799 Issue 1218 add possible support for hidden SSIDs
git-svn-id: https://zxing.googlecode.com/svn/trunk@2371 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-06 12:07:52 +00:00
srowen 12c113004d Use AsyncTask instead of Thread for cleaner async work handling
git-svn-id: https://zxing.googlecode.com/svn/trunk@2369 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-06 10:22:55 +00:00
srowen 9e815a73b7 Localize results message string for SBC
git-svn-id: https://zxing.googlecode.com/svn/trunk@2368 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-08-04 18:09:07 +00:00
srowen 6ce63cc1a2 Maybe avoid one more NPE
git-svn-id: https://zxing.googlecode.com/svn/trunk@2364 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-31 17:13:50 +00:00
srowen 1fbad444ee Fix small corner case errors from crash logs
git-svn-id: https://zxing.googlecode.com/svn/trunk@2363 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-31 17:06:20 +00:00
srowen 53ace36930 Refactor PlanarYUVLuminanceSource into core/
git-svn-id: https://zxing.googlecode.com/svn/trunk@2362 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-31 15:06:23 +00:00
srowen a7c40abe8f Add framework for adding code targeting API levels higher than min supported. Add simplified backport of BS+ code for handling front, rotated cameras, to simply let a front camera open for now. Not guaranteed to work. Adjust optimization to keep these classes. Don't yet take away the Market filter requiring rear camera.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2361 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-31 14:14:55 +00:00
srowen d4db46ecf6 Avoid ANFE when nothing can handle a SEND intent, like on an emulator
git-svn-id: https://zxing.googlecode.com/svn/trunk@2360 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-23 18:14:30 +00:00
srowen 4a683a8266 Fix possible strange NPE on EncodeActivity
git-svn-id: https://zxing.googlecode.com/svn/trunk@2359 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-23 09:20:42 +00:00
srowen 99c99f7314 Can also use proper menu resource for other menus
git-svn-id: https://zxing.googlecode.com/svn/trunk@2358 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-22 10:09:32 +00:00
srowen 7513a4c896 Use menu resource instead of hard-coding
git-svn-id: https://zxing.googlecode.com/svn/trunk@2357 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-22 07:24:01 +00:00
srowen 41d2082342 As far as I know, should be OK to express that we target 2.3.x but support 2.1
git-svn-id: https://zxing.googlecode.com/svn/trunk@2356 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-21 20:10:22 +00:00
srowen 99011addb3 Swallow weird RuntimeException on cancelling auto focus
git-svn-id: https://zxing.googlecode.com/svn/trunk@2340 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-04 20:28:06 +00:00
srowen cd25a521a4 Issue 1306 Add parsing of vEvent attendee/organizer
git-svn-id: https://zxing.googlecode.com/svn/trunk@2339 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-07-04 14:16:04 +00:00
srowen 956bf89622 Use SDK rev 20's improved proguard config
git-svn-id: https://zxing.googlecode.com/svn/trunk@2338 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-29 18:32:49 +00:00
srowen 890394d16f Consolidate one more calendar method. Insert events with ACTION_INSERT not ACTION_EDIT
git-svn-id: https://zxing.googlecode.com/svn/trunk@2337 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-29 17:58:06 +00:00
srowen 07c8b8282e Consolidate date parsing for calendar events. Use human readable dates in app display. Probably haven't broken anything.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2336 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-29 17:40:55 +00:00
srowen b3f03373c2 Fix a few possible rare NPEs
git-svn-id: https://zxing.googlecode.com/svn/trunk@2335 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-29 14:58:34 +00:00
srowen f0fb20f055 Issue 1298 Greek changes from kageloporta
git-svn-id: https://zxing.googlecode.com/svn/trunk@2326 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-26 10:13:21 +00:00
dswitkin@google.com fd38b08e1d Created Barcode Scanner 4.2 final.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2320 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-25 20:09:51 +00:00
srowen 4f0766724b Allow selection of larger preview size; keep max reticle size the same
git-svn-id: https://zxing.googlecode.com/svn/trunk@2319 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-24 16:01:11 +00:00
dswitkin@google.com 8edb1ca833 Updated the manifest and What's New page for 4.2 beta 1.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2311 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-13 17:55:52 +00:00
srowen 4aec67d63d Finnish updates from Olli
git-svn-id: https://zxing.googlecode.com/svn/trunk@2308 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-09 16:04:12 +00:00
srowen 538eb19bd4 Dutch updates from Martijn
git-svn-id: https://zxing.googlecode.com/svn/trunk@2304 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-07 10:24:45 +00:00
srowen 235a12ac42 Defensive change against late callbacks; not clear it's actually any issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@2303 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-06-06 16:34:16 +00:00
srowen 2dd5d26c4a Issue 1275 French tweak
git-svn-id: https://zxing.googlecode.com/svn/trunk@2297 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-27 21:27:09 +00:00
dswitkin@google.com 20424b0e4e Created Barcode Scanner v4.11 beta 1 based on CL 2284.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2292 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-14 17:52:09 +00:00
srowen 704f6c34fb Issue 1261 autoFocus() on macro mode too
git-svn-id: https://zxing.googlecode.com/svn/trunk@2291 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-12 19:42:40 +00:00
srowen 9fa7d9aba4 Let camera use continuous-picture focus mode if available. API-wise it's 100% legal, which means there's only a 50% chance it will break a bunch of ICS devices
git-svn-id: https://zxing.googlecode.com/svn/trunk@2288 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 12:36:52 +00:00
srowen 1b90db519e Now can turn light on/off with volume buttons
git-svn-id: https://zxing.googlecode.com/svn/trunk@2286 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 10:56:50 +00:00
srowen 8cc93b521b Back-port rewritten auto-focus cycle; allow disabling of auto focus
git-svn-id: https://zxing.googlecode.com/svn/trunk@2285 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-10 10:40:55 +00:00
srowen 4a907a6201 Running underneath the dialer doesn't work. Quit the app if leaving to dial a number.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2282 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-05-03 07:39:40 +00:00
srowen 224568c732 These state-sensitive methods ought to be synchronized, at least to ensure memory is written back immediately
git-svn-id: https://zxing.googlecode.com/svn/trunk@2276 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-28 10:35:57 +00:00
srowen 3926c96fc1 Another protection against early view calls before camera init (issue 1254)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2274 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-27 11:31:09 +00:00
srowen 9a94f713db Look out for early preview frame before complete configuration
git-svn-id: https://zxing.googlecode.com/svn/trunk@2273 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-27 11:27:37 +00:00
srowen 7825e5bb49 Avoid another possible NPE. Adjust obfuscation to produce less ambiguous mappings
git-svn-id: https://zxing.googlecode.com/svn/trunk@2272 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-27 11:17:11 +00:00
srowen 3e2dce9bd7 Issue 1256 Avoid crash clearing Empty message
git-svn-id: https://zxing.googlecode.com/svn/trunk@2271 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 19:09:36 +00:00
srowen 3e0ec6f708 Issue 1254 guess at what may be an NPE in here
git-svn-id: https://zxing.googlecode.com/svn/trunk@2270 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 18:34:56 +00:00
srowen 9de4dd7256 Don't fail on bad network type input. Log it.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2268 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 18:22:57 +00:00
srowen a23a2b8adb More reliable method for reading vCard, may avoid OOME in weird stream behavior case
git-svn-id: https://zxing.googlecode.com/svn/trunk@2267 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 17:57:07 +00:00
srowen 5af1cad965 Don't crash on unsupported barcode format like CODE_93
git-svn-id: https://zxing.googlecode.com/svn/trunk@2266 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 17:15:28 +00:00
srowen a1601d1bb8 Avoid NPE is options menu gets called before onResume (?)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2264 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 16:53:42 +00:00
srowen b81971bf74 Avoid NPE in case of strange query failure for bookmarks; log it and quit
git-svn-id: https://zxing.googlecode.com/svn/trunk@2263 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 16:41:26 +00:00
srowen 6573f932a1 Avoid NPE on null action
git-svn-id: https://zxing.googlecode.com/svn/trunk@2262 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 16:34:51 +00:00
srowen 9ad25e25b7 Double-check to avoid exception clicking on stale item
git-svn-id: https://zxing.googlecode.com/svn/trunk@2261 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-26 16:31:31 +00:00
srowen 6067089669 Slightly increase max preview size, preclude very small preview sizes unless no other choice, properly favor large preview sizes in general and correctly prioritize on aspect ratio in all cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@2259 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-25 19:45:53 +00:00
srowen 26d5ff4355 Add a double-check for null SurfaceHolder
git-svn-id: https://zxing.googlecode.com/svn/trunk@2258 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-25 11:51:45 +00:00
srowen 23ce7f4584 Add crop()
git-svn-id: https://zxing.googlecode.com/svn/trunk@2256 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-22 23:52:20 +00:00
dswitkin@google.com 1204c7d7fa Created Barcode Scanner v4.1 beta 1.
git-svn-id: https://zxing.googlecode.com/svn/trunk@2254 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-16 21:54:57 +00:00
srowen 7a0f55da30 Fix error in AppPickerActivity when it is quickly cancelled (hat tip to Asus)
git-svn-id: https://zxing.googlecode.com/svn/trunk@2252 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-12 00:25:01 +00:00
srowen c29cd1d2ef Basque translation from Asier
git-svn-id: https://zxing.googlecode.com/svn/trunk@2251 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-08 16:02:38 +00:00
srowen 9a33192652 Issue 1236 let history answer an Intent
git-svn-id: https://zxing.googlecode.com/svn/trunk@2250 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-06 11:14:38 +00:00
srowen 2cd86d8001 Javadoc fixes
git-svn-id: https://zxing.googlecode.com/svn/trunk@2248 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-06 07:17:15 +00:00
srowen 346de1b561 Minor inspection stuff
git-svn-id: https://zxing.googlecode.com/svn/trunk@2247 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-04-05 17:41:28 +00:00
srowen 9f07c47941 Apparently some of the default disabled optimizations are only there for Donut
git-svn-id: https://zxing.googlecode.com/svn/trunk@2245 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-31 23:13:16 +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 a670311585 Updated proguard.cfg to match new default for SDK 17 / Proguard 4.7
git-svn-id: https://zxing.googlecode.com/svn/trunk@2231 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-22 11:26:14 +00:00
srowen f74fc09d54 Issue 1213 add 'raw' param to send back raw barcode text not processed form
git-svn-id: https://zxing.googlecode.com/svn/trunk@2229 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-15 14:46:03 +00:00
srowen 60df2dba0c Issue 1215 clear a little redundant code
git-svn-id: https://zxing.googlecode.com/svn/trunk@2226 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-14 16:14:49 +00:00
srowen 0ba3c24aa2 Small Russian translation fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@2223 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2012-03-11 20:50:02 +00:00