You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

drewbiedu's avatar
drewbiedu
Explorer | Level 4
7 years ago

Read file contents

I'm sure this is answered somewhere else, but clearly I'm not Googling the right thing. I'm working on an android app (java) and I'm trying to read the contents of a file without downloading it (needs to read every time the app opens). I was able to find plenty of examples for API v1, but nothing for v2. I have the basics, but that's about it:

DbxRequestConfig config = DbxRequestConfig.newBuilder("dropbox/my_folder").build();
DbxClientV2 client = new DbxClientV2(config, context.getResources().getString(R.string.access_token));