Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
neeraj_chauhan
Posts: 86
Registered: ‎10-28-2010
My Device: Blackberry Curve, Bold and Strom
Accepted Solution

how to integrate dropbox into application or any alternation

Hi All,

 

          I want to integrate DROPBOX into my application and store some data on dropbox server. As far as i know, dropbox dont provide developer api for Blackberry. 

 

         Is there any way to use dropbox in our application? 

 

                                 OR

 

        Is there any alternation is available for Blackberry.

 

I am try to make this application in OS5.0 and above.

 

Thanks in Advance.

Thanks & Regards
Neeraj Chauhan
Please use plain text.
Developer
hemant_sain
Posts: 180
Registered: ‎12-09-2011
My Device: 9360, BB10

Re: how to integrate dropbox into application or any alternation

Design custom popup and place it on the screen that it looks like a dropdown.

Please use plain text.
Developer
simon_hain
Posts: 16,137
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: how to integrate dropbox into application or any alternation

without an API you won't be able to use dropbox.
but as dropbox offers a REST api you should be fine.
check
https://www.dropbox.com/developers/reference/api

this won't be trivial, and oauth is generally painful, you can check the facebook sdk for an implementation.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
neeraj_chauhan
Posts: 86
Registered: ‎10-28-2010
My Device: Blackberry Curve, Bold and Strom

Re: how to integrate dropbox into application or any alternation

Hi Simon,

 

Thanks For your immediate reply. 

 

Ya, I got to know about DROPBOX restapi, it is using oauthentication. Actually I never integrate Facebook in my application. It would be great, if you can provide me some sample application for Facebook Integration from which I can use all functionality of Facebook. I am planning to use all social networking site in my app in future. 

 

I never work on this Oauth as well, So I am trying to understand from oAuth from  http://oauth.net/core/1.0/#auth_step1 url. Will you please provide me some sample code for OAuth as well.

 

 

Once again thanks for your support

 

Thanks & Regards
Neeraj Chauhan
Please use plain text.
Developer
simon_hain
Posts: 16,137
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: how to integrate dropbox into application or any alternation

the facebook sdk can be found at
http://sourceforge.net/projects/facebook-bb-sdk/
it includes a sample project (strawberry) and uses oAuth, so you can copy that part maybe.

It still is quite a task you have there.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
neeraj_chauhan
Posts: 86
Registered: ‎10-28-2010
My Device: Blackberry Curve, Bold and Strom

Re: how to integrate dropbox into application or any alternation

Thanks Simon,

 

 

I will check it...  and reply on this message board as soon as possible.

 

 

 

Thanks & Regards
Neeraj Chauhan
Please use plain text.
Developer
neeraj_chauhan
Posts: 86
Registered: ‎10-28-2010
My Device: Blackberry Curve, Bold and Strom

Re: how to integrate dropbox into application or any alternation

Thanks Simon,

 

I am successfully integrate Dropbox into my application. I am using restapi with oAuth direcly.

Thanks & Regards
Neeraj Chauhan
Please use plain text.
Developer
meera_developer
Posts: 30
Registered: ‎02-02-2012
My Device: 9780

Re: how to integrate dropbox into application or any alternation

Nice to hear that from you. I am stuck on the oauth process... I am getting the request token. Please share the solution with me.

 

Thanks And Regards,

  Meera Manesh.

Please use plain text.
Developer
neeraj_chauhan
Posts: 86
Registered: ‎10-28-2010
My Device: Blackberry Curve, Bold and Strom

Re: how to integrate dropbox into application or any alternation

[ Edited ]

Hi Meera,

 

You have to pass oauth parmaeter with dropbox url each and every time.

 

First register your application on dropbox server. You will get Application KEY and Application Secret key. Use this keys at the time of hitting url

 

Request token url example is

 

Request Token : https://api.dropbox.com/1/oauth/request_token?oauth_consumer_key=<Application Key>&oauth_signature_method=PLAINTEXT&oauth_signature=<ApplicationSecretKey>%26&oauth_timestamp=1191242090&oauth_nonce=hsu94j3884jdopsl&oauth_version=1.0

 

try this.

 

You can reply on this thread 

 

Thanks & regards,

Neeraj Chauhan

Thanks & Regards
Neeraj Chauhan
Please use plain text.
Developer
raquibulbari
Posts: 137
Registered: ‎09-30-2009
My Device: Torch 9800

Re: how to integrate dropbox into application or any alternation

@neeraj_chauhan,
can you please provide us the dropbox integration part separately in a project like github or anything? So that future developers can use it easily. I was also planning to work with dropbox in near future.
----------------------
Press like if you find a message helpful
---------
Please use plain text.