Google Maps API and Lua - google-maps

I am a developer working on Lua scripting as my backend code for mobile app development. I have a requirement to use the Google Maps service and the google directions service within my Lua script to enable GPS tracking and sore some of the information into a database.
The following link helped me a little to understand how to achieve the functionality but is the same possible with Lua Script? (where I don't use any HTML or javascript anywhere).
https://google-developers.appspot.com/maps/documentation/javascript/examples/directions-waypoints

Related

Utilizing TagManager API in apps scripts

It would appear that Google has recently implemented a tagmanager interface for Google Apps Scripts. I attempted to follow along with the documentation but found that the service was not available via Resources -> Advanced Google Services dialogue. Am I missing something here? How can I get access to the TagManager service via apps scripts?
It is stated in the documentation of Google Apps Script that if you want to use a Google API that isn't available as an advanced service, just connect to it like any other external API.
Here is the things that you can do in External API.
Connecting to public APIs
Parsing XML
Working with JSON
Making requests to services with OAuth
Just take note that if you want to use Tag Manager API in the Apps
Script, you should also enable the Tag Manager API in your Developers
Console.

Turn by Turn GPS Navigation on Android Using Android Studio

I want to use the Tun by Turn voice navigation feature that on google maps app in my android app, I've searched a lot but couldn't find answer, I've used google maps direction API for creating the path from the current location to the user's destination, it's part of the idea of the application to help the user navigate,
What API should I use ? or is it even possible to do it?
Google Maps API v3 does not provide the voice feature at all. And Google Maps API v3 and Google Maps applications are completely different ones. So if you want to implement the voice navigation, you need to prepare it.
Best to read the terms of service. 10.4 (c) ⅲ might be relevant:
ⅲ. No navigation. You will not use the Service or Content for or in connection with (a) real-time navigation or route guidance; or (b) automatic or autonomous vehicle control.
Fortunately, org.apache.cordova.plugin.tts plugin provides that function for Android.
document.addEventListener("deviceready", function() {
tts.speak("Hello");
});
Please refer to the link:
https://github.com/domaemon/org.apache.cordova.plugin.tts
Hope it helps.

Google Maps Engine Portable: Offline Maps API?

I recently saw some information on GME Portable. It sounds like this tool allows not just GME API access, but also regular Maps and Earth API access offline?
I've recently developed the first stage of a demo for an academic software project with the Google Maps API. It seems to be working perfectly, but I've recently been informed that it needs to be useable in an always-offline mode. Thus, my goal is now to convert this app into something that can be always-offline, but still has the elegance of google maps.
Is it possible, with GME Portable (which I cannot find a download for...) or the regular Google Maps API to develop an application that does not need to http-request Google for the API every time it loads up?

Google Maps iOS SDK - Search for places

I'm new to both iOS programming & the Google Maps iOS SDK, so apologies if this is a basic question.
I want to include a Google map, in an app and give users the ability to search for various places (restaurants, bars, gyms, etc) within a certain radius of a marker.
I know this is possible using the javascript api, but can it be done using the maps iOS SDK? I have read all of the information here and have searched Stack Overflow & Google but I can't really find anything that gives me any pointers.
Within the documentation, Google say that using a URL Scheme you can launch a native iOS app and pass in parameters for searches, directions etc. Is this what I need to be using, or is that more tailored to a webapp?
Any help, advice, or pointers to tutorials (other than the ones provided by Google) would be massively appreciated.
Cheers
The Google Maps URL Scheme can currently only be used to open the Google Maps app to search for a location or for directions. It can't search for places. Also, if your own app did this, then it would shut down your app and switch to the maps app, which may not be what you want. It will also only work if the user has installed the Google Maps app.
You would probably want to use the Google Places API to make http requests from your native app. You can request a response in either JSON or XML format. Then you'll need to parse the response, and use it to add markers to a GMSMapView using the Google Maps SDK for iOS.
This blog post describes this library which the blog post's author wrote to wrap the Google Places API. You wouldn't need most of this code, but it might give you an idea of where to start. This class is the main one which handles the requests to the places API.
Note that this library uses a third-party JSON parser - SBJsonParser. As of version 5.0 iOS includes a native JSON parser, NSJSONSerialization. So if your app's minimum supported iOS version is 5.0 or higher, you don't need to use a third-party library.

How can I build a Desktop client for Google Drive?

I want to build desktop application for Windows OS and use Google Drive to save some data in the cloud. After reading Google Drive SDK I found that only Web-applications, were installed from Chrome Web Store are allowed to use API and have access to data on Google Drive.
So my question: do I have any way to build native client (C++, Windows) for Google Drive? I know about hacks with using Google Docs API - but they can stop working any time, and I want something stable. Why Google team do not allow me create desktop application for their service? I have support of many other cloud storages and they do not have such restrictions.
Thanks.
For now you will have to use the (older) Google Document List API which provides full read-write and list access to Google Drive. (Google Drive and the former Google Docs use the same data)
So until we extend the capabilities of the current Drive API to cover the Google Document List use case you should use that instead.
EDIT: We just launched the v2 of the Google Drive SDK so you should now use that instead.
I have been working on a similar problem. I have realized that there is no straight forward way for doing this. Google Drive SDK is not easy to work with and how someone can simplify the process of connecting desktop application to Google drive shortly. I know this is not much help, but I am looking for a soltuion as well.
Here is some links that I have come across, haven't solved my problem either, but if you come to a solution please let us know PLEASE:
How to make GUI Client to upload file in java
Using Java APIs for downloading file from the Google Drive
http://www.coderanch.com/t/643120/Servlets/java/upload-file-drop-box-file