Skip to content

Commit 900fc5b

Browse files
authored
update camera sample (#566)
* update camera sample * fix client call
1 parent 1ba7dac commit 900fc5b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/z2ui5_cl_demo_app_306.clas.abap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ CLASS z2ui5_cl_demo_app_306 IMPLEMENTATION.
7575
page->_z2ui5( )->camera_picture(
7676
value = client->_bind_edit( mv_picture_base )
7777
onphoto = client->_event( 'CAPTURE' )
78+
height = `10`
79+
width = `1000`
7880
facingmode = client->_bind_edit( facing_mode )
7981
deviceid = client->_bind_edit( device ) ).
8082

src/z2ui5_cl_demo_app_328.clas.abap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ CLASS z2ui5_cl_demo_app_328 IMPLEMENTATION.
111111
)->cells(
112112
)->text( '{ID}' ).
113113

114-
client->view_display( page->stringify( ) ) ).
114+
client->view_display( page->stringify( ) ).
115115

116116
ENDMETHOD.
117117

0 commit comments

Comments
 (0)