Giter Club home page Giter Club logo

android-place-picker's People

Contributors

stephenbaidu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

android-place-picker's Issues

Can't get LatLng values

Hello again,

I still cant get Lat Long from getDoubleExtra to test with Logs :( It gives me 0.0 always :(

Array Index Out of bounds Exception

Sometimes while typing the text of the address, I get following error and the app crashes:

ArrayIndexOutOfBoundsException (@AutocompleteTask:doInBackground:86) {AsyncTask #2}

how to get it work

I use your demo and build it succesful then install to my android device Lenovo A319. But when i press button PICK A PLACE then enter keyword in search box it does not show any suggestion. Therefor i cannot pick any place

Getting lat long 0.0

Hi,

I used your library and working like charm. Thanks for your support and library.

I'm novice in android and don't have deep knowledge so i can't identify this error. So it would be great if you can help me to find out lat long.

I'm getting a issue which is getting Lat & Long = 0.0, even i'm getting proper address.

So could you help me

Power Plant V.K.I. Area, Sector-9, Vishwakarma Industrial Area, Jaipur, Rajasthan, India
=====PlacePicker=====﹕ Longitue : 0.0
=====PlacePicker=====﹕ Latitude : 0.0
=====PlacePicker=====﹕ ChIJSf4kMUaybTkRS_Ji_aGgVGI: <Power Plant V.K.I. Area, Sector-9, Vishwakarma Industrial Area, Jaipur, Rajasthan, India> (0.0, 0.0)

Thanks & Regards
Dharmbir Singh

Android Resource Linking failed

error: resource drawable/abc_ic_ab_back_mtrl_am_alpha (aka com.example.motorbikeapplication:drawable/abc_ic_ab_back_mtrl_am_alpha) not found.

Showing static Lat Long values

PlacePicker.java defines static values of Latitude and Longitude.

Instead of:

resultIntent.putExtra("place_picker_result", placeDetail);
            resultIntent.putExtra("place_picker_place_id", placeDetail.placeId);
            resultIntent.putExtra("place_picker_place_desc", placeDetail.description);
            resultIntent.putExtra("place_picker_place_latitude", "5.45");
            resultIntent.putExtra("place_picker_place_longitude", "-2.1");

Should be:

resultIntent.putExtra("place_picker_result", placeDetail);
            resultIntent.putExtra("place_picker_place_id", placeDetail.placeId);
            resultIntent.putExtra("place_picker_place_desc", placeDetail.description);
            resultIntent.putExtra("place_picker_place_latitude", placeDetail.latitude);
            resultIntent.putExtra("place_picker_place_longitude", placeDetail.longitude);

Fix asap plz. Im glad using your project for a school project one ;)

Incompatible with Jackson library

The class com.github.stephenbaidu.placepicker.PlaceDetail is not having a public empty constructor. JSON serializing libraries like Jackson requires a default public constructor for serialization. Could you please add it to the library.

Feature Request: Show Results on a Map Fragment

This is a request for possible feature.

As the acitvity opens, an option where initial results based on given query parameters within limited radius (also given by query param are displayed).

If keyboard is not opened, results can showed on a map on bottom side. This gives a better feel of the place person is trying to pick. (Like the google's official place picker)

Let me know what do you think about it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.