dropbox

Allow Dropbox API to access my account on user's device

故事扮演 提交于 2019-11-27 18:21:48
问题 As a mobile developer, I'm looking for a solution that allows users of my application to download multiple .zip files that will add a "modular" feel to my application. I've used the Dropbox API in another app to allow users to backup items to their account, but now I need the user to access my account. Is there a way to authenticate the Dropbox session to my account automatically, or just connect to my Public folder without the user even noticing? Followup Question What are the security

Sharing Eclipse directory on Dropbox between Windows and Mac OS X

久未见 提交于 2019-11-27 14:53:09
问题 This question was close to mine, but not quite. I have a Windows desktop and a MacBook Pro. I'd like to be able to keep my Eclipse workspace in my Dropbox folder. The problem is that many project settings change between platforms: references to JREs, JDKs, and other libs. Every discussion I've seen of this problem seems to suggest taking advantage of the source control system's ignore functionality, so that such-and-such file remains local-only and thus able to remain platform-specific. But

Error when distributing an IPA over the air with dropbox - iOS 7.1

不羁的心 提交于 2019-11-27 13:56:27
问题 As Apple requested to use https instead of http for distributing the IPAs over the air, I tried to use dropbox. I followed this solution Enterprise app deployment doesn't work on iOS 7.1 but I'm getting this error: "Cannot connect to dl.dropboxusercontent.com" when trying to install the plist through this link: <a href="itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/56ny312cwdacho7/xxxxx.plist> Install </a> Thanks in advance. 回答1: I had exactly the same

How does Dropbox use Python on Windows and OS X?

*爱你&永不变心* 提交于 2019-11-27 09:15:04
问题 In Windows the Dropbox client uses python25.dll and the MS C runtime libraries (msvcp71.dll, etc). On OS X the Python code is compiled bytecode (pyc). My guess is they are using a common library they have written then just have to use different hooks for the different platforms. What method of development is this? It clearly isn't IronPython or PyObjC. This paradigm is so appealing to me, but my CS foo and Google foo are failing me. 回答1: Dropbox uses a combination of wxPython and PyObjC on

How to determine the Dropbox folder location programmatically?

最后都变了- 提交于 2019-11-27 09:13:34
I have a script that is intended to be run by multiple users on multiple computers, and they don't all have their Dropbox folders in their respective home directories. I'd hate to have to hard code paths in the script. I'd much rather figure out the path programatically. Any suggestions welcome. EDIT: I am not using the Dropbox API in the script, the script simply reads files in a specific Dropbox folder shared between the users. The only thing I need is the path to the Dropbox folder, as I of course already know the relative path within the Dropbox file structure. EDIT: If it matters, I am

How Do I Sync My Sublime Text 3 Settings Using Dropbox?

大城市里の小女人 提交于 2019-11-27 09:09:54
问题 I would like to sync Sublime Text 3's Settings across multiple machines using Dropbox. How should I set this up? 回答1: I've been syncing my Sublime settings for a while between multiple locations, all running OS X. I've had some minor problems. Finally, I decided to look into it which led me to what I would consider the authoritative description of how to sync Sublime setting between multiple machines using Dropbox: Sublime Package Control > Docs > Syncing https://sublime.wbond.net/docs

Error in dropboxSync: findlibrary returned null

喜你入骨 提交于 2019-11-27 08:05:39
问题 Error log: 03-25 09:46:59.022: I/com.dropbox.sync.android.CoreAccountManager(2217): Prepared cache dir '/data/data/com.company.testapp/app_DropboxSyncCache/my-dropxbox-key'. 03-25 09:46:59.022: W/dalvikvm(2217): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/dropbox/sync/android/NativeHttp; 03-25 09:46:59.022: W/dalvikvm(2217): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lcom/dropbox/sync/android/NativeLib; 03-25 09:46:59.034: D

How do I programmatically locate my Dropbox folder using C#?

你。 提交于 2019-11-27 06:58:21
How do I programmatically locate my Dropbox folder using C#? * Registry? * Environment Variable? * Etc... UPDATED SOLUTION Dropbox now provides an info.json file as stated here: https://www.dropbox.com/en/help/4584 If you don't want to deal with parsing the JSON, you can simply use the following solution: var infoPath = @"Dropbox\info.json"; var jsonPath = Path.Combine(Environment.GetEnvironmentVariable("LocalAppData"), infoPath); if (!File.Exists(jsonPath)) jsonPath = Path.Combine(Environment.GetEnvironmentVariable("AppData"), infoPath); if (!File.Exists(jsonPath)) throw new Exception(

upload file to my dropbox from python script

≡放荡痞女 提交于 2019-11-27 06:12:40
I want to upload a file from my python script to my dropbox account automatically. I can't find anyway to do this with just a user/pass. Everything I see in the Dropbox SDK is related to an app having user interaction. I just want to do something like this: https://api-content.dropbox.com/1/files_put/ /?user=me&pass=blah Christina Important Note: this answer is deprecated since dropbox uses v2 API now. See the answer of @SparkAndShine for current API version solution Thanks to @smarx for the answer above! I just wanted to clarify for anyone else trying to do this. Make sure you install the

Trying To Upload To Dropbox: NetworkOnMainThreadException?

只愿长相守 提交于 2019-11-27 04:52:02
问题 I have been fighting for like 6 hours with this now. I have followed Dropbox's "tutorials" (if they can be called that, because they are awfully poor), played with the DBRoulette example, and done tons of stuff to get my app working. My app can Authenticate with no problems. But I can't upload anything despite doing exactly what the tutorial is doing: This is the little snippet of code I have (this is to save a created note on the phone itself and then upload to Dropbox): saveBtn