Fine Uploader の onProgress() コールバックは、Android デバイスでは機能しません。これが私のコードです:
onProgress: function(id, fileName, loaded, total)
{
//alert('debug'); this alert shows after download is completer
if (loaded < total) {
progress = '"' + fileName + '" uploaded ' + Math.round(loaded / total*100) +'%';
$('#progress').html(progress);
}
else {
$('#progress').html('saving');
}
}
onProgress() は、アップロードが終了した後に呼び出されます。何が問題になる可能性があり、それを修正する方法は? 公式ドキュメントには次のように書かれています。onProgress(String id, String name, int uploadedBytes, int totalBytes) - called during the upload, as it progresses. Only used by the XHR/ajax uploader.