stephenbaidu / android-place-picker Goto Github PK
View Code? Open in Web Editor NEWAndroid PlacePicker similar to that of Google Maps' location search
Android PlacePicker similar to that of Google Maps' location search
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.
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.
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
error: resource drawable/abc_ic_ab_back_mtrl_am_alpha (aka com.example.motorbikeapplication:drawable/abc_ic_ab_back_mtrl_am_alpha) not found.
Hello again,
I still cant get Lat Long from getDoubleExtra to test with Logs :( It gives me 0.0 always :(
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 ;)
I use the demo in this project and android stuido show that error: cannot find symbol onDetailFetch
Sometimes while typing the text of the address, I get following error and the app crashes:
ArrayIndexOutOfBoundsException (@AutocompleteTask:doInBackground:86) {AsyncTask #2}
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.