In this post:
www.b4x.com/android/forum/threads/save-ibarcode-preview-as-a-bitmap.64405/#post-408874
JanPRO suggests a snapshot can be taken of a view by the following code:
the snapshot itself being returned as a view.
How can the returned view be processed - e.g. how can the image in the returned view be extracted as a bitmap?
Thanks in advance...
www.b4x.com/android/forum/threads/save-ibarcode-preview-as-a-bitmap.64405/#post-408874
JanPRO suggests a snapshot can be taken of a view by the following code:
B4X:
Sub Snapshot(Target As View) As View
Dim NaObj As NativeObject = Target
Dim SnapshotView As View = NaObj.RunMethod("snapshotViewAfterScreenUpdates:",Array(True))
Return SnapshotView
End Sub
How can the returned view be processed - e.g. how can the image in the returned view be extracted as a bitmap?
Thanks in advance...