You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Tong P.'s avatar
Tong P.
Helpful | Level 5
10 years ago

Which intent to lunch dropbox app to edit text file?

I am on android working with official dropbox app.

Which intent and class to lunch dropbox app and direct edit some text file?

StartActivity();

Action: android.intent.action.EDIT
Package: com.dropbox.android
Class: com.dropbox.android.activity.DropboxBrowser
Flag: FLAG_ACTIVITY_NEW_TASK
Data URI: file://ABC/123.txt

Didn't work, it just lunch dropbox app.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    I don't believe we currently export that activity, so calling into it from other apps isn't currently supported, but I'll be sure to pass this along as a feature request.

  • Tong P.'s avatar
    Tong P.
    Helpful | Level 5
    com.dropbox.android.activity.TextEditActivity 

    SecurityException: Permission Denial: starting Intent
    { act=android.intent.action.VIEW
    dat=file:///storage/emulated/0/Download/150523.txt
    typ=text/plain flg=0x30000000
    cmp=com.dropbox.android/.activity.TextEditActivity
    bnds=[564,445][780,551] }
    from null (pid=-1, uid=10178)
    not exported from uid 10084
  • Tong P.'s avatar
    Tong P.
    Helpful | Level 5

    Could you please add support direct edit text file on dropbox server?

    eg.

    https://www.dropbox.com/abc/123.txt
  • aissa's avatar
    aissa
    New member | Level 2
    Je n arrive pas a obtenir dropbox pour telechrger un livre en pdf sur android pourtant avec le pc c etait tres facile
    • Greg-DB's avatar
      Greg-DB
      Icon for Dropbox Staff rankDropbox Staff

      aissa

       

      Ce sujet concerne les développeurs qui écrivent du code pour interagir par programme avec l'application Android Dropbox. Si vous avez besoin d'un support utilisateur pour Dropbox, ouvrez un nouveau fil ou un support de contact.

      ---

      Veuillez excuser nos traductions. Nos traductions ont été créées à l'aide d'un traducteur en ligne. Nous aimerions soutenir toutes les langues, mais nous ne sommes pas actuellement équipés pour le faire. Voici la version anglaise:

      ---

      Please excuse our translations. Our translations were created using an online translator. We'd like to support every language, but we're not currently equipped to do so. Here is the English version:

      --- 

      This thread was about developers writing code to programmatically interact with the Dropbox Android app. If you need user support for Dropbox, please open a new thread or contact support.

       

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,883 PostsLatest Activity: 20 hours ago
326 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!