简体   繁体   English

在Android中集成Dropbox同步

[英]Integrating Dropbox sync in android

Which version of Dropbox API should I use for android? 我应该为Android使用哪个版本的Dropbox API? It is V1 or V2? 是V1还是V2?

Could someone provide me a sample/tutorial with integrating Dropbox in android platform? 有人可以为我提供在Android平台上集成Dropbox的示例/教程吗?

我认为这将帮助您集成Dropbox

**EDIT : July 2017** **编辑:2017年7月**

Dropbox API v1 is now deprecated so it's good that we have to migrate with API v2 现在不推荐使用Dropbox API v1,因此最好使用API​​ v2进行迁移

Timeline 时间线

  • June 28, 2016 : API v1 is deprecated. 2016年6月28日 :不推荐使用API​​ v1。
  • September 28, 2016 : If you haven't acknowledged the deprecation, new users of your app will see a warning when linking their Dropbox account. 2016年9月28日 :如果您尚未确认弃用,则您应用的新用户在关联其Dropbox帐户时会看到警告。
  • March 28, 2017 : If you haven't acknowledged the deprecation, all users who have linked their Dropbox account to your app will receive a warning email. 2017年3月28日 :如果您尚未确认弃用,则将其Dropbox帐户关联到您的应用程序的所有用户将收到一条警告电子邮件。
  • June 28, 2017 : API v1 endpoints are turned off. 2017年6月28日 :API v1端点已关闭。

As per the time line now api v1 is no longer working and api v2 is fully activate. 按照时间轴,api v1现在不再起作用,并且api v2已完全激活。 currently 'com.dropbox.core:dropbox-core-sdk:3.0.3' is stable version. 目前'com.dropbox.core:dropbox-core-sdk:3.0.3'是稳定版本。

New tutorial for Dropbox integration Dropbox集成的新教程

  1. Standard android dropbox integration 标准的Android Dropbox集成
  2. ShotDrop ShotDrop
  3. valdio's dropbox integration example valdio的保管箱集成示例

V1 is deprecated but will probably work for quite a while. V1已过时,但可能会工作一段时间。 Anyway I would recommend using V2 because it is much easier to handle (especially with file IDs). 无论如何,我建议使用V2,因为它更容易处理(尤其是使用文件ID)。 V2 was just released, so there are not many good tutorials out there. V2刚刚发布,所以那里没有很多好的教程。 Usually the easiest way is to do it quickly via cloudrail ( www.cloudrail.com ). 通常,最简单的方法是通过cloudrail( www.cloudrail.com )快速完成此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM