Can't find the file path which created by myself in android source code
<p>I am testing something.</p>

<p>I created <strong>assets</strong> folder in packages/apps/Camera/ and added the <strong>test.txt</strong> file in the folder.</p>

<p>But when I accessed the file in the <strong>onCreate()</strong> method according the following code fragment, I found I can't get the file.</p>

<pre><code>    File file = new File("/assets/test.txt");
    BufferedReader reader = null;
    try {
        Log.v("jerikc","read the file");
        reader = new BufferedReader(new FileReader(file));
        String tempString = null;
        int line = 1;

        while ((tempString = reader.readLine()) != null) {

            Log.v("jerikc","line " + line + ": " + tempString);
            line++;
        }
        reader.close();
    } catch (IOException e) {
        Log.v("jerikc","exception");
        e.printStackTrace();
    } finally {
        if (reader != null) {
            try {
                reader.close();
            } catch (IOException e1) {
            }
        }
    }
</code></pre>

<p>The log were :</p>

<p><em>V/jerikc (3454): read the file</em></p>

<p><em>V/jerikc (3454): exception</em></p>

<p>I think I add the wrong path.("/assets/test.txt") . 
So what's the right path?</p>

<p><strong>Some other informations:</strong></p>

<p>Where my real code is a Util Class, there isn't the context. If I add the context, the code structure will have a big change. </p>

<p>Thanks.</p>
