Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rossmartin/DropboxPlugin
PhoneGap Dropbox Plugin for Android
https://github.com/rossmartin/DropboxPlugin
Last synced: 2 months ago
JSON representation
PhoneGap Dropbox Plugin for Android
- Host: GitHub
- URL: https://github.com/rossmartin/DropboxPlugin
- Owner: rossmartin
- Created: 2012-12-07T21:38:25.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-09-07T21:37:04.000Z (about 11 years ago)
- Last Synced: 2024-06-22T22:02:52.535Z (5 months ago)
- Language: JavaScript
- Homepage: http://rossmartindev.blogspot.com/2012/12/using-dropbox-sdk-with-phonegap-aka.html
- Size: 97.7 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PhoneGap Dropbox Plugin for Android
==================__Update 9/7/13 - My [Dropbox Sync Plugin](https://github.com/rossmartin/phonegap-dropbox-sync) is much better than the old one here.__
This quick sample project will show you how to link your app with Dropbox using PhoneGap. It will also show how to upload and download a file from Dropbox.
I have already included the Android Dropbox SDK in this project.
First you will need to get your Dropbox App Key and Secret.
You will need to put your Dropbox App Key in AndroidManifest.xml @ Line 67
You also need to put your Dropbox App Key and Secret in PhoneGapDropBox.java @ line 40 and 41.
This tutorial here below can help you integrate this plugin into your own project -
http://rossmartindev.blogspot.com/2012/12/using-dropbox-sdk-with-phonegap-aka.html
Updated by :
Ujjwal Relan (email: [email protected])
Tusshar Singh (email: [email protected])Issue in the file src/com/sample/dropbox/PhoneGapDropBox.java
line 107: Initial Statement
Entry newEntry = mDBApi.putFileOverwrite("some-file.txt", inputStream, // putFileOverwrite method overwrites IF the new file is different than the current backup on Dropbox
file.length(), null);
This statement throws DropboxException e , Something went wrong while uploading. This issue is fixed below.Reference: http://stackoverflow.com/a/9832865