SALAM
please, im doing a mobile app with sencha touch 1, and i want to consume web service.
i used Ext.ajax.request, every thing works right when i execute my app in web server (wamp).
but now when i want to execute it in an Android Emulator, i have always response.status == 0
only the failure function was called.
what's should be do to fix this ?
thank you

here is my code
Code:
Ext.Ajax.request({
url: App.hostadress+'Service/test/'+urtemp,
  success : function(response, options) {
  console.log(response);
  var user = eval('('+ response.responseText+ ')'); 
  console.log(user);
   App.variable = user.clientID;
   var nv = user.clientNOM;
   var pr = user.clientPRENOM;
 if(nv !== "null") { 
		var store = Ext.StoreMgr.get('storeCPT');	
		console.log("url proxy : " + store.getProxy().url);
		store.getProxy().url = App.hostadress+'Service/compteID/'+App.variable;
        console.log("url proxy : " + store.getProxy().url);
		store.load();
 
 
        console.log("client ID "+App.variable);
  		Ext.Msg.alert("Bienvenue Monsieur",pr+" "+nv);
                Ext.getCmp('status').setTitle(pr+" "+nv);
                Ext.redirect('Banking/compte');
                window.location = redirect; 
      } 
else {Ext.Msg.alert("Mot de passe ou login incorrecte","veuillez reeseyer");} 
  },
  
  failure: function(response, options) {
          Ext.getCmp('res').setValue(response.status);
 }
 });