how to solve the JSCallback Server Closed: Stopping callbacks

hi i am getting the error msgs

when i am calling HTML file i'm using this method

$.cookie('iTouchUser', JSON.stringify(userInfo));
// window.location='list.html';    (i've try this method also)

and the error msgs i am getting is

 DroidGap(991): DroidGap.loadUrl(file:///android_asset/www/list.html)
 DroidGap(991): DroidGap: url=file:///android_asset/www/list.html baseUrl=file:///android_asset/www/
 PluginManager(991): init()
 CordovaLog(991): JSCallback Server Closed: Stopping callbacks.
 CordovaLog(991): file:///android_asset/www/cordova-1.8.0.js: Line 3708 : JSCallback Server Closed: Stopping callbacks.
 Web Console(991): JSCallback Server Closed: Stopping callbacks. at file:///android_asset/www/cordova-1.8.0.js:3708

I have check it in the cordova-1.8.0.js:3708 it has

// If server is stopping
          else if (xmlhttp.status === 503) {
              console.log("JSCallback Server Closed: Stopping callbacks.");

any one 've any idea how to solve this error


For Android, try using'url') instead of window.location

Need Your Help

Embedding v8 in android app

android scripting android-ndk v8 embedding

I want to add some scripting support to my android application. My app is not web based, it is just a common app, written in Java.

Manipulate XML document and change content in Zend Framework

php xml zend-framework xml-parsing

I'm building an application on Zend Framework and now there is requirement to manipulate a xml file and change few content of it so that I could use the xml as a request file to get a response from...