2012-06-13 4 views
2

내가 HTML 파일을 호출하고 때이 방법: 중지 콜백

url:'http://abcccc/'+data.userId, 
success:function(userInfo){ 
$.cookie('iTouchUser', JSON.stringify(userInfo)); 
// window.location='list.html'; (i've try this method also) 
window.location.replace('file:///android_asset/www/list.html'); 

그리고 난 점점 오전 오류 MSG를 사용하고 안녕 난 오류 MSG를

무엇입니까 나는 코르도바-1.8.0.js에서을 점검

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 

이다 : 3708는

// If server is stopping 
      else if (xmlhttp.status === 503) { 
       console.log("JSCallback Server Closed: Stopping callbacks."); 
      } 
012,351있다 6,

중 하나는 '어떻게 안드로이드에 대한

+0

은 폰갭은 list.html 페이지에서 작동하지 않습니다 navigator.app.loadUrl('url') 대신 window.location의를 사용해보십시오이 오류를 해결하기 위해 어떤 생각을했습니다? "콜백 중지"로그가 표시되는 이유는 현재 콜백 서버가 종료되어 list.html에 대한 새 콜백 서버를 시작할 수 있다는 것입니다. 다른 말로하면 나는 당신이 아무것도 걱정하지 않는다고 생각합니다. –

+0

이 오류 때문에 내가해야 할 일 – Jagan

+0

코드바와 PhoneGap이 같은지 알고 싶습니까? – Jagan

답변

1

+0

여전히 동일한 JSCallback 서버를 사용하고 있습니다. Closed : 콜백 중지 – Jagan

+0

https://issues.apache.org/jira/browse/CB-164에 연결되어 있는지 확실하지 않습니다. PhoneGap Google 그룹 https://groups.google.com/forum/#!forum/phonegap에서 게시 해보세요. – codemonkey