Khai Bui created CB-5014:
----------------------------

             Summary: 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


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>



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to