我正在通过网址阅读 Android 中的 jpg的 exif元数据。这似乎适用于模拟器,但随着手机崩溃
引起:com.drew.imaging.ImageMetadataReader.readMetadata(未知来源)的java.lang.ExceptionInInitializerError
(function () {
"use strict";
/**
* Update the page with a message informing the user
* an email has been sent to their email address
* @param details user details (email address)
*/
function shareEmailSent(details) {
// unhide confirmation message
$('strong#emailAddress').text(details.email);
$('#confirmationMessage').removeClass('hide');
}
/**
* Handle error
*/
function showError() {
return false;
}
/**
* Makes a POST request to send the current user
* an email containing their unqiue share url
* @param emailList
*/
function sendEmail(emailList) {
var data = {};
data.formToken = $('#formToken').val();
data.emails = emailList;
$.mooAjax({
url: "/ajax/share/refer_a_friend_email.php",
type: "POST",
data: data,
dataType: "json",
error: showError,
success: function (response) {
shareEmailSent(response);
}
});
}
}());