We’re aware of an issue causing slower load times on the Dropbox Community forum. It should be resolved soon. Thanks for your patience!
Forum Discussion
Lev P.
11 years agoNew member | Level 2
Android (or Java) example of webhook implementation is needed
Would Dropbox team so kind to write a code example for webhook on Android (or Java)? All I have found is the only one Python example and I have no idea how to rewrite it for Android.
Greg-DB
Dropbox Community Moderator
11 years agoYes, for a client-side app, such as on Android, you should use /longpoll_delta. The /longpoll_delta endpoint and webhooks both serve the same basic purpose, that is, low-latency notification of changes, but they're built for different scenarios, that is, client-side apps and server-side apps, respectively. In both cases, they just tell you when to call /delta.
I don't believe we have a sample of using /longpoll_delta on Android specifically, but I'll be sure to pass this along as a request.
That being the case, I recommend referring to the blog post and documentation:
https://www.dropbox.com/developers/core/docs#longpoll-delta
https://blogs.dropbox.com/developers/2013/11/low-latency-notification-of-dropbox-file-changes/
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!