PDA

View Full Version : Loading data into proxy - MNT/xoom



thesuite
11 Jul 2011, 7:45 AM
Hi All,

I am having some issues with loading content that is saved on the device on the xoom

I have managed to save the data and can actually reference the data

ie

file:///mnt/sdcard/save.xml but I cannot seem to load the data back into a proxy

The code below works on the galaxy tablet (obviously not using mnt)

Any help would be grand

Thanks

See code below



editionstore = new Ext.data.XmlStore({
model: 'editions',
listeners: {
datachanged: function (thiss)
{
alert('Retrieved data');

}
},
proxy: {
type: 'ajax',
url: "file:///mnt/sdcard/save.xml",
reader: new Ext.data.XmlReader({
type: 'xml',
root: 'editions',
record: 'edition'
})
}
});

editionstore.load();