|author||Lara Scheidegger <email@example.com>||Wed Aug 17 13:15:37 2016|
|committer||Lara Scheidegger <firstname.lastname@example.org>||Wed Aug 17 13:15:37 2016|
Merge branch 'master' of github.com:googlei18n/libaddressinput into opensource_update_8565
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 I18n Services 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.
The C++ library (in very portable C++03) of libaddressinput is the backend for requestAutocomplete() in Chromium. The source code for that is a good example of how to use this library to implement a complex feature in a real application:
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.
Using and developing libaddressinput is discussed on this mailing list: