I want to integrate the google map AR navigation in the Android app programmatically.
Please help me if someone has any idea regarding this.
Live View (AR navigation) is only available within the Google Maps app. If you want to present Live View within your app, you could submit a Maps SDK for Android feature request for adding Live View navigation.
You can also use Google Maps Intents to open turn-by-turn navigation in the Google Maps app from your app, but there is no parameter to specify activating Live View so the user would have to locate and tap the Live View button once in Google Maps. If you would like to be able to launch Live View navigation in the Google Maps app from your app, you could submit a Maps URLs feature request for adding a Live View mode parameter.
In the meantime, here's a codelab teaching how to present nearby places in AR with ARcore alongside a map in your Android apps. You could use the skills taught in it and combine with the Directions API to construct your own AR navigation experience.
Related
I basically want to be able to smoothly zoom in and out on a google maps to a specific custom locations wherein i can show multires panaromic views. Its like integrating pano2vr or krpano into google maps smoothly, except that I wanna do it using google maps and not a third party software. Is there a way to do it?. Any kind of leads on this is much appreciated. I am new to android.
I want to use Navigation just like google maps in real time.
Can we transfer data from google map to my android app in real time?
The Google Maps app for Android exposes several intents that you can use to launch Google Maps in display, search, navigation, or Street View modes. If you want to embed a map in your app, refer to the Google Maps Android API Guide on the google maps API site.
I've read Google Map API Terms of use, section 10.4.c.iii
I know that I cannot use Google Map/Places API for real-time navigation.
I only use Google API for finding the current place (Geocoding/Reverse Geocoding).
The data for navigation comes from another data source, I built it myself, not direction data from Google. I'm totally not using Google's data for real-time navigation. However, I started a Google Map Android app and need to draw the route on the Map Surface for the simulation.
I am not clear at this point that I can use Google API for my app or not.
Please advice. Thank you.
I am doing an app that allows users to get directions from one room to the next room of the same building and require the application to show the user indoor directions. I have tried and tested the Google Maps Intent which opened the Google Maps app and gave directions from one room to the next. I am required to not allow the user to open up an external map app and then receive directions. Instead they must use the Google Map built into my application. I was wondering if it's at all possible to do indoor directions on Google Maps Android API. Would genuinely appreciate any help I get. Thanks!
The Google Maps Android API v2 has options for indoor maps. See https://developers.google.com/maps/documentation/android/ under 'Indoor Maps' for a quick example.
Of course, that doesn't prevent them from using an external app by itself, but it does let you provide them indoor map data in your app.
Well I think you should have to start by using internal sensors to navigate. Add an indoor map of the building so that you would know where you are at in the building.
Im trying to create a very simple application that I will use to present a product that my team and I are creating. In my app, I would like to allow an option where if a specific textview is clicked, it will open up a map to that specific location. Of all the tutorials of the google maps that I have seen, it seems that the only way to use the maps is to have your class extend the mapactivity class. Is there any way to use this simple app other than to make my app a map based app? Also which version of the google maps would be the best to use in my situation. Thanks for everyone's help.
What do you mean by a "map based app"? if you want to embed Google Maps in your application, today you would use Google Map API V2 as V1 is deprecated. in that case you don't have to extend your Activity from MapActivity and you can use a simple Activity if you targeting API > V11. if you target lower API's you would extend you Activity from FragmentActivity to allow backward compatibility for Fragments.
Here is a blog post I wrote with all the details on how to embed Map capabilities in your application:
Google Maps API V2
If on the other hand you would like to avoid embedding Google Maps in your application, you could just fire an intent to turn on the native Google Maps application.
UPDATE:
Take a look at this page for intents you can fire for native Google applications (including Maps):
http://developer.android.com/guide/appendix/g-app-intents.html
and look at this questions:
Launching Google Maps Directions via an intent on Android
Using the pre-installed Google Maps instead of an own activity by using Intents?