title: Get Image from gallery cause no activity found error in activity resulte
body: <p>I try to open the gallery and let user to choose image from gallery it's work on some android but not all in my tablet (4.2.2) it's work just fine but my friend (4.1.2) it's cause ActivityNotFound Exeption.</p>
  
  <p>the code to open gallery:</p>
  
  <pre><code>Intent i = new Intent(
                              Intent.ACTION_PICK,
                              android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
                      try
                      {
                          startActivityForResult(i, RESULT_LOAD_IMAGE);
                      }
                      catch (ActivityNotFoundException e) 
                      {
                          e.printStackTrace();
                      }
  </code></pre>
  
  <p>And This is ActivityResult code:</p>
  
  <pre><code>@Override
       public void onActivityResult(int requestCode, int resultCode, Intent data) {
          super.onActivityResult(requestCode, resultCode, data);
  
          if (requestCode == RESULT_LOAD_IMAGE &amp;&amp; resultCode == RESULT_OK &amp;&amp; null != data) {
              Uri selectedImage = data.getData();
              String[] filePathColumn = { MediaStore.Images.Media.DATA };
  
              Cursor cursor = getContentResolver().query(selectedImage,
                      filePathColumn, null, null, null);
              cursor.moveToFirst();
  
              int columnIndex = cursor.getColumnIndex(filePathColumn[0]);
              picturePath = cursor.getString(columnIndex);
  }
  </code></pre>