I have built an application (in Java, for Android) using this CameraX documentation. However, because of issues with the image resolution, I am currently attempting to figure out the size of the image resolution displayed by my application. I have used the getResolutionInfo from this documentation in order to resolve this issue. Here is how the method looks, as I want to print the size of the image resolution in my Logcat;
For convenience, here is the method in context of my entire MainActivity.java class, with the aforementioned method starting at Line 183;
In essence, the image resolution that my camera takes and the image resolution that is displayed on the application are two different sizes. I aim to know how to find them (and move forward in resolving this issue).