01-05-2013 12:07 PM
Hi,
I am curious as to how dropbox integration would be done in cascades? I have seen a number of applications integrating various cloud services. Since there isn't an official api for bb10 but just a REST api, I have no clue how to proceed. If someone could shed light on this matter, that would be really appreciated. Currently I am thinking a webview would have to be used somehow for this but not too sure of this. Thanks!
01-05-2013 11:11 PM
To interact with Dropbox, use their REST API with OAuth. You may also be able to use a Qt DropBox library as long as it doens't have any visual components. A WebView is only used during the authorization phase, if at all.
Alternatively, you'll probably be able to use the Invoke Framework or another system mechanism to access the built-in DropBox connector, though neither confirmation nor details of this have been published yet.
01-05-2013 11:13 PM
01-06-2013 08:44 PM
It would probably be in a thread in C++ using cURL. Or one of the Qt Dropbox libs.
01-06-2013 09:06 PM
Perfect that does make sense. I have found a oauth library in the blackberry github designed specifically for bb10 so hoping I can use that here. Thanks for the help!