<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Where could I find a simple sample for download a file after login? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-could-I-find-a-simple-sample-for-download-a-file-after/m-p/188877#M8052</link>
    <description>&lt;P&gt;Thanks Gregory:&lt;/P&gt;
&lt;P&gt;I know the related clases that you said, but the problem is that there are other classes related and libraries that throws different errors.&lt;/P&gt;
&lt;P&gt;I hope that you or somebody in the team can suggest a simple example that helps me without importing different libraries that are not needed and generate different problems to not expert developers.&lt;/P&gt;</description>
    <pubDate>Sat, 10 Sep 2016 01:26:02 GMT</pubDate>
    <dc:creator>kiko r.</dc:creator>
    <dc:date>2016-09-10T01:26:02Z</dc:date>
    <item>
      <title>Where could I find a simple sample for download a file after login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-could-I-find-a-simple-sample-for-download-a-file-after/m-p/188875#M8050</link>
      <description>&lt;P&gt;Android Core V2. I need a simple task that logs internally and then download a file. Only one action in a button. It is not complicated... but really for me it is.&lt;/P&gt;
&lt;P&gt;My Java and android is poor, but I thinked that there is no problem with the example proposed. I checked the example with a lot of files that I don't need and I started adding files and analyzing the code to know how it works. Well, for me doesn't work. There are a lot of exceptions because you need libraries and have to add them to the project but after 4 days trying to solve different problems I give up.&lt;/P&gt;
&lt;P&gt;I hate using support.v7 library because always cause me problems. I don't know why I have to use Picasso because I don't want to download photos. And after download a few libraries I have to stop when a java.lang.noclassdeffounderror apears due to com.squareup.http.okhttp.client. I read that Picasso use an old version of okhttp and also that I don't need okhttp library but there are neccesary for the example so at this moment, after 4 days, I never did a login succesfull.&lt;/P&gt;
&lt;P&gt;It is my point of view that, first of all, we need simple examples and, after that, complex examples for experts. I cannot walk if I can do the first step.&lt;/P&gt;
&lt;P&gt;I ask about a simple example for download a file with a simple button, no need list, folders, a complex view, etc. It is possible?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:30:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-could-I-find-a-simple-sample-for-download-a-file-after/m-p/188875#M8050</guid>
      <dc:creator>kiko r.</dc:creator>
      <dc:date>2019-05-29T09:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Where could I find a simple sample for download a file after login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-could-I-find-a-simple-sample-for-download-a-file-after/m-p/188876#M8051</link>
      <description>&lt;P&gt;Thanks for the feedback, Kiko. I can't promise if/when we might write an example like that, but I'm sending it along to the team.&lt;/P&gt;
&lt;P&gt;For reference, instructions for running the Android sample can be found here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android" rel="nofollow noreferrer"&gt;https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The app authorization flow specifically is triggered here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/UserActivity.java" rel="nofollow noreferrer"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/UserActivity.java&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The token storage is here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxActivity.java" rel="nofollow noreferrer"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/DropboxActivity.java&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And the example of downloading a file is here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/DownloadFileTask.java" rel="nofollow noreferrer"&gt;https://github.com/dropbox/dropbox-sdk-java/blob/master/examples/android/src/main/java/com/dropbox/core/examples/android/DownloadFileTask.java&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 00:11:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-could-I-find-a-simple-sample-for-download-a-file-after/m-p/188876#M8051</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-09-10T00:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Where could I find a simple sample for download a file after login?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-could-I-find-a-simple-sample-for-download-a-file-after/m-p/188877#M8052</link>
      <description>&lt;P&gt;Thanks Gregory:&lt;/P&gt;
&lt;P&gt;I know the related clases that you said, but the problem is that there are other classes related and libraries that throws different errors.&lt;/P&gt;
&lt;P&gt;I hope that you or somebody in the team can suggest a simple example that helps me without importing different libraries that are not needed and generate different problems to not expert developers.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 01:26:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Where-could-I-find-a-simple-sample-for-download-a-file-after/m-p/188877#M8052</guid>
      <dc:creator>kiko r.</dc:creator>
      <dc:date>2016-09-10T01:26:02Z</dc:date>
    </item>
  </channel>
</rss>

