Dim noMe As NativeObject = Me
ImageView1.Bitmap = noMe.RunMethod ("getViewScreenShot:", Array (Button1))
ImageView2.Bitmap = noMe.RunMethod ("getViewScreenShot:", Array (B4XFloatTextField1.mBase))
Hi, this Snapshot is not working... any idea? Thanks
B4X:
Dim b As B4XView = pnlRo
Dim avc As ActivityViewController
avc.Initialize("avc", Array("Shared with you.", b.Snapshot))
Dim mp As Page = B4XPages.GetNativeParent(Me)
avc.Show(mp, pnl) 'Second parameter is relevant for iPad only. The arrow will point to the view.