如何在Java桌面应用程序中使用Google Drive? [英] How to use Google Drive in a Java Desktop app?

查看:183
本文介绍了如何在Java桌面应用程序中使用Google Drive?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理移动和桌面应用程序。我试图将Google云端硬盘作为永久存储文件夹。不幸的是,我因为找不到任何例子而处于亏损状态。有人可以通过Google Drive存储或检索文件的例子指出我的看法吗?



我真的很想在代码中看到一个简单的例子,或者可能是一个可以处理这个问题的库。我被困在检索和使用OAuth 2.0凭据中 https://developers.google.com/drive/credentials

解决方案

您是否看过驱动器API页面上的示例应用程序?



edit



google移动了 github的例子


I am dealing with mobile and desktop applications. I am trying to use Google Drive as a permanent storage folder. Unfortunately I am at a loss because I cannot find any examples. Can someone point me at an example of storing or retrieving a file from Google Drive?

I would really like to see a simple example in code or maybe a library which can handle this. I am stuck at Retrieve and Use OAuth 2.0 Credentials https://developers.google.com/drive/credentials

解决方案

Did you look at the sample app on the drive API page?

edit

google moved the examples to github

这篇关于如何在Java桌面应用程序中使用Google Drive?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆