Skip to content

a simple android class that find complete address(City, pincode, country, address line) from given address or latitude and longitude.

Notifications You must be signed in to change notification settings

nandan-kumar-singh/AddressFinder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

AddressFinder

a simple android class that find complete address(City, pincode, country, address line) from given address or latitude and longitude.

//to get address from latitude and longitude

        new AddressFinder(28.623624, 77.058628) {
            @Override
            public void onGetAddress(Address address) {
                Log.d(TAG, "onGetAddress: " + address.toString());
            }
        }.execute();
        

        OR 
        
        //to get address from address text use limke this
        new AddressFinder("Uttam nagar, new delhi") {
            @Override
            public void onGetAddress(Address address) {
                Log.d(TAG, "onGetAddress: " + address.toString());
            }
        }.execute();

the output result is :-

Address1: C-76 Captain Vijyant Thapar Marg, City : Noida, County : Gautam Buddh Nagar, State : Uttar Pradesh, Country : India, Pin : 201301

About

a simple android class that find complete address(City, pincode, country, address line) from given address or latitude and longitude.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages