我正在使用Trigger.io開發應用程序。Trigger.io ::未處理的意圖結果
使用file.getImage
並從畫廊或相機(Android上)選擇圖像後,我收到此錯誤消息(使用trigger.io工具包運行應用程序)。
W Forge : Unhandled intent result, should have been handled by Forge.
該應用程序會立即崩潰並重新啓動。
相關代碼:
forge.file.getImage({}, function(file) {
forge.request.ajax({
type: 'POST',
url: "http://example.com/upload/photo",
files: [file],
success: function(e) {
console.log('success');
console.log(JSON.stringify(e));
},
error: function(e) {
console.log('failure');
console.log(JSON.stringify(e));
}
});
這個錯誤是什麼意思?
你測試的哪個版本的Android,這是一個設備或模擬器? – 2012-07-23 19:46:39
2.3.5在真實設備上 – 2012-07-23 19:50:34
好的,你可以發送你使用的src/config.json到sup[email protected],看看我們是否可以重新創建,謝謝! – 2012-07-23 20:15:03