Issue with file manager behavior when using an intent
<p>I am having the issue with the following code.  I am using the button in my app to go directly to the sub directory Bookme in the SD CARD.  It gets me to the Bookme directory, however if I press on a picture or video file in that sub directory it takes me back to the activity where I started from and does not give me an option to view/play the files; like it does if you navigate using the file manager app.</p>

<p>The workaround I found If I do a long press on the file it does give me the option to view, delete, rename etc.</p>

<p>Does anybody have a fix for this because the workaround it not acceptable to the end user since they mostly likely only know the behavior of the file manager.</p>

<pre><code>buttonAndroidFile.setOnClickListener(new Button.OnClickListener() {

        @Override
        public void onClick(View arg0) {

              File filePath = new File(Environment.getExternalStorageDirectory().getAbsolutePath()+"/Bookme");
              Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
              intent.setDataAndType(Uri.parse("file:/"+filePath.getAbsolutePath()), "file/*");
              startActivity(intent);
        }
    }); 
</code></pre>
