How to detect the resolution of my device?
Answer / diana
(App.Current.RootVisual as FrameworkElement).ActualHeight and (App.Current.RootVisual as FrameworkElement).ActualWidth gives you device's resolution
If you want to know the visible size (taking AppBar / SystemTray into account) then just ask for it off the page instead.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain how to play two mediaelements at once?
Suppose I am trying to receive toast notifications in emulator app. I got everything setup but notification does not show up in emulator at all?
Explain Windows Phone Hardware?
Tell me are there canned mvvm "data behaviors" planned for wp7?
Tell me where is httputility class, since there is no system.windows.browser namespace?
Can we control the web browser controls zoom?
How do I find my downloads on this phone?
How to enable/disable alerts?
Can I open sockets in windows phone?
In my code the method marked by [ondeserialized] is never called after deserialization. Is this a known issue?
Is asp.net forms authentication supported?
How to customize front page?