Clone this repo:


  1. b8c23dd (AUTOMATIC) opensource update (#125) by Sebsg · 20 hours ago master
  2. ab6e5df Merge pull request #126 from rsolomakhin/master by Sriram Sundarraj · 22 hours ago
  3. c9c116f Add travis-ci config by Rouslan Solomakhin · 4 days ago
  4. 28bee1e Merge pull request #117 from madmath/master by Sriram Sundarraj · 7 months ago
  5. f75955d Merge pull request #118 from googlei18n/revert-116-revert-113-patch-1 by Sriram Sundarraj · 7 months 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 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 used in address-related projects in Chromium. 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.

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:!forum/libaddressinput-discuss