Hi,

I want my application to work only in portrait mode. When the user turns the device , it should not open in landscape mode instead should be in portrait itself.

Is it possible to off the sensor through coding? or any other solution?

Regards,
Balaji