• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Why isn't my code returning size of image resolution?

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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;

 
Mason Buchanan
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).
 
Not so fast naughty spawn! I want you to know about
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic