0

I created a status bar notification to let my users know that a song is downloading to their Sd Card. My question is, how can I get it so that when the user click on the notification, it sends them to where the file is stored, in this case the download folder? Thanks.

Splitusa
  • 1,161
  • 7
  • 31
  • 51

1 Answers1

0

Android doesn't have a default file browser, so there's no official intent for being sent to a file system location.

You can send an intent (as a guess action view) for the file, and have it opened in the default music player or pop up a menu of choices if there are various things that can handle that.

You can install something like the open intents file browser, and send whatever it defines as the intent for viewing a filesystem location.

Chris Stratton
  • 38,489
  • 6
  • 80
  • 115
  • I forgot that android doesn't have a default file browser...I've been using CM7 and it has it haha. So how can I have it opened in the default music player??? – Splitusa Jul 28 '11 at 16:13
  • @SergioRa - http://stackoverflow.com/questions/3872063/android-launch-an-application-from-another-application should answer that for you. – Phil Jul 28 '11 at 17:38