Canvas draw functions not working after screen locked and unlocked

前端 未结 1 1631
陌清茗
陌清茗 2020-12-19 01:01

I\'m working on an augmented reality application in which I have a camera preview screen on which I draw some markers which moves with respect to device movement.

W

相关标签:
1条回答
  • 2020-12-19 02:03

    I resolved the issue. It was with my SensorManager. The SensorManager was null when onStart() is executed.I initialized it inside the onStart() and resolved it.

    0 讨论(0)
提交回复
热议问题