Friday, August 26, 2011

[android-developers] placing data files in apk and opening them

I've spent the last hour or two looking at file storage methods and so
on. Cant quite see what i want.

I want some data files to come installed in the apk and i want to be
able to open them.

I sort of know how you can put images in the res directory but this is
going to be data not images and i'm hopeing to read them similar to
reading any other kind of text file. I tried openFileInput() but i
cant even figure out where to put the files for that. I got the path
something like Data/Data/etc but clueless where that is.

The reason to include them in apk is i want them to download the data
the program needs when they install the program.

thanks
Mike

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment