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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -