how to add facility like google docs has in my project - java

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/

Related

Google Drive link sharing using Java

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

How to integrate Drive API to my Java app (in which file?)

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

Where is the Java Google Gmail Api located?

I know this may seem like a really stupid question, but I'm actually having a lot of trouble finding the Google Gmail API. I've searched all over Google's developer website, but all I get are downloads to the general google-api-client.
Those are the classes that I need, but when I try to import them with the standard google client api, it says the classes are missing.
That is what Google keeps telling me to download, the google-api-services-gmail-v1-rev32-java-1.20.00 but in the libs folder there aren't any unique jars for the gmail api. In fact, all of the libs in this zip file are the same libs in the general api, which I've already used and can't find the classes I need.
I remember when I used the drive api for Google it was a pain to find the actual drive libraries, but I eventually found them. All I'm asking is where can I find the actually, gmail specific, libraries. A link would be helpful! Thanks! :D
Your best bet is to resort to Maven to manage this for you. Even if you don't want to use Maven to manage dependencies directly, you can still use the repository to find your JAR files:
http://mvnrepository.com/artifact/com.google.apis/google-api-services-gmail/v1-rev32-1.20.0
And this is the direct download link, present on the website above:
http://central.maven.org/maven2/com/google/apis/google-api-services-gmail/v1-rev32-1.20.0/google-api-services-gmail-v1-rev32-1.20.0.jar
Here is the link to the client API:
http://mvnrepository.com/artifact/com.google.api-client/google-api-client/1.20.0

How to setup Blogger API on Android

I want to make an app which will use Google's Blogger API V3. But I've got stuck at the setup part. I've made an API key on developer console. I've read trough several tutorials and samples and everywhere they use this object
Blogger
For example here:
Blogger example
I downloaded the Java client library, copied to my application's libs folder, added to the build path, but still can't use this Blogger object.
Java client library
Where can I get the library that contains the Blogger object?
It depends what do you want to do with the Blogger API. If you want to access non-public data you should use Oauth2.0 to authenticate so for that I suggest reading this
https://developers.google.com/android/guides/http-auth#retrieve_the_account_name
Then you will probably want to send request to your API (POST,GET, DELETE or others) in order to perform actions such as post on your blog, retrieve comments or posts from your blog.
I have found this link very usefull
http://arnab.ch/blog/2013/08/asynchronous-http-requests-in-android-using-volley/

Custom file properties in Dropbox Core API?

In the Google Drive API there is something called custom file properties - https://developers.google.com/drive/web/properties - and they can be used to add your own as key/value pairs:
{
'key': 'additionalID',
'value': '8e8aceg2af2ge72e78',
'visibility': 'PRIVATE'
}
I would like to do the same in a desktop Java application with the Dropbox Core API, but I cannot find anything. Am I missing something or is this simply not available in Dropbox Core API?
If there is something, please provide an example of how it would be used in Java. Thanks!
Looks like Dropbox has begun to implement this feature.
In API v2 there are such endpoints:
properties/template/add
properties/template/get
properties/add
properties/remove
properties/update
and so on.
Details looks at API Documentation.
But all of them are marked as:
PREVIEW - may change or disappear without notice
Good luck with it.
The Dropbox API now offers the (now non-preview) ability to add arbitrary key/value data to Dropbox files via "file properties":
https://www.dropbox.com/developers/documentation/http/documentation#file_properties
If you're using an official Dropbox SDK, there will also be corresponding methods for these endpoints.

Categories

Resources