2
2
23d2014-06-03 17:10:00
Java
23d, 2014-06-03 17:10:00

How to open files from res/raw folder?

First I take f = new File("/sdcard/Printy/girl");
And then in another function fin = new FileInputStream(f);
What needs to be changed in order to open from the res / raw folder?
I'm trying to use getAssets but it doesn't work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2014-06-03
@onepavel

kak-iskat.ru/?q=android+get+raw+resource
getResources().openRawResource()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question