PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
ScreenOrientation and the Smartphone (WM 5.0, NETCF 2.0)
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
ScreenOrientation and the Smartphone (WM 5.0, NETCF 2.0)
![]() |
ScreenOrientation and the Smartphone (WM 5.0, NETCF 2.0) |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi,
I've got a small app I'd like to display, by default, in landscape mode. It is a simple clock which is meant to have very large letters so it is visible from far away. Microsoft.WindowsCE.Forms.SystemSettings.ScreenOrientation seems to work fine in the smartphone emulator, but fails on my Cingular 2125 smartphone. The exception name is blank in the display (i.e. I have no idea what type of exception it is). Since my smart phone has no user selectable screen rotation, I'm guessing this is a disabled feature. Thanks in advance! Cheers, Gordon. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Most smartphones don't offer screen rotation, the orientation is fixed
either in portrait or landscape depending on the device. The ability to rotate was, I think, added in one of the recent AKU updates for WM5.0 AKU 2.Something. If there is a ROM update for your device you could try applying that and see if it enables this functionality. Otherwise you'll have to look at drawing your content at a 90 degree angle:- http://blog.markarteaga.com/Drawing...ramework20.aspx Peter -- Peter Foot Device Application Development MVP www.peterfoot.net | www.inthehand.com <gwatts@phys.washington.edu> wrote in message news:1158117031.086264.194800@m73g2000cwd.googlegroups.com... > Hi, > I've got a small app I'd like to display, by default, in landscape > mode. > > It is a simple clock which is meant to have very large letters so it > is visible from far away. > > Microsoft.WindowsCE.Forms.SystemSettings.ScreenOrientation seems to > work fine in the smartphone emulator, but fails on my Cingular 2125 > smartphone. The exception name is blank in the display (i.e. I have no > idea what type of exception it is). > > Since my smart phone has no user selectable screen rotation, I'm > guessing this is a disabled feature. Thanks in advance! > > Cheers, > Gordon. > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Hi Peter,
Thanks! A ROM update did, indeed, come out, and I did apply it (a month or two ago). As far as I can tell, that feature was not enabled. Your text drawing code that you refer to looks interesting, thanks! I'll take a look at that. Cheers, Gordon. Peter Foot [MVP] wrote: > Most smartphones don't offer screen rotation, the orientation is fixed > either in portrait or landscape depending on the device. The ability to > rotate was, I think, added in one of the recent AKU updates for WM5.0 AKU > 2.Something. If there is a ROM update for your device you could try applying > that and see if it enables this functionality. Otherwise you'll have to look > at drawing your content at a 90 degree angle:- > http://blog.markarteaga.com/Drawing...ramework20.aspx > > Peter > > -- > Peter Foot > Device Application Development MVP > www.peterfoot.net | www.inthehand.com > > <gwatts@phys.washington.edu> wrote in message > news:1158117031.086264.194800@m73g2000cwd.googlegroups.com... > > Hi, > > I've got a small app I'd like to display, by default, in landscape > > mode. > > > > It is a simple clock which is meant to have very large letters so it > > is visible from far away. > > > > Microsoft.WindowsCE.Forms.SystemSettings.ScreenOrientation seems to > > work fine in the smartphone emulator, but fails on my Cingular 2125 > > smartphone. The exception name is blank in the display (i.e. I have no > > idea what type of exception it is). > > > > Since my smart phone has no user selectable screen rotation, I'm > > guessing this is a disabled feature. Thanks in advance! > > > > Cheers, > > Gordon. > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

