Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Invisible Files on ICS - media scanner thing?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nikolay Elenkov  
View profile  
 More options Aug 13 2012, 9:21 pm
From: Nikolay Elenkov <nikolay.elen...@gmail.com>
Date: Tue, 14 Aug 2012 10:21:29 +0900
Local: Mon, Aug 13 2012 9:21 pm
Subject: Re: [android-developers] Re: Invisible Files on ICS - media scanner thing?

On Tue, Aug 14, 2012 at 7:18 AM, Kostya Vasilyev <kmans...@gmail.com> wrote:

> The media scanner has a utility class in the framework:

> http://developer.android.com/reference/android/media/MediaScannerConn...

> The easiest thing you can do is to call static
> MediaScannerConnection.scanFile.

BTW, this method never closes the connection it opens, so you will get
'leaked service connection' (or some such) warnings in logcat if yo use it.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.