【发布时间】:2012-07-23 18:59:22
【问题描述】:
我正在使用 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 上进行测试,这是设备还是模拟器?
-
好的,你能把你正在使用的 src/config.json 发送到 support@trigger.io 看看我们是否可以重新创建,谢谢!
标签: javascript trigger.io