Clone this repo:
  1. 81e7ead Merge pull request #172 from tanderson-google/libcpp-win by Rouslan Solomakhin · 4 weeks ago master
  2. bb799e5 Fix build with Windows/libc++ by Tom Anderson · 5 weeks ago
  3. d7ed8e2 Merge pull request #168 from googlei18n/opensource_update_3447 by Sebsg · 8 months ago
  4. 715c302 (AUTOMATIC) opensource update by Rouslan Solomakhin · 8 months ago
  5. 332418f Merge pull request #167 from googlei18n/opensource_update_12025 by Sebsg · 8 months ago

libaddressinput

Build Status

The libaddressinput project consists of two different libraries (one implemented in C++, one implemented in Java for Android) that use address metadata from Google's Address Data Service to assist application developers in collecting and handling postal addresses from all over the world.

These libraries can provide information about what input fields are required for a correct address input form for any country in the world and can validate an address to highlight input errors like missing required fields or invalid values.

C++

The C++ library (in very portable C++11) of libaddressinput is used in address-related projects in Chromium.

https://chromium.googlesource.com/chromium/src/+/master/third_party/libaddressinput/

Java

The Java library of libaddressinput is written for use in Android and includes an Android UI address input widget ready for use, but only the UI parts are tied to Android.

Non-UI code and tests can be run in Java SE, and the rest of the library could easily be adapted to run in any Java environment.

Mailing List

Using and developing libaddressinput is discussed on this mailing list:

https://groups.google.com/forum/#!forum/libaddressinput-discuss