Skip to content

google/libaddressinput

Folders and files

NameName
Last commit message
Last commit date
May 6, 2024
Jan 15, 2025
Jan 15, 2025
Dec 23, 2022
May 6, 2024
May 4, 2018
May 12, 2015
Jan 6, 2017
Jan 6, 2020
Sep 2, 2014
Sep 2, 2014
Mar 2, 2015
Feb 24, 2021
May 6, 2024
May 6, 2024
May 6, 2024
Mar 12, 2015

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

License

Source code licensed under the Apache 2.0. Data licensed under the CC-BY 4.0

About

Google’s postal address library, powering Android and Chromium

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published