summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-02-10Changed the Intent to send emails to address issue 145.dswitkin1-3/+5
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@847 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2009-02-10Refactored width/height values into superclass and enabled construction of ↵srowen1-14/+1
RGBMonochromeBitmapSource from a Bitmap git-svn-id: http://zxing.googlecode.com/svn/trunk/android@846 59b500cc-1b3d-0410-9834-0bbf25fbcc57
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-10-18Removed the old Android client in preparation for the new one.dswitkin14-2202/+0
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@624 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-17Reformatting and minor code tweakssrowen1-334/+331
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@621 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-10-13Added the missing AndroidHttpClient to the package, which fixes the Android ↵dswitkin2-1/+435
client build using the 1.0 SDK. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@613 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-11Fixed missing "Send SMS" button in Android client. We showed the SMS number ↵dswitkin1-0/+2
but were unable to launch the SMS app without this. git-svn-id: http://zxing.googlecode.com/svn/trunk/android@579 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-09-11Small updates and improvements to the Android client.dswitkin3-5/+18
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@577 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-19The new 0.9 SDK Android client (for real this time).dswitkin13-0/+1756
git-svn-id: http://zxing.googlecode.com/svn/trunk/android@569 59b500cc-1b3d-0410-9834-0bbf25fbcc57
2008-08-19The new 0.9 SDK Android client.dswitkin12-1589/+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