Question: I want to record phone screen in a video format. 

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

Answer: 
Do you want the recording functionality to be built into your app? If not, just use something like the [DU Recorder](https://play.google.com/store/apps/details?id=com.duapps.recorder) App. Worked well for me for recording Google Tango Apps. Haven't tested it with ARCore, but should work as well.
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.