do you know if I can read this file (/data/data/packagename/files/) by
a Native C code? I want to be able to read a file stored on the phone
and I thought the best way would be to read it from the package
filesystem as Native C can't get to the sdcard.

Any suggestions?

Abi

On Apr 14, 9:27 am, Mark Murphy <mmur...@commonsware.com> wrote:
> Abhi wrote:
> > Is it possible to copy a file located on the sdcard to a package's
> > internal filesytem located at /data/data/packagename/files/ folder?
>
> Yes, via standard Java I/O. Use getFilesDir() to find out where
> /data/data/packagename/files/ is for your application.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Training in US: 14-18 June 2010:http://bignerdranch.com

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to