Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.org/ui"
xmlns:pe="http://primefaces.org/ui/extensions">
<h:head>
<title>codeScanned</title>
</h:head>
<h:body>
<h:form>
<pe:codeScanner width="300" height="300">
<p:ajax event="codeScanned" listener="#{codeScaner.onScanned}"/>
</pe:codeScanner>
</h:form>
</h:body>
</html>
And i try showcase use the same phone and the same brower,it works.
Who can tell me what's the problem?