Sencha touch 2 如何在sencha touch 2.0.0中上载和存储图像

Sencha touch 2 如何在sencha touch 2.0.0中上载和存储图像,sencha-touch-2,Sencha Touch 2,我需要开发一个应用程序,在这个应用程序中,我需要上传并将上传的图像存储在服务器上。我看到在表单面板上,我没有看到我在html中使用的上传字段。 请尽快回复 提前感谢。我已经使用ST1.1中的以下示例成功上传了一个编码字符串 Ext.Ajax.request({ url: 'page.php', params: { id: 1 }, success: function(response){ var text = response.re

我需要开发一个应用程序,在这个应用程序中,我需要上传并将上传的图像存储在服务器上。我看到在表单面板上,我没有看到我在html中使用的上传字段。 请尽快回复


提前感谢。

我已经使用ST1.1中的以下示例成功上传了一个编码字符串

Ext.Ajax.request({
    url: 'page.php',
    params: {
        id: 1
    },
    success: function(response){
        var text = response.responseText;
        // process server response here
    }
});