A
A
Andrey Andryushchenko2017-04-24 15:30:49
Android
Andrey Andryushchenko, 2017-04-24 15:30:49

Where on the device are the files placed in /res/raw?

I put the files in /res/raw/, I need to get the path to them to use to execute shell commands. How can I do that?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2017-04-24
@delphikettle

In off
-docs https://developer.android.com/guide/topics/resourcec...
it says:

To open these resources with an InputStream, call Resources.openRawResource() with a resource ID that is of the form R.raw.filename

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question