You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Khai Bui (JIRA)" <ji...@apache.org> on 2013/10/08 13:00:42 UTC
[jira] [Updated] (CB-5014) Clicked on the button or text box, but
not work
[ https://issues.apache.org/jira/browse/CB-5014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Khai Bui updated CB-5014:
-------------------------
Description:
I clicked on the button 'Click Me!'. But it didn't fire any event.
I locked and unlock emulator screen, then click the button will work.
Plugins installed
1. Splashscreen
2. Geolocation
3. InAppBrowser
4. Notification
5. Connection
This is a full html sample page.
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title>Hello World</title>
</head>
<body>
<div class="app">
<h1>Apache Cordova</h1>
<button data-role="button" data-iconpos="right" data-icon="arrow-r" onclick="console.log('Clicked')">Click Me!</button>
<div id="deviceready" class="blink">
<p class="event listening">Connecting to Device</p>
<p class="event received">Device is Ready</p>
</div>
</div>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
app.initialize();
</script>
</body>
</html>
was:
I clicked on the button 'Click Me!'. But it didn't fire any event.
I locked and unlock emulator screen, then click the button will work.
This is a full html sample page.
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title>Hello World</title>
</head>
<body>
<div class="app">
<h1>Apache Cordova</h1>
<button data-role="button" data-iconpos="right" data-icon="arrow-r" onclick="console.log('Clicked')">Click Me!</button>
<div id="deviceready" class="blink">
<p class="event listening">Connecting to Device</p>
<p class="event received">Device is Ready</p>
</div>
</div>
<script type="text/javascript" src="cordova.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
app.initialize();
</script>
</body>
</html>
> Clicked on the button or text box, but not work
> -----------------------------------------------
>
> Key: CB-5014
> URL: https://issues.apache.org/jira/browse/CB-5014
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, App Hello World
> Affects Versions: 3.0.0
> Environment: Emulator Android 4.3
> Reporter: Khai Bui
> Original Estimate: 4h
> Remaining Estimate: 4h
>
> I clicked on the button 'Click Me!'. But it didn't fire any event.
> I locked and unlock emulator screen, then click the button will work.
> Plugins installed
> 1. Splashscreen
> 2. Geolocation
> 3. InAppBrowser
> 4. Notification
> 5. Connection
> This is a full html sample page.
> <html>
> <head>
> <meta charset="utf-8" />
> <meta name="format-detection" content="telephone=no" />
> <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
> <link rel="stylesheet" type="text/css" href="css/index.css" />
> <title>Hello World</title>
> </head>
> <body>
> <div class="app">
> <h1>Apache Cordova</h1>
> <button data-role="button" data-iconpos="right" data-icon="arrow-r" onclick="console.log('Clicked')">Click Me!</button>
> <div id="deviceready" class="blink">
> <p class="event listening">Connecting to Device</p>
> <p class="event received">Device is Ready</p>
> </div>
> </div>
> <script type="text/javascript" src="cordova.js"></script>
> <script type="text/javascript" src="js/index.js"></script>
> <script type="text/javascript">
> app.initialize();
> </script>
> </body>
> </html>
--
This message was sent by Atlassian JIRA
(v6.1#6144)