<?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 Share files via Intent from android in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Share-files-via-Intent-from-android/m-p/276172#M16533</link>
    <description>&lt;P&gt;Hi there!&lt;BR /&gt;I have a problem. My app has function for shareing image + text via Intent, but when i'm choosing dropbox it shareing only image or only text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;val shareIntent = Intent()
        shareIntent.action = Intent.ACTION_SEND
        when {
            imageUri.isNotEmpty() -&amp;gt; {
                shareIntent.putExtra(Intent.EXTRA_STREAM, imageUri)
                shareIntent.type = "image/*"
            }
            else -&amp;gt; shareIntent.type = "text/plain"
        }
        shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
        shareIntent.putExtra(Intent.EXTRA_TEXT, text)
        startActivity(Intent.createChooser(shareIntent, "Share images..."))&lt;/PRE&gt;&lt;P&gt;That is how i'm shareing files. What's wrong and what should i do?&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:13:15 GMT</pubDate>
    <dc:creator>achatina</dc:creator>
    <dc:date>2019-05-29T09:13:15Z</dc:date>
    <item>
      <title>Share files via Intent from android</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Share-files-via-Intent-from-android/m-p/276172#M16533</link>
      <description>&lt;P&gt;Hi there!&lt;BR /&gt;I have a problem. My app has function for shareing image + text via Intent, but when i'm choosing dropbox it shareing only image or only text.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;val shareIntent = Intent()
        shareIntent.action = Intent.ACTION_SEND
        when {
            imageUri.isNotEmpty() -&amp;gt; {
                shareIntent.putExtra(Intent.EXTRA_STREAM, imageUri)
                shareIntent.type = "image/*"
            }
            else -&amp;gt; shareIntent.type = "text/plain"
        }
        shareIntent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
        shareIntent.putExtra(Intent.EXTRA_TEXT, text)
        startActivity(Intent.createChooser(shareIntent, "Share images..."))&lt;/PRE&gt;&lt;P&gt;That is how i'm shareing files. What's wrong and what should i do?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:13:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Share-files-via-Intent-from-android/m-p/276172#M16533</guid>
      <dc:creator>achatina</dc:creator>
      <dc:date>2019-05-29T09:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Share files via Intent from android</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Share-files-via-Intent-from-android/m-p/276207#M16538</link>
      <description>I'm afraid I can't offer help with this myself as this is about using the Intent system on Android with the Dropbox Android app, and not the Dropbox API itself, but I'll send this along to the right people to see if we can help with this.</description>
      <pubDate>Mon, 14 May 2018 15:03:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Share-files-via-Intent-from-android/m-p/276207#M16538</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-05-14T15:03:36Z</dc:date>
    </item>
  </channel>
</rss>

