my question is short.
I am making an application that creates and uses .kml map files. I thought it would be a very good idea if the user could upload his maps to Google "My maps" server (which imports .kml files through the browser version) from my application, and also load them afterwards. However, I have not found any documentation related to this possibility, and I have spent hours looking through the internet and the Google Maps Android API, without luck.
Does anyone know if my idea is possible? Or google keeps this closed for their internal applications?
Thanks :)
There is an API to upload .kml files to Google Maps (the Google Maps Data API), but it doesn't work due to a bug that Google have decided not to fix for some reason.
See my answer to the question "how can I upload a kml file with a script to google maps?" for the details
Related
I have been struggling for many weeks to get the sample code at REST Android Quickstart to work properly, but I get a 403 error which I can't seem to fix as I cannot find the Drive SDK within the Developer Console to activate it for my app.
Now I am wondering if there is an alternative to using the REST method to achieve my original goal of creating an app that can create and edit text files within a users personal Google Drive account - NOT the Drive space allocated to the app itself - which I believe is a limitation of the Google Drive API (unless I'm mistaken)? Many thanks in advance.
My Problem is, that I want to use any SDK or API to access my google drive from my android phone without using an existing google drive app on my android phone.
I read the instructions on this side: google drive sdk
The code examples does only work for desktop applications and the "integrate with Android" topic on the side does not provide any example how I can access my google drive from my android application.
I already read android-api-for-google-drive here but this leads only to more links and how-to's which are far to complicated and fuzzy.
Has anyone experience with connecting to google-drive from an android application and could help with any example code or "clean-and-short-explained" tutorial?
Luckily, just after you asked this question, Google released their Play Services (see this link), which makes it a heck of a lot easier to access files using the Drive SDK & Drive API. Please see my post on Google Plus that gives a step-by-step walkthrough and code example on how to integrate an Android app with Google Drive documents: https://plus.google.com/u/0/114042449736049687152/posts/CD3L8zcJg5Z
In the tutorial, I reference a particular Google IO 2012 talk (slides at https://docs.google.com/presentation/d/1LrEKp2PqESsES3upS1xsSARz35KS-9QHnYFTKvS2yzM/preview#slide=id.p19), but please read my G+ post because I go through the various flaws, pitfalls, and omitted details from this presentation.
Before you start coding anything, get yourself signed up for the Google APIs (see this link), get into the API Console, and turn on both the Google Drive API and Drive SDK.
Good luck & have fun!
I need to upload an file from android device SDCARD onto google cloud, I google long time on internet,but I couldn't found correct version of Api to achieve file share over cloud. Help me with sample code to login and share files over cloud with right api.
I have no experience of this, but there does seem to be some documentation here:
https://developers.google.com/drive/get-started
Have you already looked through this?
EDIT: That appears to be for Chrome apps. There is a similar question here: Android API for Google Drive?
It looks like the short answer is the solution is a long one (people have mentioned having to do it manually :( )
I have spent some hours searching for Android phone integrations with Google Drive through code. But I am not able to figure it out. I want to make a app in which when I press a button, my specific file is uploaded and stored in Google Drive.
Currently, GoogleDrive is not integrated with Android. However, this is something they are working on and say it will be here "soon". The services theyre working on is called Google Play Services.
You can also currently use the java client library to accomplish what you need for now.
Just a warning, there aren't many great examples out there so its somewhat difficult to figure out.
I'm an Android platform newbie looking to port some of my Windows
Phone 7 mapping apps over here. My WP7 apps use Bing Maps which has
current maps and POI data.
I went to the Android Developers Resources center where it shows how
to develop an app using the Google Maps Library. I did that and
noticed that the maps were over 7 years old.
I posted that issue on the google groups forum and was told that Google had
apparently given up on that library. (Strange that they still feature
it in their developer resources site.)
So, if they have given up on that library, is there another library
they haven't given up on? It seems odd that Google would give up on
Google Maps (bad strategy).
What tools, libraries, etc. should an android developer use that wants
to write compelling mapping applications that can show maps, POIs, directions that use current
maps and data?
Thanks
Gary
Bing maps are not up to date ( I tested them and I can see a building that has over 3 years and still doesnt appear on bing maps). Alternatively to Google Maps, you could use Ovi Maps or your own custom maps.
My original post here was from my experience writing the android "HelloGoogleMaps" application and running it in the emulator. I navigated to my own location and saw that my whold track where I live was still natural land. This made me think that the Google Maps were way out of date. This was the general feeling of some other developers on another forum. I went to online Google Maps on the web and my tract was there so this made me think it was the MapView software that was out of date.
Today, I went back to that HeloGoogleMaps application, and again navigated back to my tract and it was there! I don't know what happened but the map is up-to-date now.
Sorry for the bogus post.
Gary