wonjsohn / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

ExifInterface doesn't work in Google Glass #610

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try use ExifInterface to save photo with exif.

What is the expected output? What do you see instead?
Expected - save photo with exif.
Just nothing happens.

What version of the product are you using? On what operating system?
XE21.3 

Please provide any additional information below.

Example code:
        try {
            ExifInterface exif = new ExifInterface(filePath);
            exif.setAttribute(ExifInterface.TAG_GPS_LATITUDE, convertCoordinates(40));
            exif.setAttribute(ExifInterface.TAG_GPS_LATITUDE_REF, "N");
            exif.setAttribute(ExifInterface.TAG_GPS_LONGITUDE, convertCoordinates(40));
            exif.setAttribute(ExifInterface.TAG_GPS_LONGITUDE_REF, "S");
            exif.saveAttributes();
        } catch (IOException e) {
            e.printStackTrace();
        }

Original issue reported on code.google.com by milosz.s...@gmail.com on 8 Oct 2014 at 7:14

GoogleCodeExporter commented 8 years ago
Hello,

Thanks for the report! Could you tell us if you get any error in particular? 
Does it go through the exception and print a stacktrace or does it silently 
fail?

Best,
Alain

Original comment by ala...@google.com on 8 Oct 2014 at 6:00

GoogleCodeExporter commented 8 years ago
Code doesn't throw any exceptions and doesn't working in Google Glass, but code 
works fine on the mobile.
I just wanted save photo in Glass with exif, but doesn't work.

Original comment by milosz.s...@gmail.com on 8 Oct 2014 at 6:11