I'm using Ext.data.JsonP.request to retrieve some informations from the server eg. with
Ext.data.JsonP.request({
url: 'http://ift.tt/1myYT5S,
timeout: 5000,
params: {
deviceName: Ext.device.Device.platform + '/' + Ext.device.Device.name,
deviceID: Ext.device.Device.uuid
}, ....
On the server side there is a custom web-server running providing the requested information for the connection I use a self signed certificate.
Everything works as expected until I loose the connection on the android mobile device and is reestablished again (for example I connect the first time, while having a WLAN internet connection, and then later using a mobile internet connection).
The problem is when reconnecting via the mobile connection, something about the old connection seems to be stored and I cannot reconnect to the server until I restart the application on the android device.
Are there any tips or hints on this issue, can I do something on the Ext.data.JsonP instance to reset everything inside?
Thanks,
Michael
Aucun commentaire:
Enregistrer un commentaire