On Sun, Jul 22, 2012 at 07:55:59AM -0400, Mark Murphy wrote: > On Sun, Jul 22, 2012 at 7:46 AM, RichardC > <[email protected]> wrote: > > How about View width and height instead of Display? > > Precisely. It matters not a whit how big the display is. What matters > is how big the preview SurfaceView can be, after taking everything > else into account.
That's probably what I'm not clear on.... What is "everything else" in this case? If display.getWidth and display.getHeight report that my tablet's display size is 1280x752 (which, I just discovered, is NOT what Settings-->About Tablet-->System Information-->display pixels reports---it reports 1280x800) ... hmmmm .... so which is right? I see what this is all about now. So display.getWidth/Height reports the wrong numbers, and View.getWidth() and View.getHeight() returns the correct display size? So basically, I just need to do this in my app: :%s/display/View/g right? I'm working on image processing right now, but I'll make that change the next time I edit anything on the Java side. Thanks, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4) MiSTie #49997 < Running Mac OS X Lion > [email protected] ICBM/Hurricane: 30.44406N 86.59909W Do not look into waveguide with remaining eye! Android Apps Listing at http://www.jstrack.org/barcodes.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

