Forcing the android picture viewer to re-scan?

All your problems with Audio, Video and Images.

Forcing the android picture viewer to re-scan?

Postby SammySung » Tue Feb 10, 2009 7:18 pm

I'm spawing the picture viewer with the following:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2.         Intent i = new Intent(Intent.ACTION_VIEW);
  3.  
  4.         Uri u = Uri.withAppendedPath(MediaStore.Images.Media.INTERNAL_CONTENT_URI, "");
  5.  
  6.         i.setData(u);
  7.  
  8.         startActivity(i);
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


but if the picture viewer is already running then it's just brought to the top view without searching for new pictures.

Anybody know how to force the Android Picture Viewer app to re-scan for pictures?

Thanks!
SammySung
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Feb 10, 2009 6:59 pm

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 13 guests