I'm writing a number of WP7 apps right now that need absolute sizing, depending on display device. What this means that the app size needs to be 656 (w) by 480 (h), which is perfect for WP7 with both shell:SystemTray.IsVisible="True"
and shell:ApplicationBar IsVisible="True"
. From a possible 800 x 480, both those bars used take 144, so I'm good on that front.
On a PC, I'd use a larger version of that size need, like 720x540.
However, if iPhone->iPad is any indication of possible revenue streams for MSFT (as well as Ballmer re-investing in the tablet business), I'm going to make the assumption that we'll see a tablet-sized unit come out soon enough for the WP7 OS.
Also, there may be a 400x240 resolution of WP7 to come out.
What I'd like is for my apps to be immediately available to different sized devices, based on those dimensions above (656 (w) by 480 (h), or a scaled version of that) - rather than having to just change a single set of values to re-release an app. Note: I don't use a <Grid/>
or <StackPanel/>
- and I can't. Every single thing in the app is absolutely positioned and this is on purpose.
So the question here is - is there some value that I can read about the screen resolution size of the device my app is running on? I've looked through the reference, but couldn't find anything like this.