sempre inerente al progetto web che sto facendo, ho provato a fare un'app android che contiene una webview che lancia il mio sito dell'app, che è una pagina asp.net.
Può essere che la webview non supporti asp??
chiedo a voi chiarimenti, e soprattutto vi posto il codice della pagina che deve aprire:
Codice: Seleziona tutto
<!DOCTYPE html>
<html>
<head>
<title>Alpha Mobile</title>
<meta name="description" content="">
<!-- Mobile viewport optimization h5bp.com/ad -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="ALPHA Mobile" />
<link rel="apple-touch-icon" sizes="114x114" href="/img/apple-touch-icon.png">
<meta name="viewport" content="width=device-width , user-scalable=yes">
<meta http-equiv="X-UA-Compatible" content="IE=10, chrome=1, FF=3" />
<!-- x IOS-->
<link rel="apple-touch-icon" sizes="72x72" href="img/IOS/apple-touch-icon.png" />
<!-- per android-->
<link rel="apple-touch-icon-precomposed" href="img/Android/ic_launcher.png" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text.css'/>
<link href="css/home.css" rel='stylesheet' type='text/css' />
<link rel="stylesheet" type="text/css" href="style/addtohomescreen.css">
<link rel="shortcut icon" sizes="16x16" href="imgs/icon-16x16.png">
<link rel="shortcut icon" sizes="196x196" href="imgs/icon-196x196.png">
<link rel="apple-touch-icon-precomposed" href="imgs/icon-152x152.png">
<!-- <script src="../src/addtohomescreen.js"></script>-->
</head>
<body>
<div class="login-form">
<h1>Alpha Mobile</h1>
<form id="form1" runat="server">
<input type="text" placeholder="Nome Utente" required/>
<input type="Password" placeholder="Password" required/>
<input type="text" placeholder ="Pin Agenzia" required />
<div class="submit">
<asp:Button ID ="Button_Invia" runat="server" text="Entra"/>
</div>
</form>
</div>
<script src="src/addtohomescreen.js"></script>
<script>
// addToHomescreen.removeSession(); // use this to remove the localStorage variable
var ath = addToHomescreen({
debug: 'android', // activate debug mode in ios emulation
skipFirstVisit: false, // show at first access
startDelay: 0, // display the message right away
lifespan: 0, // do not automatically kill the call out
displayPace: 0, // do not obey the display pace
privateModeOverride: true, // show the message in private mode
maxDisplayCount: 0 // do not obey the max display count
});
// ath.clearSession(); // reset the user session
</script>
</body>
</html>