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?