Added QR scanner test
This commit is contained in:
parent
d85ad2c5eb
commit
f28e91231d
3 changed files with 43 additions and 10 deletions
|
|
@ -6,8 +6,6 @@
|
|||
|
||||
<EventOpen>
|
||||
|
||||
Var KornCameraXW = 800
|
||||
Var KornCameraXH = 800
|
||||
Var scanresult = ""
|
||||
Var scanmsg = ""
|
||||
|
||||
|
|
@ -60,13 +58,13 @@
|
|||
</Button>
|
||||
|
||||
|
||||
<CameraX>
|
||||
<X> 200 </X>
|
||||
<Y> 400 </Y>
|
||||
<CameraX>
|
||||
<X> 120 </X>
|
||||
<Y> 900 </Y>
|
||||
<Name>"usbfront"</Name>
|
||||
<Width> KornCameraXW </Width>
|
||||
<Height> KornCameraXH </Height>
|
||||
<State> Enable </State>
|
||||
<Width> 850 </Width>
|
||||
<Height> 800 </Height>
|
||||
<State> CameraState </State>
|
||||
</CameraX>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
Open "ROOT/taobin_project/xml/testscanQRcode.xml"
|
||||
</EventClick>
|
||||
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@
|
|||
DEBUGVAR TestArrary[Index]
|
||||
DEBUGVAR TestArrary[2]
|
||||
DEBUGVAR TestArrary[3]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -891,6 +891,41 @@
|
|||
<Value> "Enable CreditCard" </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
<Image>
|
||||
<X> info_startX </X>
|
||||
<Y> info_13Y </Y>
|
||||
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
|
||||
<State> eval(
|
||||
If CameraCount > 0 Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
) </State>
|
||||
<EventClick>
|
||||
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/testscanQRcode.xml"
|
||||
|
||||
</EventClick>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> info_text_startX </X>
|
||||
<Y> info_text_13Y </Y>
|
||||
<Size> 30 </Size>
|
||||
<Font> fontType1 </Font>
|
||||
<Color> 0x000000 </Color>
|
||||
<State> eval(
|
||||
If CameraCount > 0 Then
|
||||
Var return = "Enable"
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
) </State>
|
||||
<Value> "QR Scanner" </Value>
|
||||
</Text>
|
||||
|
||||
;EnableNewBrewUI
|
||||
<Image>
|
||||
<X> info2_startX </X>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue