Not sure what you mean, what exactly is complicated? It might help if you explained what you're trying to do more clearly.
I *think* there is a way of accessing folders and files that are bundled with your apk. However, I think there are some restrictions as to what you can do with them. Look at: http://developer.android.com/reference/android/content/Context.html#getResources() On Thu, Jun 9, 2011 at 4:03 PM, KC203 <[email protected]> wrote: > Apart from asset and raw is there no way i can define my own folder > and try reading files from it ??? > I mean , adding an additional folder and reading using relative path > seems to be very complicated > > On Jun 9, 3:16 pm, Miguel Morales <[email protected]> wrote: > > Ah, then try checking: file:///android_asset > > I *believe* this gets converted in the app to the path of your resource > > folder. > > > > > > > > > > > > > > > > > > > > On Thu, Jun 9, 2011 at 3:06 PM, KC203 <[email protected]> > wrote: > > > But that would be storing and deleting when the app in running on the > > > device , i am packing this folder and files along with .apk > > > > > On Jun 9, 2:51 pm, Miguel Morales <[email protected]> wrote: > > > > See:http://developer.android.com/guide/topics/data/data-storage.html > > > > > > On Thu, Jun 9, 2011 at 2:49 PM, KC203 <[email protected] > > > > > wrote: > > > > > Hi , > > > > > > > In my android , i am creating multiple folders say X1 , X2 , X3 > > > > > so on , and each have list of files which needs to be displayed to > > > > > user for selection > > > > > I am trying to read the files in say folder X1 , how do i go about > > > > > doing that , whats the relative path which would help get list of > > > > > files in folder X1 > > > > > > > Thanks > > > > > Kavitha > > > > > > > -- > > > > > 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 > > > > > > -- > > > > ~ Jeremiah:9:23-24 > > > > Android 2D MMORPG: > > >http://solrpg.com/,http://www.youtube.com/user/revoltingx > > > > > -- > > > 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 > > > > -- > > ~ Jeremiah:9:23-24 > > Android 2D MMORPG: > http://solrpg.com/,http://www.youtube.com/user/revoltingx > > -- > 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 > -- ~ Jeremiah:9:23-24 Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx -- 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

