title: Modify data of an intent filter programmatically
body: <p>If you want to use Dropbox from an app, you have to register at Dropbox and you will get an app-key and an app-secret. Because it is very insecure to code the password and the key in the app from my own dropbox account, each user should register himself at Dropbox. In the app they have to input the key and secret in an the Dropbox options.</p>
  
  <p>Now my question. How can I replace programmaticaly the data of the intent-filter with the real value from the options? Or is it another way to handle this?</p>
  
  <p>I have the following intent-filter in my manifest file:</p>
  
  <blockquote>
  <pre><code>  &lt;activity
      android:name="com.dropbox.client2.android.AuthActivity"
      android:launchMode="singleTask"
      android:configChanges="orientation|keyboard"&gt;
      &lt;intent-filter&gt;
        &lt;!-- Change this to be db- followed by your app key --&gt;
        &lt;data android:scheme="db-xxxxxxxx" /&gt;
        &lt;action android:name="android.intent.action.VIEW" /&gt;
        &lt;category android:name="android.intent.category.BROWSABLE"/&gt;
        &lt;category android:name="android.intent.category.DEFAULT" /&gt;
      &lt;/intent-filter&gt;
    &lt;/activity&gt;
  </code></pre>
  </blockquote>