<?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: Access my different dropbox accounts in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397664#M1027</link>
    <description>&lt;P&gt;Thanks alot Greg. I am going to build the app. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2020 05:33:32 GMT</pubDate>
    <dc:creator>qazimuneeb1</dc:creator>
    <dc:date>2020-02-18T05:33:32Z</dc:date>
    <item>
      <title>Access my different dropbox accounts</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397432#M1021</link>
      <description>&lt;P&gt;Hi. I have different dropbox accounts for my files for some reason. I want to develop an android application which use dropbox authflow and i put my credentials for specific account and get the files placed in it and shows on my android app. After that i logout and then i login from another dropbox account and get the files from that account in my android app. Means that my android app will only handle one dropbox account at a time. I want to know is that possible to use a single android app and use different dropbox accounts using that app?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 13:35:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397432#M1021</guid>
      <dc:creator>qazimuneeb1</dc:creator>
      <dc:date>2020-02-17T13:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Access my different dropbox accounts</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397554#M1024</link>
      <description>&lt;P&gt;It is possible to use one app to connect to multiple different&amp;nbsp;Dropbox accounts.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For developing an Android app that uses the&amp;nbsp;Dropbox API, we&amp;nbsp;recommend using the official&amp;nbsp;Dropbox Java SDK:&lt;/P&gt;
&lt;P&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;/P&gt;
&lt;P&gt;There's an example Android app here:&lt;/P&gt;
&lt;P&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;&lt;/P&gt;
&lt;P&gt;You should not embed any account credentials (username/password) in the app though. In order to connect to an account, the app should send the user through &lt;A href="https://www.dropbox.com/developers/reference/oauth-guide" target="_self"&gt;the OAuth app authorization flow&lt;/A&gt;. If the user authorizes the app, the app receives&amp;nbsp;an access token for that account. The app can do this for each user to get an access token for each account. The example app above contains an example implementation of the app authorization flow. You can store and re-use more than one access token in a single app.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2020 17:03:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397554#M1024</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-02-17T17:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Access my different dropbox accounts</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397664#M1027</link>
      <description>&lt;P&gt;Thanks alot Greg. I am going to build the app. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 05:33:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397664#M1027</guid>
      <dc:creator>qazimuneeb1</dc:creator>
      <dc:date>2020-02-18T05:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Access my different dropbox accounts</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397667#M1028</link>
      <description>&lt;P&gt;One more thing that i built an app using the above examples, i was asked to put my app key inside manifest file and then i have to provide the app key on the login button aswell i.e&lt;/P&gt;&lt;PRE&gt;Auth.&lt;SPAN&gt;startOAuth2Authentication&lt;/SPAN&gt;(getApplicationContext(), getString(R.string.&lt;SPAN&gt;APP_KEY&lt;/SPAN&gt;));&lt;/PRE&gt;&lt;P&gt;i was confused which app key i should hardcode in my app because each dropbox account has its own app key. Providing different app key and connecting to different dropbox account is confusing to me. I had done this before and it works well in the start but after some attempts i got a secuirty alert box that some app is posing like your app hence your linking is disabled. This might be done because i placed same code and credentials in other app i.e the final apk. In simple words, i had two apks with same code and app keys in my phone and when i started to login from my 2nd app then this alert comes and i was unable to connect to dropbox account afterwards using the app.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 05:52:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397667#M1028</guid>
      <dc:creator>qazimuneeb1</dc:creator>
      <dc:date>2020-02-18T05:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Access my different dropbox accounts</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397745#M1029</link>
      <description>&lt;P&gt;You do not need to get a different app key for each account. As the developer, you only need to register your app once, at which point you'll&amp;nbsp;receive an app key for the app. The app key only identifies the app, and does not enable access to any particular account. You can use the one app key in your app to allow multiple different accounts to connect to your app. Once the user authorizes the app with the OAuth app authorization flow, the app will&amp;nbsp;receive an access token for that account. If done for multiple accounts, the app will&amp;nbsp;receive a distinct access token per account.&lt;/P&gt;
&lt;P&gt;And yes, if you have more than one app installed using the same app key you will get that security alert. The solution is just to uninstall one of the apps so that you just have only one copy of the app installed with the app key.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 16:15:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397745#M1029</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-02-18T16:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Access my different dropbox accounts</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397858#M1032</link>
      <description>&lt;P&gt;Thanks Greg. You tell exactly the same which i was confusing. Now its all clear to me. Thanks Again! &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2020 05:38:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Access-my-different-dropbox-accounts/m-p/397858#M1032</guid>
      <dc:creator>qazimuneeb1</dc:creator>
      <dc:date>2020-02-19T05:38:31Z</dc:date>
    </item>
  </channel>
</rss>

