As shown in the figure above.I chose the take a picture exif information is null. I chose image from phone option and exif information is not null.
You cannot read exif data from a Stream using the android api. ExifInterface doesn't have a constructor with an InputStream.
However, You can use the metadata-extractor and use the constructor with an InputStream to build an InputStream backed by your byte[] using a ByteArrayInputStream