王昆仑
王昆仑

Reputation: 11

Is there a way to record the phone screen using ARCore SDK?

I want to record phone screen in a video format.

Is there a way to record my screen using ARcore android SDK??

Upvotes: 1

Views: 630

Answers (3)

smp007
smp007

Reputation: 31

I was successfully able to record the phone screen by using a recordablesurfaceview in place of the GLSurfaceView. see: https://github.com/UncorkedStudios/recordablesurfaceview. The OnDrawFrame is called twice by recordablesurfaceview, once to render to the screen and the second time to record the video. Once the video is saved you can upload it to the server as you desire.

Upvotes: 0

Steffen F.
Steffen F.

Reputation: 21

Do you want the recording functionality to be built into your app? If not, just use something like the DU Recorder App. Worked well for me for recording Google Tango Apps. Haven't tested it with ARCore, but should work as well.

Upvotes: 2

Mark Lapasa
Mark Lapasa

Reputation: 1654

Try to see if this works for you - https://stackoverflow.com/a/31547690/855984

The only thing that sucks about it is that you'll need to be tethered via USB cable to control the recording.

Android Studio will sample whatever it is you are seeing on your device provided that you're the owner of the process. Won't work for ripping other stuff visuals like Netflix for example.

Upvotes: 0

Related Questions