• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic