私のdecodeFileメソッドがnullを返す理由がわかりません...ここに私の(非常に単純な)コードがあります:
...
File f = new File(dataString);
photo_bitmap = BitmapFactory.decodeFile(f.getAbsolutePath());
Log.i("Data... : ", dataString); //show "/external/images/media/832"
Log.i("arbre.getString File : ", f.getAbsolutePath()); //show "/external/images/media/832"
if (photo_bitmap == null) Log.i("BITMAP", "BITMAP IS NULL"); //show this if...my Bitmap is null, why ?
photo_string = BitMapToString(photo_bitmap); //then java.lang.NullPointerException :/
photo_string = photo_string.substring(0, 10);
...
手伝ってくれてありがとう :)