On Thu, Feb 9, 2012 at 12:51 AM, Dirk Vranckaert <[email protected]> wrote: > 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?
You did :) Even if you save the file successfully, you need to invoke the media scanner to make it visible to your computer. Since Honeycomb, Android is no longer using USB storage when mounting, but MTP. As a result, there might be a mismatch between what is actually on disk and what you see when you mount your device. To sync, you need the media scanner (which is now a misnomer, since it's not used for media only). -- 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

