I want my Java code to generate Google Drive share links to certain files. I have seen posts which explained how to do it by using other programming languages, but I could not find anything about doing that in Java. Any thoughts?
You can do it using Google drive Java API. Check out this link
https://o7planning.org/en/11889/manipulating-files-and-folders-on-google-drive-using-java
Related
I am a newbie android developer and need to create an app that uploads a .zip file to Google Drive, Downloaded the API but where do I add the code, and how? Please provide a code example.
What do you mean by "downloaded the api"?
Drive has some pretty good documentation on instantiating the drive client as well as an activity to demonstrate different use cases. These may be all the examples you need.
Drive Examples
You can find good examples in the documentation for the Drive API
https://developers.google.com/drive/android/examples/
Or look here: https://developers.google.com/drive/android/intro to find some more explanation about how it all works
I asked the same question on google developer forum, looking for clear direction for the same.
I am working on a project to get meaning of English word. And Google search engine provides result comprehensively. I would like to have those results (meaning of words, it's synonym, audio source from gstatic, usage graph since 1800, etc...) as input to my program for further processing. Is Custom search engine has exposed API or Google have explicit API for this? Earlier i thought of screen scraping, but it would be much easier if Google provide API for this as well.
Thanks in Anticipation.
Check out Wikitionary
Wiktionary (whose name is a blend of the words wiki and dictionary) is
a multilingual, web-based project to create a free content dictionary
of all words in all languages. It is available in 172 languages and in
Simple English. Like its sister project Wikipedia, Wiktionary is run
by the Wikimedia Foundation, and is written collaboratively by
volunteers, dubbed "Wiktionarians". Its wiki software, MediaWiki,
allows almost anyone with access to the website to create and edit
entries.
You can access their data using the MediaWiki API, no need to scrape google search results.
I want to create maven project like compare to office docs with it syntax. So I think to download Google docs API.
But I didn't find any link to download it. so any API that do this or download link and sample for achieve it using Google docs or other.
You can't download Google docs the same way you download an Office file. Even the Google docs inside of the Google Drive are actually just links.
What you have to do instead is learn how to interface with the API. This will allow you to manipulate Google docs.
https://developers.google.com/drive/
Google Drive searching is really amazing.
It built up a full text search index instantly right after I had uploaded the document(pdf/M$ office document).
Since I want to use this technology in my own GAE project,I was wondering
1.is there any existing api from(Google/others) provide this function
2.how to implement by myself.
On App Engine you can use Search API, to do full-test indexing & querying.
You can use following options.
Google desktop and not sure about api.
IIS index server thenyou can do query it index files too.
Dtseach is tool with api but paid.
Apache api i forgot name but will post it shortly.
I now have a running Java program which only lacks of the final step,that is:
suppose I have a String1 ="Obama"
is there any online translation API that I could use to get the corresponding Chinese word back,and put it in another String2="奥巴马“.
I've tried BabelFish,but that doesn't seem to provide any service for Java program.
Thanks guys,really need your help here to find some translation API for me that I could use in my Java program.
Robert
try Google Translate
You can use Google API Translate Java.
Provides a simple, unofficial, Java
client API for using Google Translate.
Because of Google's decision in May 2011 to no longer have a free translation service (er I mean to deprecate the translator api), I see that there is need for other answers to this question.
One such alternative I found is Microsoft Translator Java Api . Just saying ...
Google Translate Kit. Java Wrapper just released