My issue is the 1st line of the code :
mediaRecorder = new MediaRecorder
How can I to convert it using JavaObjects ? For the rest commands, I can call the RunMethod from JavaObjects. Until now, I am trying to execute the following code :
Dim obj As JavaObject
obj.InitializeStatic("android.media.MediaRecorder")
Dim mMedia As JavaObject = obj.InitializeNewInstance("MediaRecorder", Null)
but I am getting java.lang.ClassNotFoundException: java$lang$MediaRecorder
Any help ?