Clone this repo:
  1. bc218bd Merge from Chromium at DEPS revision db3f05efe0f9 by Torne (Richard Coles) · 9 years ago main master master-soong ub-webview-m40-release android-m-preview android-m-preview-1 android-m-preview-2 webview-m40_r1 webview-m40_r2 webview-m40_r3 webview-m40_r4
  2. 5074e75 Merge third_party/libaddressinput/src from at 51f43544159ce5e2d4e19dfa1673149ba73a0200 by Android Chromium Automerger · 9 years ago
  3. 51f4354 Merge pull request #33 from lararennie/label_fixes by dlyongemallo · 9 years ago
  4. b6bf3a8 More whitespace/line-break changes, fixed tests by using this where appropriate. by Lara Scheidegger · 9 years ago
  5. 29761c8 First version of code (tests error) by Lara Scheidegger · 9 years ago


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 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:

Video: Easy International Checkout with Chrome


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 (all the non-UI unit tests can be readily run in Java SE, ant junit) 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:!forum/libaddressinput-discuss