satellitemundo
Newbie
Hi friends,
I have specific requirement I have few files in assets folder. I want that file in File object. (This is the requirement and I need to follow them STRICTLY,InputStream or any other is not allowed).
How to convert that ? SO far I have tried
but this does not work.
Any Help..
If I can achieve the same using raw folder,that is also fine for me.
I have specific requirement I have few files in assets folder. I want that file in File object. (This is the requirement and I need to follow them STRICTLY,InputStream or any other is not allowed).
How to convert that ? SO far I have tried
Code:
new File("file://android_asset/fonts/xyz.ttf");
but this does not work.
Any Help..
If I can achieve the same using raw folder,that is also fine for me.