Nikolay, Thanks for the help but my problem is not to write the file or read the file from my device. With code from above I can write the file to the internal memory. But when my device (galaxy nexus) is connected to my computer it does not see the file I just saved!
Or did I understand it wrong? Any help welcome! Dirk On Feb 8, 10:32 am, Nikolay Elenkov <nikolay.elen...@gmail.com> wrote: > On Wed, Feb 8, 2012 at 4:53 PM, Dirk Vranckaert > > <dirkvrancka...@gmail.com> wrote: > > I have a problem when I try to write a file to the device's SD-card. > > > 6) Samsung Galaxy Nexus (running 4.0) with the 16 GB build-in SD => > > problem!! > > > The problem I have is that I cannot see the file that is created: > > a. when I use a file browser on the device > > b. when I connect the device to my windows computer (windows 7) > > You need to call MediaScannerConnection.scanFile() to get the files > to show up. Check the external storage sample code: > > http://developer.android.com/resources/samples/ApiDemos/src/com/examp... > > This is not a bug, it's a feature :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en