How do i make use of Media.Job.Tag? Its alway null. When i set MediaManager, i want to identify the Media.Job.Tag with a unique name so i know how to assign the filename properly.
B4X:
Public Sub SMM_MediaReady (Success As Boolean, Media As SMMedia)
If Success Then
Log(Media.Job.Tag)
If Media.Media Is B4XBitmap Then
B4XImageView1.Bitmap = Media.Media 'just to check it
Dim Out As OutputStream = File.OpenOutput(xui.DefaultFolder, "01.png", False)
Media.Media.As(B4XBitmap).WriteToStream(Out, 100, "PNG")
Out.Close
End If
End If
End Sub