cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

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=1017
not exported from uid 10084

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

Dropboxer
Dropboxer

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.

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

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

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

Dropboxer
Dropboxer

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

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

aissa New member | Level 2
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

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

Dropboxer
Dropboxer

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

 

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?