I tried creationg Page2 with an Public ImageView1 As B4XView
then:
B4X:
Private Sub StopCamera
Capturing = False
btnStartStop.Text = "Start"
'camEx.TakePicture
pnlPreview.Visible = False
#if B4A
If camEx.IsInitialized Then
camEx.Release
End If
#Else If B4i
scanner.Stop
dim bmp As B4XBitmap = pnlPreview.Snapshot
If bmp.Height > 0 Then
page2.ImageView1.SetBitmap(bmp)
B4XPages.ShowPage("page 2")
End If
#end if
End Sub
And it doesn't show nothing...
is there any mistake?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.