Created
September 8, 2011 05:10
-
-
Save k7lim/1202673 to your computer and use it in GitHub Desktop.
Scanning your directory for new media
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MyMediaScannerConnectorClient client = new MyMediaScannerConnectorClient(myDir); | |
MediaScannerConnection scanner = new MediaScannerConnection(context, client); | |
client.setScanner(scanner); | |
scanner.connect(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment