title: Android 4.0 is not giving option to choose app for opening a file?
body: <p>I am working in a project where I need to display list of all files present in SD card in a listview and on click of list view item give user option to choose app for opening that file. Below is the code which I am using. It is working fine in Android 2.3.3. But Android 4.0 and above it opens all files in gallery photo viewer. Please advise.</p>
  
  <pre><code>@Override
      public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1, int arg2, long arg3) {
          // TODO Auto-generated method stub
          Uri path = Uri.parse("file://" + arrayListAllFilespath.get(arg2));
          //arrayListAllFilespath.add(listFile[i].getAbsolutePath());
          Intent intent = new Intent();
          intent.setAction(Intent.ACTION_VIEW);
          intent.setDataAndType(path, "*/*");
          startActivity(intent);
  
      }
  </code></pre>