Text Resources in Android sdk
<p>I have book with lessons about android . Now i realize help screen when i have many text . In book type about text . that android sdk can use txt files with many text . and in book typed code but when im use him , it doesent work (my app launch but i dont have any text on screen ) what's wrong? Help with right variant . my code :</p>

<pre><code>package com.lineage.goddess;

import java.io.InputStream;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class LineageHelpActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.help);
        openRawResource();
        InputStream iFile = getResources().openRawResource(R.raw.lineagehelp);
        TextView helpText =(TextView) findViewById(R.id.TextView_HelpText);
        String strFile = inputStreamToString(iFile);
        helpText.setText(strFile);
    }

    private String inputStreamToString(InputStream iFile) {
        // TODO Auto-generated method stub
        return null;
    }

    private void openRawResource() {
        // TODO Auto-generated method stub

    }
}
</code></pre>
