HI im trying to load apdf file from the raw folder but when i press the buttin nothing happen please help me with that
. This is the code

public class openpdf extends Activity
{

```
@Override
public void onCreate(Bundle savedInstanceState)
{
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    Button button = (Button) findViewById(R.id.pdfbutton);
    button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v)
            {

                File pdfFile = new File(
                    "android.resource://com.mycompany.myapp.PDF/"
                    + R.raw.adham);
                Uri path = Uri.fromFile(pdfFile);
                Intent intent = new Intent(Intent.ACTION_VIEW);
                intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
                intent.setDataAndType(path, "application/pdf");

                startActivity(intent);
            }
        }
    );
}

```

}