嗨,我正在使用 sencha touch 编写这个 android 应用程序。收到 httpRequest 响应后,如何将数据存储在 Ext.Store 中。
var result = new XMLHttpRequest();
result.onreadystatechange = function(){
var respXml = result.responseXML;
//store this result in Ext.store
}
result.open("POST",Uri,true);
result.setRequestHeader("Content-type","application/x-www-form-urlencoded");
result.send(restbody);