S SDFP Studio Member Licensed User Jan 19, 2021 #1 Hi and thanks for all that incredible work ? I have a beginner question about using google api. I'd like to use InitializeNewInstance to create an instance for com.google.android.media.MediaExtractor class but i get an error because class is unknown. B4X: Copy Private MediaExtractor As JavaObject MediaExtractor = MediaExtractor.InitializeNewInstance("com.google.android.media.MediaExtractor",Null) I think i need an aar file but i absolutely find nothing on internet. Can i find this kind of file on the internet ? Does it need absolutely to contain arm64 version ? Is there something like a startup guide on the forum ? I read 'B4X JavaObject-NativeObject' but there is no information about aar / jar files. Thank you very much for your help Francis
Hi and thanks for all that incredible work ? I have a beginner question about using google api. I'd like to use InitializeNewInstance to create an instance for com.google.android.media.MediaExtractor class but i get an error because class is unknown. B4X: Copy Private MediaExtractor As JavaObject MediaExtractor = MediaExtractor.InitializeNewInstance("com.google.android.media.MediaExtractor",Null) I think i need an aar file but i absolutely find nothing on internet. Can i find this kind of file on the internet ? Does it need absolutely to contain arm64 version ? Is there something like a startup guide on the forum ? I read 'B4X JavaObject-NativeObject' but there is no information about aar / jar files. Thank you very much for your help Francis
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2021 #2 Are you trying to access this API: https://developer.android.com/reference/android/media/MediaExtractor ? android.media.MediaExtractor Upvote 0
Are you trying to access this API: https://developer.android.com/reference/android/media/MediaExtractor ? android.media.MediaExtractor
S SDFP Studio Member Licensed User Jan 20, 2021 #4 Sorry Erel, didn't understand it was your answer. It works, thanks ? Upvote 0