title: Am I accessing file correctly?
body: <p>This is the code I'm trying to use</p>
  
  <pre><code>File filePath = new File(Environment.getExternalStorageDirectory(), "/test.bmp");
  String file = filePath.getAbsolutePath();
  Mat input_mat = Highgui.imread(file);
  </code></pre>
  
  <p>When I use the app with the last line it crashes. I'm not sure if the last line is the mistake or if I'm not accessing the test.bmp file properly. Its saved on the root of the sdcard.</p>
  
  <p>It is for an android app on eclipse.</p>
  
  <p><strong>edit logcat</strong> </p>
  
  <pre><code>01-11 22:38:50.288: E/AndroidRuntime(545): FATAL EXCEPTION: main
  01-11 22:38:50.288: E/AndroidRuntime(545): java.lang.UnsatisfiedLinkError: imread_1
  01-11 22:38:50.288: E/AndroidRuntime(545):  at org.opencv.highgui.Highgui.imread_1(Native Method)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at org.opencv.highgui.Highgui.imread(Highgui.java:324)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at com.example.android.photobyintent.PhotoIntentActivity.dispatchProcVideoIntent(PhotoIntentActivity.java:186)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at com.example.android.photobyintent.PhotoIntentActivity.access$2(PhotoIntentActivity.java:182)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at com.example.android.photobyintent.PhotoIntentActivity$4.onClick(PhotoIntentActivity.java:264)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at android.view.View.performClick(View.java:3480)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at android.view.View$PerformClick.run(View.java:13983)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at android.os.Handler.handleCallback(Handler.java:605)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at android.os.Handler.dispatchMessage(Handler.java:92)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at android.os.Looper.loop(Looper.java:137)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at android.app.ActivityThread.main(ActivityThread.java:4340)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at java.lang.reflect.Method.invokeNative(Native Method)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at java.lang.reflect.Method.invoke(Method.java:511)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
  01-11 22:38:50.288: E/AndroidRuntime(545):  at dalvik.system.NativeStart.main(Native Method)
  </code></pre>