[android-developers] Re: Android ARM Direct SD Card I/O
I hope it can drop the cache files, and then read the data from sd card directly. I also tried echo 3 /proc/sys/vm/drop_caches, but in vain Sincerely, Chris On 11月18日, 下午10時33分, TreKing treking...@gmail.com wrote: On Tue, Nov 16, 2010 at 3:47 AM, meconin meco...@gmail.com wrote: I need to directly read/write a file on sd card without cache. What does without cache mean? --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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
[android-developers] Re: Android ARM Direct SD Card I/O
Have you looked at fcntl ? @TreKing without cache means that the OS does not read the file into the cache to improve subsequent reading operations. Sometimes you don't want this. On Nov 18, 3:33 pm, TreKing treking...@gmail.com wrote: On Tue, Nov 16, 2010 at 3:47 AM, meconin meco...@gmail.com wrote: I need to directly read/write a file on sd card without cache. What does without cache mean? --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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