R
R
RoadToGamedev2020-10-11 21:13:22
Android
RoadToGamedev, 2020-10-11 21:13:22

How to get phone screen resolution through android ndk?

Good day. I don't understand how to get screen data through android ndk. The main thing is to get permission. Through c/c++. I saw different pieces of code on the Internet, but I did not understand how it should work. I also saw the method through #include and the file system, but I'm not sure if this method will work on new devices.
Any information on the NDK would be helpful!
Thank you all in advance.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question