You can create files in your app directory, preferably in its 'files' 
subdirectory or anywhere on SD card using File class. Is that it?

----- Original Message ----- 
From: "Hayden" <[email protected]>
To: "Android Developers" <[email protected]>
Sent: Sunday, March 08, 2009 12:35 AM
Subject: [android-developers] Accessing raw resource files with the filename 
as a String


>
> Is there  a way to access a raw resource 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