Commit graph

451 commits

Author SHA1 Message Date
vikrama c003d96b89 1. Set up all strings in res/*/strings.xml rather than as string
literals.
2. Using a very handy script for this purpose, and checking it
   into utils/ since it saved me some headache.
3. Turned tabs -> spaces for WifiResultHandler.
4. Better error handling on network types: look for exact matches
   rather than substrings.



git-svn-id: https://zxing.googlecode.com/svn/trunk@1456 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-23 06:00:57 +00:00
vikrama c2e3604aea 1. Instead of killing the activity when done, load up a URL in a browser instead.
2. More error checking:
   a. Missing SSID
   b. Incorrect network type (hey, it's just a string, and the user could get creative)

TODOs:
1. Localize the strings this is introducing.
2. Errors not handled:
   a. Tell if network not found.
   b. Incorrect SSID codes still crash the app: WIFI:S:winders;T:WPA;P:secret;badjunk;;
   c. For an open network, giving a password crashes:  WIFI:S:winders;T:nopass;P:secret;;
3. When connected, it should say, "Connected to <ssid>".



git-svn-id: https://zxing.googlecode.com/svn/trunk@1455 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-23 04:08:35 +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
srowen 296bd49474 Blacklist Evo too for camera issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@1451 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-21 23:24:13 +00:00
srowen d066265213 Danish fixes from rasmussch
git-svn-id: https://zxing.googlecode.com/svn/trunk@1450 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-20 23:00:37 +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
srowen 7255ac8443 Issues 155.2 -- add %f for format
git-svn-id: https://zxing.googlecode.com/svn/trunk@1445 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-18 12:58:57 +00:00
srowen edd6ed8e7a Add bulk scan mode with preference (and rearrange prefs a bit). Reorder main strings file, add new pref string and remove probably-incorrect ellipses from Asian language translations
git-svn-id: https://zxing.googlecode.com/svn/trunk@1443 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-17 12:26:41 +00:00
srowen 02f090dd34 Add auto-translation tool to help update strings with Google Translate. Let it reorder (but not change) existing translations alphabetically by key. Add bulk-scan strings along the way as a test.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1442 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-17 10:55:00 +00:00
vikrama 737fee3e69 Add the nopass handling in the Android client.
TODO:
1. Document the encoding.
2. Test out the interaction with appspot.com with escaped semicolons and colons



git-svn-id: https://zxing.googlecode.com/svn/trunk@1440 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-17 04:33:59 +00:00
srowen 2d7b4138ab Display possible country origin info on product scan
git-svn-id: https://zxing.googlecode.com/svn/trunk@1438 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-16 21:13:47 +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
vikrama 2223a5cf42 Adding strings converted using Google Translate. Feeling bad about all the Engrish jokes I made in the past.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1435 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-16 04:11:54 +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 bda97f7c84 Back to white backgrounds, somewhat smaller text in the result screen, shorter Toast popup and doesn't interfere with help screen
git-svn-id: https://zxing.googlecode.com/svn/trunk@1429 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-15 18:43:10 +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 6f0f67682b Fix a formatting problem on smaller device
git-svn-id: https://zxing.googlecode.com/svn/trunk@1427 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-15 13:13:27 +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 93cd6265ea Better tweak to last change -- scale text size dynamically
git-svn-id: https://zxing.googlecode.com/svn/trunk@1424 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-14 13:03:02 +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 69c3af2ef0 Handle empty string as null in many cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@1420 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-09 10:21:41 +00:00
srowen ac32515cdd Need to not generate debug info in Android as well now in order to satisfy new Proguard and dex releases?
git-svn-id: https://zxing.googlecode.com/svn/trunk@1419 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-08 23:05:28 +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
srowen f3f321dac9 Better handling of empty/incomplete content stream
git-svn-id: https://zxing.googlecode.com/svn/trunk@1417 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-08 22:39:49 +00:00
srowen 6308c2322e Tack on a little more logging for debugging assistance
git-svn-id: https://zxing.googlecode.com/svn/trunk@1410 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-06-03 20:59:23 +00:00
srowen 8b60886e41 Go ahead and enable Code 93 in android
git-svn-id: https://zxing.googlecode.com/svn/trunk@1402 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-31 12:47:27 +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
srowen b789f32c71 More logging, care with parsing vCard?
git-svn-id: https://zxing.googlecode.com/svn/trunk@1393 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-27 11:52:49 +00:00
srowen 1ef423bf68 More encoding related changes for encoding Chinese chars in QR codes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1392 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-27 11:25:00 +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
srowen 217e7fd92d Safer check for Build SDK; restrict Behold II workaround to Cupcake, per Samsung
git-svn-id: https://zxing.googlecode.com/svn/trunk@1390 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-26 07:01:58 +00:00
dswitkin ddc082b956 Arabic translation from Randy Shen.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1389 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-25 12:34:58 +00:00
srowen 26d3441a9d Actually add subject/body per GeoSixPack
git-svn-id: https://zxing.googlecode.com/svn/trunk@1374 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-19 18:29:45 +00:00
dswitkin 2f7ca668fc More translation fixes from Randy Shen.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1369 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-17 13:01:48 +00:00
srowen 95a2b88990 Commit good fix for race condition Daniel noted
git-svn-id: https://zxing.googlecode.com/svn/trunk@1366 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-15 11:28:43 +00:00
srowen 391626bb76 Reinstate more optimization, but avoid disagreement with dex by properly disabling the controversial optimizations: field and method merging, mostly
git-svn-id: https://zxing.googlecode.com/svn/trunk@1365 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-15 11:28:01 +00:00
srowen 78100ee871 Backing out this change for the Droid on suspicion that it's interfering with at least one other device
git-svn-id: https://zxing.googlecode.com/svn/trunk@1363 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-15 10:19:23 +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@google.com 7bbc03bdb5 Another translation fix from Randy Shen.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1347 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-10 15:11:35 +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 0e7aedd046 One more time -- rationalize log levels, mostly downward, and pull out 1-2 more statements
git-svn-id: https://zxing.googlecode.com/svn/trunk@1342 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-07 08:07:39 +00:00
dswitkin 2407314d99 Updated translations from Randy Shen.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1340 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-06 14:13:04 +00:00
srowen c462988c61 OK a little too much logging, roll some back
git-svn-id: https://zxing.googlecode.com/svn/trunk@1338 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-05 21:43:58 +00:00
srowen 49adf3b556 Added some log statement to help track down Acer issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@1337 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-05 17:05:11 +00:00
srowen 6adefb84dd Unblacklist the Behold 2 since I think we're working around its problem; list the Desire due to busted Contact app
git-svn-id: https://zxing.googlecode.com/svn/trunk@1331 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-03 21:12:57 +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
srowen a071c20c1a Danish translation from Rasmus
git-svn-id: https://zxing.googlecode.com/svn/trunk@1327 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-02 11:57:11 +00:00
srowen 816d6b81e0 Replace tabs with spaces ( part of accepting another big patch); fix one failing test due to typo
git-svn-id: https://zxing.googlecode.com/svn/trunk@1326 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-05-02 06:49:18 +00:00
srowen 1109e2aecf Fixed XML typo in Polish translation file
git-svn-id: https://zxing.googlecode.com/svn/trunk@1325 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-30 11:33:03 +00:00
srowen ed7f1b83aa Slight tweak to last change -- parse MODE value even when there's no SCAN_FORMATS. Also be extra paranoid about other call to String.split()
git-svn-id: https://zxing.googlecode.com/svn/trunk@1324 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-29 22:18:25 +00:00
dswitkin 43dfd0053f Fixed a crash with using SCAN_FORMATS - Pattern.split() does not like null as an argument.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1323 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-29 22:07:11 +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
srowen ea893d0883 Complete the translation with auto-translations
git-svn-id: https://zxing.googlecode.com/svn/trunk@1321 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-28 18:46:32 +00:00
srowen 9d50d21837 Better error message when SD card isn't accessible
git-svn-id: https://zxing.googlecode.com/svn/trunk@1320 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-28 16:26:59 +00:00
dswitkin 37921f0d21 Added Portuguese translation of the Android client from Randy Shen of Acer.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1319 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-28 15:26:30 +00:00
srowen 3ab7a641cd OK, issue 303, work around different Behold 2 setting
git-svn-id: https://zxing.googlecode.com/svn/trunk@1318 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-25 10:23:22 +00:00
srowen 52ba624795 Try to respect silent ringer setting
git-svn-id: https://zxing.googlecode.com/svn/trunk@1316 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-23 14:58:14 +00:00
srowen 54e61e3e0c Fix up history output, make it an email attachment, save to SD card too; avoid spurious error when output dir already exists.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1312 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-19 13:20:10 +00:00
srowen e51dbb3c53 Use RSS14 on the command line; scan more lines since RSS14 stacked kind of needs this; fix VerifyError when RSS14 is enabled on Android
git-svn-id: https://zxing.googlecode.com/svn/trunk@1311 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-19 09:23:43 +00:00
srowen 95e08d9538 Turn on RSS 14
git-svn-id: https://zxing.googlecode.com/svn/trunk@1310 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-19 07:42:20 +00:00
srowen 484fc75f44 Apparent fix for issue 383 / Moment + Android 2.1 issue
git-svn-id: https://zxing.googlecode.com/svn/trunk@1309 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-16 10:56:15 +00:00
srowen aacdce8d7e Better naming of shared barcode files and deal with case where SD card is mounted
git-svn-id: https://zxing.googlecode.com/svn/trunk@1306 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-13 16:32:12 +00:00
srowen 2e9afb3673 Add description support, as well as handle VEVENT line continuation. Get rid of unused 'title' property
git-svn-id: https://zxing.googlecode.com/svn/trunk@1304 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-13 10:46:31 +00:00
srowen 3a415a4994 Fix small compile error in javame/, update for Java ME SDK 3.x layout, finally disentangle Proguard location from WTK
git-svn-id: https://zxing.googlecode.com/svn/trunk@1302 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-12 08:59:41 +00:00
srowen 047c932fcb Recognize LOCATION in VEVENT
git-svn-id: https://zxing.googlecode.com/svn/trunk@1301 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-11 16:42:11 +00:00
srowen 974d22fbd9 Properly escape single quotes in French translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1300 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-11 10:13:05 +00:00
srowen 9cc7f5838c Make sure it's possible un-set custom search URL; sometimes remains as a newline or space
git-svn-id: https://zxing.googlecode.com/svn/trunk@1299 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-11 10:03:27 +00:00
srowen 10119d1ed0 Oops, bug from last patch. Need to make the Handler in run()
git-svn-id: https://zxing.googlecode.com/svn/trunk@1298 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-11 09:54:15 +00:00
srowen af332626cc Unwind DecodeHandler out of DecodeThread to avoid a VerifyError ?
git-svn-id: https://zxing.googlecode.com/svn/trunk@1297 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-11 07:25:50 +00:00
srowen fa436845dd Use zipalign for debug, and reminder to use it after signing a release
git-svn-id: https://zxing.googlecode.com/svn/trunk@1296 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-10 22:15:18 +00:00
srowen c7d5c2af5a Noticed we should just use BarcodeFormat constants in the client for simplicity
git-svn-id: https://zxing.googlecode.com/svn/trunk@1295 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-10 15:30:22 +00:00
srowen ad1e585a23 Issue 376: re-set camera params after first auto-focus callback to make it work on Droid. Along the way, did a very big reorganization of CameraManager since it was becoming spaghetti code
git-svn-id: https://zxing.googlecode.com/svn/trunk@1292 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-07 18:03:14 +00:00
srowen 2568fc26e2 Credit Ryan
git-svn-id: https://zxing.googlecode.com/svn/trunk@1291 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-07 15:04:36 +00:00
srowen 4bc4b9a452 Look for mot-zoom-step
git-svn-id: https://zxing.googlecode.com/svn/trunk@1290 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-07 08:10:35 +00:00
srowen e6b205cd21 Look for mot-zoom-values
git-svn-id: https://zxing.googlecode.com/svn/trunk@1289 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-07 07:58:22 +00:00
srowen 5af329e7c7 Issue 370, allow custom response URLs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1286 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-06 12:52:55 +00:00
srowen ccfc24f6a7 Updated Hungarian translation from Androida.hu
git-svn-id: https://zxing.googlecode.com/svn/trunk@1278 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-05 22:06:46 +00:00
srowen e7c57efa36 Polish translation from Mateusz
git-svn-id: https://zxing.googlecode.com/svn/trunk@1276 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-04 18:20:21 +00:00
srowen 0413ee8d0b Small thing, make log TAGs consistent
git-svn-id: https://zxing.googlecode.com/svn/trunk@1275 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-03 23:59:34 +00:00
srowen 3423422956 Added send barcode feature
git-svn-id: https://zxing.googlecode.com/svn/trunk@1274 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-03 23:57:46 +00:00
srowen a7ed5f7b5c Fix typo from last commit, black is not 00000000!
git-svn-id: https://zxing.googlecode.com/svn/trunk@1270 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-04-01 23:44:43 +00:00
srowen 7410fd3082 Issue 361
git-svn-id: https://zxing.googlecode.com/svn/trunk@1268 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-30 22:53:34 +00:00
srowen 0b74dfc7fe Update sms: and geo: handling to better respect new RFCs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1266 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-30 18:33:54 +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 cb247250ac 'Blacklist' Geeksphone as they don't seem to report expected camera params
git-svn-id: https://zxing.googlecode.com/svn/trunk@1264 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-30 16:28:44 +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
srowen dc81d74e9f Hungarian translation from Androida
git-svn-id: https://zxing.googlecode.com/svn/trunk@1262 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-27 00:05:47 +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
srowen 5f22834653 Make light off by default
git-svn-id: https://zxing.googlecode.com/svn/trunk@1260 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-26 16:22:20 +00:00
srowen fbd48c4c74 Add option to disable front light
git-svn-id: https://zxing.googlecode.com/svn/trunk@1259 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-26 12:13:13 +00:00
srowen 987865b83a Send history feature now exports full CSV dump
git-svn-id: https://zxing.googlecode.com/svn/trunk@1258 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 21:51:26 +00:00
srowen 9aef445f0e Set EXTRA_EMAIL in order to make email clients fill in email address
git-svn-id: https://zxing.googlecode.com/svn/trunk@1257 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-25 21:36:11 +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
srowen 9165583c7b Oops, didn't intend to enable RSS-14
git-svn-id: https://zxing.googlecode.com/svn/trunk@1250 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-21 13:50:12 +00:00
srowen 6815ab5ea1 Another change for Issue 112
git-svn-id: https://zxing.googlecode.com/svn/trunk@1249 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-21 13:49:49 +00:00
srowen eb33e2a6bf Don't set zoom without knowing maximum for sure
git-svn-id: https://zxing.googlecode.com/svn/trunk@1247 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-19 16:17:00 +00:00
srowen 85a6da3052 Set zoom a bit more reliably and aggressively
git-svn-id: https://zxing.googlecode.com/svn/trunk@1245 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-15 09:42:05 +00:00
srowen 6c0ef1a5be Ensure share clipboard sends String not SpannableText
git-svn-id: https://zxing.googlecode.com/svn/trunk@1244 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-15 09:41:03 +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 0cf89d0402 Preliminary RSS-14 support. Not enabled yet in Android client.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1233 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-04 18:38:58 +00:00
srowen 9fab25f005 Per Daniel -- don't check phone's preview size as we want to use screen size if possible
git-svn-id: https://zxing.googlecode.com/svn/trunk@1231 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-01 15:38:55 +00:00
srowen f30410ff78 Issue 336: set Intent flag to make sure task's launched activities don't stay on top when returning to BS. Doing this for all Intents for now
git-svn-id: https://zxing.googlecode.com/svn/trunk@1230 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-01 15:19:45 +00:00
srowen fa82c20c2f Translate Google Shopper strings; untranslate app name in a few cases
git-svn-id: https://zxing.googlecode.com/svn/trunk@1229 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-01 14:58:38 +00:00
srowen 1a12e1d03e Being paranoid -- what if model string is null?
git-svn-id: https://zxing.googlecode.com/svn/trunk@1227 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-01 11:46:21 +00:00
srowen 5afa0fd861 Notify users of Behold II and Pulse that the device has known bugs
git-svn-id: https://zxing.googlecode.com/svn/trunk@1225 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-03-01 10:04:48 +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
srowen f53a091c34 Try out hacky support for enabling the front light on some devices
git-svn-id: https://zxing.googlecode.com/svn/trunk@1223 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-27 09:35:25 +00:00
srowen 97098a22be Fix r1221 logic
git-svn-id: https://zxing.googlecode.com/svn/trunk@1222 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-27 08:47:32 +00:00
srowen 75d623726f Committing potential fix for Issue 344 as it was reported to work, and works in local testing
git-svn-id: https://zxing.googlecode.com/svn/trunk@1221 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-25 23:21:21 +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 6e680f000a Added Finnish and Dutch translations.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1215 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-22 15:27:42 +00:00
srowen 6758fcdca7 Added one missing translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1209 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-15 13:21:12 +00:00
dswitkin f76dc375b0 Removed our custom share icon, which was only in low res, and replaced it with the system one, which is available in hdpi too.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1207 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-11 01:41:30 +00:00
srowen aa1a7cace4 Issue 338
git-svn-id: https://zxing.googlecode.com/svn/trunk@1206 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-09 13:58:58 +00:00
srowen 146c4e096f Issue 344-related -- avoid NPE when previewFormatString is null
git-svn-id: https://zxing.googlecode.com/svn/trunk@1205 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-09 09:22:33 +00:00
srowen 49601e62e5 Issue 112
git-svn-id: https://zxing.googlecode.com/svn/trunk@1204 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-09 09:14:16 +00:00
srowen a206b17859 Thanks to Jonas Petersson / Prisjakt for Swedish translation
git-svn-id: https://zxing.googlecode.com/svn/trunk@1198 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-04 17:04:53 +00:00
srowen 87f2fada9a Pre-RSS-14 changes. Necessary code changes, but not the decoder. Committing this since it does no harm and clears out my client so I can modify these files for other purposes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1193 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-02-01 19:41:17 +00:00
srowen 4ae280efcb Czech translation from Richard Hřivňák
git-svn-id: https://zxing.googlecode.com/svn/trunk@1190 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-27 12:31:31 +00:00
srowen 44608c1373 Issue 325, 327
git-svn-id: https://zxing.googlecode.com/svn/trunk@1189 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-21 19:11:28 +00:00
srowen 8dde6264e9 Russian translation fix
git-svn-id: https://zxing.googlecode.com/svn/trunk@1188 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-21 15:06:51 +00:00
dswitkin 30c41e5182 Made Barcode Scanner builds runs clean first to prevent stale resources and build problems related to the state ProGuard leaves the class files in.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1183 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-10 14:57:24 +00:00
srowen 1ea2e9f399 Improvement from issue 309
git-svn-id: https://zxing.googlecode.com/svn/trunk@1180 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-07 09:18:12 +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 c7ab6ce807 Added a new high dpi icon, and an updated version of the medium dpi version.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1175 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2010-01-05 15:28:00 +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
srowen a5c6c1c0ff More Italian fixes
git-svn-id: https://zxing.googlecode.com/svn/trunk@1169 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-26 07:39:10 +00:00
srowen 2153a6cd34 Translation fixes from Evgeny Kozdoba
git-svn-id: https://zxing.googlecode.com/svn/trunk@1163 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-22 10:07: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 5cc1df3c92 Finished work on the local binarizer and renamed it to HybridBinarizer. It uses the old histogram for 1D and the new approach for 2D. The unit tests don't fully demonstrate how much better this is in real-world lighting, but it pretty much solves the situation of pointing at a QR Code for 30 seconds without scanning, due to a shadow or gradient.
HybridBinarizer is now the default across all the fast clients and the unit tests.

git-svn-id: https://zxing.googlecode.com/svn/trunk@1157 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-13 21:08:57 +00:00
dswitkin 04ffa93742 Fixed some sporadic crashes.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1151 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-11 17:49:11 +00:00
srowen ef4cdf1969 Issue 295 and Issue 294, treat ADR as wholly different addresses, not 2 lines of 1 address
git-svn-id: https://zxing.googlecode.com/svn/trunk@1150 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-10 15:50:54 +00:00
srowen 6271b86315 Issue 294, add support for several address lines in parsed results
git-svn-id: https://zxing.googlecode.com/svn/trunk@1148 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-10 00:34:54 +00:00
srowen ecce97287a Actually commit pref updates
git-svn-id: https://zxing.googlecode.com/svn/trunk@1135 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-12-04 08:06:33 +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
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