[android-developers] Android ARM Direct SD Card I/O

2010-11-16 Thread meconin
Hi,
I need to directly read/write a file on sd card without cache.
I can use "posix_fadvise" to achieve the purpose on Ubuntu
I try NDK to make the function call, but it seems disabled on Android
How can I do?

Sincerely,
meconin

-- 
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


Re: [android-developers] Android ARM Direct SD Card I/O

2010-11-18 Thread TreKing
On Tue, Nov 16, 2010 at 3:47 AM, meconin  wrote:

> I need to directly read/write a file on sd card without cache.


What does "without cache" mean?

-
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