summaryrefslogtreecommitdiff
path: root/src/com/google/zxing/client/android
AgeCommit message (Collapse)AuthorFilesLines
2009-02-06Make public to enable reuse; add convenience constructor for no cropping, or ↵srowen1-19/+65
cropping without a Rect object. Also optimize a few things. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@843 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-05Convert asserts to exceptions where the conditions could be false in a ↵srowen1-2/+3
correct, bug-free program -- makes sure caller errors are caught and reported meaningfully git-svn-id: http://zxing.googlecode.com/svn/trunk/android@840 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-30git-svn-id: http://zxing.googlecode.com/svn/trunk/android@835 ↵srowen1-0/+4
59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-10Small updates from code inspectionsrowen2-14/+9
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@823 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-03git-svn-id: http://zxing.googlecode.com/svn/trunk/android@812 ↵srowen2-2/+2
59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-02Oops, appears I accidentally committed a typo -- addressing thatsrowen1-1/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@811 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-01-02Commit additional check for null as suggested on discussion groupsrowen1-3/+4
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@810 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-30Add more unit tests for client.result, and more small code tweaks.srowen10-45/+77
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@809 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-12More reckless refactoring and code style tweaks -- mostly adding braces ↵srowen21-26/+84
around conditional/loops, and using @Override git-svn-id: http://zxing.googlecode.com/svn/trunk/android@784 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-11Added two new preferences: vibrate on scan, and copy contents to clipboard ↵dswitkin2-5/+30
on scan. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@783 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-09Small speedups in time-related codesrowen4-15/+32
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@780 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-12-01Added a specific message for unsearchable books, and changed the Exit button ↵dswitkin2-6/+11
in the help to Done to be a little clearer. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@766 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-26Created an HTML help system, which is hooked up to the Menu/Help button. It ↵dswitkin3-8/+137
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: http://zxing.googlecode.com/svn/trunk/android@761 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-22Made phone numbers hyphenated in the display below the encoded QR Code.dswitkin1-3/+4
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@759 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-22Added great new artwork from Joseph for the Share UI. Also renamed the Share ↵dswitkin1-1/+1
menu item to be clearer. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@758 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-21Forced the Android client to only decode the existing 7 formats, thereby ↵dswitkin1-1/+15
excluding ITF for the time being. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@751 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-20Added support for encoding multiple email addresses and phone numbers using ↵dswitkin3-27/+39
the new constants I added to the Contacts app for Android 1.1. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@750 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-19Updated the Android client to use native/local QR Code encoding. For now it ↵dswitkin2-38/+32
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: http://zxing.googlecode.com/svn/trunk/android@739 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-19Added support for adding a contact with multiple email addresses and phone ↵dswitkin1-7/+31
numbers. This change requires Android 1.1 to work, but is harmless on 1.0. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@723 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-16Appear to have fixed the URL escaping issues this time without regressionsrowen2-18/+8
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@710 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-13making stuff final, weakening types, etc. per IntelliJ analysissrowen20-76/+84
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@693 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-12Wrote a new bookmark picker activity for use by the Share button, because I ↵dswitkin2-8/+90
couldn't get the platform version to work. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@691 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-12Fixed a regression in the QR Code encoder. The contents do not need to be ↵dswitkin1-2/+1
run through URLEncoder first. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@690 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-11Changed the ChartServer and Search Book Contents URLs back to google.com ↵dswitkin2-4/+6
instead of using the LocaleManager, as they are API calls, not user-facing websites. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@687 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-11Added support for Furigana using the SOUND field in MECARD. ↵dswitkin1-0/+7
AddressBookParsedResult now has a pronunciation field to represent this. I'm not aware of whether this is supported in other formats like VCARD, so they all pass null for now. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@686 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-11Now attempts to use locale-specific Google property in client. Also made ↵srowen15-50/+116
some stuff final that can be. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@685 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-11Somehow the IntelliJ Subversion integration did not commit these deleted ↵dswitkin4-729/+0
files when I did the rename. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@684 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-11Hid the Share menu if the results screen was showing, since it didn't make ↵dswitkin2-2/+10
sense. Also change the autofocus delay to 1.5 seconds, to make it hunt a little less, and give the autoexposure system more time to run. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@683 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-10Did a bunch of renaming, there was no need for the Barcodes prefix.dswitkin5-4/+733
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@682 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-10First pass at adding a UI for sharing data via QR Codes. There's now a Share ↵dswitkin5-7/+211
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: http://zxing.googlecode.com/svn/trunk/android@681 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-06Fixed two leaks when using AndroidHttpClient.dswitkin2-1/+7
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@675 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-06Added support for landscape mode when encoding QR Codes, and made some small ↵dswitkin1-0/+1
layout improvements. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@672 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-06Finished renaming UPC --> Product in a few places.dswitkin2-7/+7
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@671 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-06Added support for supplying a postal address when encoding a QR Code.dswitkin2-3/+9
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@670 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-11-04Renamed UPC result type to Product, and introduced an idea of 'product ID' ↵srowen2-5/+5
and 'normalized product ID' to account for UPC-E, where the actual visible ID is different from what we may want to search for as a key. Updated clients to use this too. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@668 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-30Did a big refactoring on the MonochromeBitmapSource. I removed all the ↵dswitkin1-6/+22
caching luminance calls and converted them to getting luminance data on demand. This saved another 33,000 function calls per rejected scan, good for another 15 ms savings. I also moved the luminance calls to BaseMonochromeBitmapSource and made them protected, to indicate that the decoders shouldn't use them. Overall the recent optimizations took one rejected scan from 307 to 135 ms, which is definitely noticeable. WARNING: I am not able to build the Bug or J2ME clients, but I believe they are correct. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@656 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-23Added support for a title when searching for an address, for example a ↵dswitkin2-3/+17
business name. Also changed snipppets --> snippet in book search. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@635 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-22Add column caching to MonochromeBitmapSources and use it to improve Data ↵srowen1-0/+4
Matrix speed git-svn-id: http://zxing.googlecode.com/svn/trunk/android@631 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-18The new Android client, featuring:dswitkin30-0/+3837
- 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: http://zxing.googlecode.com/svn/trunk/android@625 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-19The new 0.9 SDK Android client.dswitkin9-1465/+0
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@568 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-27More refactoring of parsed results / result parsers; added basic vCard supportsrowen1-1/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@487 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-27Take advantage of new parsed result fields in Android clientsrowen1-0/+4
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@484 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-26Big refactoring of ParsedResult: now split into ResultParser and ↵srowen3-67/+39
ParsedResult classes, per Christian's suggestion. This unifies the parsed results that are produced from various input, simplifying client handling of different types. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@482 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-20Standardize and update all copyright statements to name "ZXing authors" as ↵srowen9-9/+9
suggested by open-source team to correctly attribute copyright in a project with contributions from several sources. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@455 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-12Refactored the MonochromeBitmapSource hierarchy to share a great deal of ↵dswitkin1-108/+26
code and shrink the derived classes considerably. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@418 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-06-11Fix bad logic black point estimator, improving threshold estimation ↵srowen1-1/+1
performance (and adjust some == to .equals()) git-svn-id: http://zxing.googlecode.com/svn/trunk/android@417 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-24Added SMSTO support, added subject/body param support in mailto:, improved ↵srowen1-6/+9
handling of mailto: and tel: URIs git-svn-id: http://zxing.googlecode.com/svn/trunk/android@402 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-03Merged revisions 378,380,382 via svnmerge from dswitkin3-1/+21
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: http://zxing.googlecode.com/svn/trunk/android@384 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-02Many more little tweaks from IntelliJ inspectionssrowen4-24/+31
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@382 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-05-02Fix typo introduced at the last second before commit. Watch that 'a' key!srowen1-1/+1
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@381 59b500cc-1b3d-0410-9834-0bbf25fbcc57