Can we add focus to Markers of Google maps for Android TV app? can we move to the Marker using TV remote.
Are there Google Maps Api dedicated to Android TV.
Here is a documentation about how to handle hardware like TV.
TV hardware is substantially different from other Android devices. TVs
do not include some of the hardware features found on other Android
devices, such as touch screens, cameras, and GPS receivers. TVs are
also completely dependent on secondary hardware devices. In order for
users to interact with TV apps, they must use a remote control or game
pad.
This SO post also discuss how the user handled the Google Maps Geolocation API for Adroid TV.
So IP Address was used instead of Cell tower and Wifi access points. Because currently Geolocation is achievable using that options.
Related
I found that
Android’s Location Manager API
Google Play Services Location APIs
Google Maps Geolocation API
can get current location, what is the difference between them?
Especially Google Maps Geolocation API is not free, why should one use that instead of free ones?
Maybe Android's location Manager and Google play service location is only available to Android device, while Google Maps Geolocation works both on Android and iOS?
I don't have a lot of experience with what you're talking about, but I did some research about differences these technologies and maybe it can help you:
"Google Maps Geolocation API" unlike Android's Location Manager API, can work in web browsers as well as the Android operating system. And Google Play Services Location API is mostly used by mobile app developers to gather information about verified users.
I am working to develop a web app that can utilize a GNSS receiver connected to a smart device to plot points of interest and display them on a map. I am trying to capture the enhanced location data that is being provided via the GNSS receiver. Connecting a GNSS receiver to an android phone or tablet, you have to enable mock locations on the device. The web app works while the GNSS unit is not connected, but once it connects, Chrome is unable to load any location at all, using either getcurrentposition() or watchposition(). The team I am working with thinks the browser might not recognize the units the GPS device is measuring (degrees minutes seconds as opposed to decimal degrees), but I am not so sure this is the case. The Google maps app works while a device is connected to the GPS unit, but maps.google.com does not, which makes me think this is a browser issue. I've also found other apps from the app store that are able to take readings from the device's mock locations. Not being able to use the improved accuracy of the GNSS unit limits the app to the GPS information the phone/tablet provides. Any thoughts about how I could make this work?
I have a PhoneGap application that has a Google Map view that drops pins for locations geo-encoded by Google Maps. I’m using the free client-side API since from my understanding each user that installs the app has his/her own usage limits (25k per day), that they will likely never exceed. The app is free, but I was paid to build the app.
If this goes to the app store am I breaking the law? I feel like a PhoneGap mobile application is a gray area since there is no server and no single IP that can abuse the service.
I'm not sure who you did pay.
Anyway, the Google Maps API TOS describes this at 9.1.2 Exceptions > Mobile Applications.
https://developers.google.com/maps/terms#section_9_1_2
(b) Mobile Applications.
(i) The rule in Section 9.1.1(a) (Free Access) does not apply if your Maps API Implementation is used in a mobile application that is sold for a fee through an online store and is downloadable to a mobile device that can access the online store.
And Google Maps API for work does not work on PhoneGap, because there is no domain.
Problem
I want to launch Nokia Maps inside Windows Phone 8 but I can't find the URI scheme which would allow me to do this.
Nokia Maps doesn't seem to listen to their REST Api or url either. (While this does work in Windows Phone, it's not using the Nokia Map it uses the browers)
My eventual goal is to figure out all the things Nokia Maps can do (X to Y, center on a gps coordinate, label locations, etc), and access them through app launching.
I originally tried the bingmaps URI scheme:
http://msdn.microsoft.com/en-us/library/windows/apps/jj635237.aspx
However this did not work, as Windows Phone 8 does not have Bing Maps, and does not listen to the old Bing Maps schema. I did try "nokiamaps:" but no luck :)
Additional Information
In Windows Phone 8 it's pretty trivial to launch another app if you know the URI scheme:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/Hh779672(v=win.10).aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-4
If I could find documentation on their schema I'd be set!
TLDR
Can you solve the following problem: Fill in the empty string launchNokiaMaps to launch the Nokia Maps app.
private async void launch()
{
string launchNokiaMaps = "";
await Windows.System.Launcher.LaunchUriAsync(new Uri(launchNokiaMaps));
}
After investigation, I found the Uri:
private async void launch()
{
string launchNokiaMaps = "explore-maps://v1.0/?latlon=56.615495,12.1865081&zoom=5";
await Windows.System.Launcher.LaunchUriAsync(new Uri(launchNokiaMaps));
}
That will lauch the Nokia Maps app.
However you should be careful with that because Nokia Maps is not necessarily installed on Windows Phone 8 devices. For example, HTC devices come with the default "Maps" app.
So if you just want to open the default Maps app, you should use the MapsTask. That will work on every Windows Phone 8 device.
I couldn't find any information on if Nokia Drive subscribes to the new App2app protocols. However, the nokia based maps application has a task launcher that lets you do quite a bit. (Bing Map Task is depreciated)
MapsTask mapsTask = new MapsTask();
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206989(v=vs.105).aspx
I would suggest implementing your own map control using the Maps API and get full control over the user experience.
http://www.developer.nokia.com/Resources/Library/Lumia/#!guide-to-the-maps.html
http://www.developer.nokia.com/Community/Wiki/What%27s_new_in_Windows_Phone_8
Nokia have recently introduced a set of APIs specifically to launch HERE Maps on the device, as well as HERE Drive and HERE Transit.
The API documentation specifies the following use cases:
HERE Launchers are simple to use APIs which enable you to launch
HERE applications from your own Windows Phone application, to perform
services provided by those applications.
The API is compatible with Windows Phone 8 devices. Additionally the
API requires the HERE applications implementing the services being
present in the device. In case the API is used without the
implementing application being present in the device, then the user
will be forwarded to the Application store for obtaining the required
application.
Currently there are three HERE applications which are providing the
services implemented in the HERE launchers API: HERE Maps, HERE Drive,
and HERE Transit.
HERE Maps, Drive, and Public Transport are available worldwide on all
Nokia Lumia Phones, and they may be available for other Windows Phones
via Windows Phone store.
Code examples (covering use cases such as the one displayed below) can be found here.
In my blog I put some information that could be useful if you want to insert in your WP8 app the capability to start a navigation to a destination.
http://enzocontini.wordpress.com/2013/04/07/how-to-start-a-turn-by-turn-navigation-to-a-destination-from-your-windows-phone-app/
;-)
Enzo Contini
I understand that I can use MapKit within a paid iPhone app. (http://stackoverflow.com/questions/7282633/google-maps-apis-in-iphone-paid-app)
How about if I have a feature within such an app that accesses Google Maps driving directions, using Google's web API? Can I still charge for my app?
The Developer Guide provides you with the info you need:
http://code.google.com/apis/maps/documentation/javascript/usage.html
It's limited to 25 000 map loads per day, as you are making an iPhone App that makes use of Google Maps per user and not through a server, you should be fine unless the user loads a map more then 25.000 a day, then he is being cut of. But this should not effect your commercial intensions of your app when using this API.