0

尝试制作某种移动应用程序以与 Dropbox 一起使用。在身份验证过程中,有一个步骤要求应用程序打开 Dropbox 上的页面以让用户登录并允许应用程序访问 Dropbox 资源。

但是 Android 的 Dropbox 应用程序不会重定向到任何地方,在您输入凭据后,它只会将您连接到您的 Dropbox。他们如何做到这一点?有任何想法吗?

我的应用程序是基于 Javascript 的,并且可以运行,但我希望获得无缝的用户体验。

4

1 回答 1

2

The Dropbox application for Android most likely has access to internal APIs to accomplish this that third party developers / applications cannot access.

Third party apps wanting to integrate with Dropbox need to authenticate / authorize their users via Oauth.

The Dropbox documentation (step 2 of the authentication process) clearly states that the user needs to choose whether to grant the application the ability to access files on their behalf.

This is a standard step in the OAuth dance.

于 2013-02-04T21:14:23.330 回答