This is a migrated thread and some comments may be shown as answers.

Very Slow To navigate to a jquery page

4 Answers 208 Views
AppBuilder Windows client
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
john
Top achievements
Rank 1
john asked on 09 May 2014, 04:13 AM
I have my first app build and tested on Windows phone, the bad thing is it is very slow. the navigation took 10+ minutes!
Something wrong with my app?
The same app works fine on the simulator and Android.

4 Answers, 1 is accepted

Sort by
0
john
Top achievements
Rank 1
answered on 09 May 2014, 04:14 AM
I have my page here:
​<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Signup</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="jquery-mobile/styles/jquery.mobile-1.3.1.min.css" rel="stylesheet" />
<link href="styles/main.css" rel="stylesheet" />
<script src="cordova.js" type="text/javascript"></script>
<script src="jquery-mobile/js/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="jquery-mobile/js/jquery.mobile-1.3.1.min.js" type="text/javascript"></script>
</head>
<body>
<div>
<h1 id="description">Use your phone/email to sign up</h1>
<input id="account" />
<input type="button" id="btnGetValidation" value="Next" />
</div>

<script type="text/javascript">
//var getPara = window.location.search.replace("?", "");
//document.getElementById("description").innerHTML = "Use your " + getPara + " to sign up, will send you a validation code once you click next.";

$(document).ready(function () {
$("#btnGetValidation").click(function () {
jQuery.support.cors = true;
var keyword = $("#account").val();
//var url = "http://localhost:32765/api/UserValidation/?account=" + keyword;

var url = "something /?account=" + keyword;
if (!!keyword) {
$.ajax({
type: "GET",
url: url,
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "jsonp",
success: function (data, status) {
//alert("Data Loaded: " + data);
// undone: add error handling
// if there is error, the return will be
// error:xxxx
$("#comment").text(data);
window.location.href = "Validate.html?c=" + data;
},
error: function (msg, url, line) {
$("#comment").text("error");
}
});
}
})
})
</script>
</body>
</html>
0
john
Top achievements
Rank 1
answered on 09 May 2014, 04:18 AM
Attached my page, (removed the sensitive url)
0
john
Top achievements
Rank 1
answered on 09 May 2014, 06:18 AM
I think it is this issue: PhoneGap/WP8 - Fail to load url with parameters

Is there a solution yet?
0
Kaloyan
Telerik team
answered on 13 May 2014, 02:56 PM
Hello john,

I have replied to your other thread and will await your answer there.

Further, the issue you have related is a Window Phone one and we do not know when Microsoft will release a fix for it. However, there is a big possibility that your issue is not related to it.

I am looking forward to your reply.

Regards,
Kaloyan
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
Tags
AppBuilder Windows client
Asked by
john
Top achievements
Rank 1
Answers by
john
Top achievements
Rank 1
Kaloyan
Telerik team
Share this question
or