Skip to content
Google’s postal address library, powering Android and Chromium
Branch: master
Clone or download
Latest commit 81e7ead Feb 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android (AUTOMATIC) opensource update Aug 3, 2018
common
cpp Fix build with Windows/libc++ Feb 15, 2019
externals Change grit submodule URL, update readme Jan 6, 2017
testdata
.gitignore
.gitmodules
.travis.yml
AUTHORS Add AUTHORS and CONTRIBUTORS files. Sep 2, 2014
CONTRIBUTORS Add AUTHORS and CONTRIBUTORS files. Sep 2, 2014
LICENSE
README.md Switch libaddressinput to use standard C++11 data types. Sep 28, 2017
build.gradle
settings.gradle (AUTOMATIC) Exporting changes for github Mar 12, 2015

README.md

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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.