I'm tring to get a basic screen recorder compiled and working on my Samsung S8. There are allot of examples on GitHub (such as https://github.com/googlesamples/android-ScreenCapture) all of which require updates (usually to androidx) when I try to compile against API 28 (Pie). However, they all crash when I try to start the screen recording activity on my S8 device. I've had several of them working in the emulator, but I thought there may be a catch or work around for Samsung devices, or perhaps just the S8?
I can provide my updated source for API 28 if needed, but thought I'd ask if anyone else has had this experience using the Media Manager to capture the screen?
Thanks so much!