cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Re: Which intent to lunch dropbox app to edit text file?

Which intent to lunch dropbox app to edit text file?

Tong P.
Helpful | Level 5

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.

6 Replies 6

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

Greg-DB
Dropbox 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.
Helpful | Level 5

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

eg.

https://www.dropbox.com/abc/123.txt

Greg-DB
Dropbox Staff

If you want to interact with files directly via the Dropbox servers (e.g., to edit by downloading and uploading new versions), you can use the Dropbox API. We have an official Android SDK here:

https://www.dropbox.com/developers-v1/core/sdks/android

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
Dropbox 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.

 

Need more support?