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.
Related
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.
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.
I am using Google Maps Android Api V2 for maps. Is there any limitation of usage of maps in android? I have read the doc mentioned by Google from here Google Maps Usage Limit.
It's clearly mentioned that
The Google Earth API, and native Maps APIs for mobile platforms such as Android and iOS are not affected. Use of the embed feature of Google Maps, and other Google products that offer an embed feature that includes a map, are not affected by these limits
But still i am a little confuse and want a confirmation.
Any help will be appreciated.
My understanding of the Quotas for Maps API is that a map load is defined as:
A single map load occurs when:
a map is displayed using the Maps JavaScript API v3 when loaded by a web page or application;
a Street View panorama is displayed using the Maps JavaScript API v3 by a web page or application that
has not also displayed a map;
a single request is made for a map image from the Static Maps API; or
a single request is made for a panorama image from the Street View Image API.
from https://developers.google.com/maps/faq#usage_mapload
Therefore since a map load is not triggered by the Mobile API (Android or IOS SDK) then there is not a quota limit for the Mobile API's. I'll ask my contacts in the Google Maps team for clarification though.
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?
How do I use the Google Maps API to search the destination by some keywords and get a list of options of destination?
I'm developing an Android application that uses using Google Maps.