Try MediaScannerConnection and scanFile(), then. On Wed, Jul 6, 2011 at 8:45 AM, Ab <[email protected]> wrote: > I have tried refreshing, restarting the device, and unplugging/ > reconnecting the usb. It appears to files that I write to the sdcard > never show up in windows explorer (for the Acer). However, if I use > ES File Explorer (an file explorer app for android) to rename one of > the files I wrote to the sdcard (not to move it, just change the > name), it will then show up in windows explorer. This makes me > suspect they are doing something I am not... > > On Jul 6, 8:36 am, Mark Murphy <[email protected]> wrote: >> On Wed, Jul 6, 2011 at 8:31 AM, Ab <[email protected]> wrote: >> > So, do I need to create files differently in 3.0? >> >> No. >> >> > Or possibly my app needs to request a new permission in the mainfest file? >> >> No. >> >> Try refreshing your Explorer window. I don't know how Windows' >> built-in MTP client behaves when the data changes on the device. >> >> -- >> Mark Murphy (a Commons >> Guy)http://commonsware.com|http://github.com/commonsguyhttp://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 >
-- 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

