On Wed, Jul 6, 2011 at 9:49 AM, Ab <[email protected]> wrote: > Thanks, this worked! I used the below code, is this a smart usage? if > not, could you recommend a better strategy? (I'd like it to be > compatible with api version 7 and above)
MediaScannerConnection has been there since API Level 1, so you may just want to do this all the time, rather than only on Honeycomb. This is particularly true if your file is actually media. I haven't played much with MediaScannerConnection, but I don't see any obvious problems. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

