android start Dropbox activity -


i need access dropbox folders android app, select file , open in app. after having thought on integrating dropbox library android app, decided make easier. idea have "launch dropbox" button launch normal dropbox application. , then, using intent-filters, catch file selected , open in app.

the question is: how launch dropbox app? guess have construct intent:

intent intent = new intent(); intent.setcomponent(new componentname("com.dropbox???", ????)); startactivity(intent); 

what should there instead of '???'?

i've looked package name of dropbox application phone. use these kind of operations.

packagemanager manager = getpackagemanager(); intent = manager.getlaunchintentforpackage("com.dropbox.android"); i.addcategory(intent.category_launcher); startactivity(i); 

Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -