<?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: cannot download fils from Dropbox in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-download-fils-from-Dropbox/m-p/274587#M16362</link>
    <description>I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:&lt;BR /&gt;&lt;BR /&gt;- the name and version of the platform and SDK/library you are using&lt;BR /&gt;- the full text of the error or any unexpected output&lt;BR /&gt;- the steps to reproduce the issue, including relevant code snippet(s). You didn't include the definition of DownloadFromDropboxFromPath, for example, which would be helpful.&lt;BR /&gt;&lt;BR /&gt;Looking at the code you included though, it looks you're using the old Android SDK, which uses API v1, which is now retired.&lt;BR /&gt;&lt;BR /&gt;You should instead using the latest version of the Dropbox API v2 Java SDK:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There's an example Android app here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android&lt;/A&gt;</description>
    <pubDate>Tue, 01 May 2018 18:38:55 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-05-01T18:38:55Z</dc:date>
    <item>
      <title>cannot download fils from Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-download-fils-from-Dropbox/m-p/274225#M16325</link>
      <description>&lt;P&gt;hi, i'm trying this code&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    &lt;SPAN&gt;public static &lt;/SPAN&gt;String &lt;SPAN&gt;path&lt;/SPAN&gt;= Environment.&lt;SPAN&gt;getExternalStorageDirectory&lt;/SPAN&gt;().getAbsolutePath()+&lt;SPAN&gt;"/Bac/"&lt;/SPAN&gt;;&lt;BR /&gt;    &lt;SPAN&gt;public static &lt;/SPAN&gt;String &lt;SPAN&gt;DropboxDownloadPathFrom &lt;/SPAN&gt;= &lt;SPAN&gt;"BacMath/tst.txt"&lt;/SPAN&gt;;&lt;BR /&gt;    &lt;SPAN&gt;public static &lt;/SPAN&gt;String &lt;SPAN&gt;DropboxDownloadPathTo &lt;/SPAN&gt;= &lt;SPAN&gt;path&lt;/SPAN&gt;+&lt;SPAN&gt;"dd"&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN&gt;//    public  static String dropboxdirpath="/storage/emulated/0/DropboxItems/";&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;public static &lt;/SPAN&gt;File &lt;SPAN&gt;Dir&lt;/SPAN&gt;=&lt;SPAN&gt;new &lt;/SPAN&gt;File(&lt;SPAN&gt;path&lt;/SPAN&gt;);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    &lt;SPAN&gt;@Override&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;protected void &lt;/SPAN&gt;onCreate(Bundle savedInstanceState) {&lt;BR /&gt;        &lt;SPAN&gt;super&lt;/SPAN&gt;.onCreate(savedInstanceState);&lt;BR /&gt;        setContentView(R.layout.&lt;SPAN&gt;aa&lt;/SPAN&gt;);&lt;BR /&gt;&lt;BR /&gt;        AndroidAuthSession session = buildSession();&lt;BR /&gt;        &lt;SPAN&gt;dropboxAPI &lt;/SPAN&gt;= &lt;SPAN&gt;new &lt;/SPAN&gt;DropboxAPI&amp;lt;AndroidAuthSession&amp;gt;(session);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        &lt;SPAN&gt;Dir&lt;/SPAN&gt;.mkdir();&lt;BR /&gt;        Button b=(Button) findViewById(R.id.&lt;SPAN&gt;az&lt;/SPAN&gt;);&lt;BR /&gt;        b.setOnClickListener(&lt;SPAN&gt;new &lt;/SPAN&gt;View.OnClickListener() {&lt;BR /&gt;            &lt;SPAN&gt;@Override&lt;BR /&gt;&lt;/SPAN&gt;            &lt;SPAN&gt;public void &lt;/SPAN&gt;onClick(View v) {&lt;BR /&gt;                DownloadFromDropboxFromPath(&lt;SPAN&gt;DropboxDownloadPathTo&lt;/SPAN&gt;,&lt;SPAN&gt;DropboxDownloadPathFrom&lt;/SPAN&gt;);&lt;BR /&gt;            }&lt;BR /&gt;        });&lt;BR /&gt;    }&lt;/PRE&gt;&lt;P&gt;but no file is downloaded&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:13:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-download-fils-from-Dropbox/m-p/274225#M16325</guid>
      <dc:creator>RedAid</dc:creator>
      <dc:date>2019-05-29T09:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: cannot download fils from Dropbox</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-download-fils-from-Dropbox/m-p/274587#M16362</link>
      <description>I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:&lt;BR /&gt;&lt;BR /&gt;- the name and version of the platform and SDK/library you are using&lt;BR /&gt;- the full text of the error or any unexpected output&lt;BR /&gt;- the steps to reproduce the issue, including relevant code snippet(s). You didn't include the definition of DownloadFromDropboxFromPath, for example, which would be helpful.&lt;BR /&gt;&lt;BR /&gt;Looking at the code you included though, it looks you're using the old Android SDK, which uses API v1, which is now retired.&lt;BR /&gt;&lt;BR /&gt;You should instead using the latest version of the Dropbox API v2 Java SDK:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There's an example Android app here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-java/tree/master/examples/android&lt;/A&gt;</description>
      <pubDate>Tue, 01 May 2018 18:38:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/cannot-download-fils-from-Dropbox/m-p/274587#M16362</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-05-01T18:38:55Z</dc:date>
    </item>
  </channel>
</rss>

