I have the following code, and I get an error complaining that the bitmap is not initialized
Code:
Dim rfl As Reflector
Dim obj As Object
Dim B As Bitmap
obj = rfl.CreateObject("android.media.MediaMetadataRetriever")
rfl.Target = obj
rfl.RunMethod2("setDataSource", vidfile, "java.lang.String")
B = rfl.RunMethod3("getFrameAtTime", 0, "java.lang.long", 3, "java.lang.int")
Dim HV As Int = B.Height 'Error on this line
Dim WV As Int = B.Width
How to initialize bitmap in this context?
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/29o3aI9
via IFTTT
Aucun commentaire:
Enregistrer un commentaire