I am trying to provide a hyperlink that will kick off the default email client on the mobile device. The problem is that it takes 10, 20 or even more clicks before it finally opens the email client. This is happening on both iOS and Android. In the browser on a PC it works as expected.
1 thing I noticed is that if I swipe somewhere on the screen and then attempt to click the link it works (more times than not).
1 thing I noticed is that if I swipe somewhere on the screen and then attempt to click the link it works (more times than not).
- What could be going on here?
- Does the link need some type of initialization?
- In Android the corners are not rounded on the switch when I force the "ios" styling. Is there a workaround for this?
<!DOCTYPE html><html><head runat="server"> <meta charset="UTF-8"> <title></title> <link href="http://cdn.kendostatic.com/2012.3.1114/styles/kendo.common.min.css" rel="stylesheet" /> <link href="http://cdn.kendostatic.com/2012.3.1114/styles/kendo.default.min.css" rel="stylesheet" /> <link href="http://cdn.kendostatic.com/2012.3.1114/styles/kendo.dataviz.min.css" rel="stylesheet" /> <link href="http://cdn.kendostatic.com/2012.3.1114/styles/kendo.mobile.all.min.css" rel="stylesheet" /> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script type="text/javascript" src="http://cdn.kendostatic.com/2012.3.1114/js/kendo.all.min.js"></script> </head><body> <div data-role="view" id="orderhistory" data-layout="default" data-before-show="redirectBack" class="hideload"> <ul data-role="listview" data-style="inset" data-type="group" > <li> <ul class="ordULHist"> <li> <a id="ml" data-rel="external" data-role="listview-link" href="mailto:comments@yahoo.com">comments@yahoo.com</a> <li> <li>not rounded in android <input id="chkremember" data-role="switch" /> </li> </ul> </li> </ul> </div> <script type="text/javascript"> var app = new kendo.mobile.Application($(document.body), { platform: { device: "ipad", // Mobile device, can be "ipad", "iphone", "ipod", "android" "fire", "blackberry", "meego" name: "ios", // Mobile OS, can be "ios", "android", "blackberry", "meego" ios: true, // Mobile OS name as a flag majorVersion: 5, // Major OS version minorVersion: "0.0", // Minor OS versions flatVersion: "500", // Flat OS version for easier comparison appMode: false, // Whether running in browser or in AppMode/PhoneGap/Titanium. tablet: "ipad" // If a tablet - tablet name or false for a phone. } }); </script></body></html>