I im building a home project and i want to create a auto complete text view used to suggest addresses.To make the story short i world want it to be just like the one in google maps.I am familiar with java and webservices but i realy dont know where to start.
Thank you.
What about Place Autocomplete API? https://developers.google.com/places/android-api/autocomplete
Related
I want to make a 360 panorama viewer in Android studio.
The idea is to make it exactly like the existing googles street view application.
I want to know how to add a/some UI element inside the VR view so that if a user looks at it, the 360 picture would change to some other picture.
I know it is a long way to go but for now, if somebody could help me or direct me towards achieving it, it will really help.
Thanks in Advance.
A good place to start is a demo app by Google called TreasureHunt (this is part of GoogleVR). Download the sample code compile and run you'll get a sense of what you need to do. TreasureHunt is also found on Google Play.
I'm trying to develop an app which needs to list airport names in world on an android autocomplete textview. I m trying to use google places api. But couldn't do it. What is the best way to do this. Thank you in advance.
hey arya you can go through this tutorial for reference , i found this tutorial very useful have a look-
google places and maps
in this tutorial you can replace cafe/Restaurants with airports and increase the radius size.
You could use Google places/Autocomplete api with the filter as airport.
You could run an async thread to fetch the result via their api or use their library to do the same. Check the below link for more.
https://developers.google.com/places/android-api/start
https://developers.google.com/places/supported_types
Also I suggest using a simple textview with a recyclerview below it for pure ui purposes. Basically the user has more space when the results are displayed on the entire screen than via an autocomplete view. This upto your choice.
I encountered the same problem too. Sadly, there is no way to correctly filter for airports using google places api for now. The only sets of filters that work are TYPE_ESTABLISHMENTS, TYPE_GEOCODE , TYPE_ADDRESS ... see table 3 for a list of supported filters for autocomplete
I'm looking to create a circle menu for markers in my app that uses Google maps.
I've found this online example of what I am trying to do:http://demo-ee.com/index.php/examples/view/circle-menu-for-marker-with-mx-google-maps-for-expressionengine#
The problem is that this is for google maps in a webview, I'm looking to do this on Android.
Does anyone know if this is possible to achieve with google maps for Android and if it is, how much work would be involved to do it?
Is it possible to rebuild this example code in java to use in an Android app?
thanks
I put this as an answer and not as a comment, but I don't think you can achieve the same.
First of all, on android you don't have the "hover" callback for maps, you can only use the onMarkerClick listener.
You could try to build a custom infowindow (there are a few tutorial online but never followed, so I can't give you a trusted one, you have to try :( ) and check if the iw can be placed around your item. Unfortunately on android there is a limited set of functionalities, but to be honest, I would explore a different UX for that (cards, dialogfragment or other).
Check how google maps behaves when clicking on a place (a view scrollable from bottom with details).
You can also think about using a toolbar/expandingtoolbar
I have been looking to implement a map in my website, and have really hit a brick wall - Have read so much, but am very confused. I just wonder if someone could offer a little help?
I have developed an Android App which generates a list of lat/long pairs and stores them in a remote MySQL DB. All I want to do is mark these points on a map, with a little pop up when clicked, indicating some other information about the user.
I have so far looked at Google Maps API and OpenStreetMap, although I really don't know where to begin! I don't know whether I should use Google Maps, as I'm concerned about the API query limit? Should I be?
Would really appreciate it if someone could point me in the right direction!
Thank you
Showing some markers and popups isn't really complicated with OpenStreetMap and OpenLayers:
simple OpenLayers marker example
dynamic markers from a database (example result)
Use google maps javascript v3 and make the required changes
Please refer
https://developers.google.com/maps/documentation/javascript/
The Google Maps API limit is something like 25k (or was it 250k?) per day - so unless the app you're making proves to be really popular, you won't have to worry about it
I'm newbie at android programing. I have read many interesting driving direction application. so, I tried to build map and gps based application.
I can get and show direction between 2 point , but I don't know how to show textual instruction like
http://i.stack.imgur.com/7i7ei.jpg
Can somebody help me out? Or give me toturial?
Thank for you kindness
This api gives you an information about the route steps:
http://maps.googleapis.com/maps/api/directions/json?origin=&destination=&sensor=true&alternatives=true&units=metric;
Parse the JSON, create listActivity and put the data in it.That is all
P.S.
http://code.google.com/apis/maps/documentation/directions/#DirectionsRequests