Thanks for the help, storing the files in the assets folder worked!

On Mar 9, 1:16 pm, [email protected] wrote:
> fileList() method of class Context returns an array of strings naming
> the private files associated with this Context's application package.
>
> Then you can use the string array to look for what you need to pass to
> the methods found in the other replies to this thread.
>
> Justin Jaynes
>
> On Mar 7, 3:35 pm, Hayden <[email protected]> wrote:
>
> > Is there  a way to access arawresource file by having its filename
> > in a String?  According Google's documentation, I need to use
>
> > "Resources.openRawResource (R.raw.myDataFile)"
>
> > This requires that I have the file name at compile time, but what if I
> > have 20 or so files and want to do something to a specific file by
> > passing its file name at runtime?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to