Is it possible to default the screen to Portrait mode?

by Dianne Hackborn » Sat, 19 Sep 2009 06:23:23 GMT


Sponsored Links
 I believe it defaults to whatever the native orientation of your screen is.
If you want it to start out rotated, you will need to change
PhoneWindowManager to implement the policy you want.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Is it possible to default the screen to Portrait mode?

by Dianne Hackborn » Tue, 22 Sep 2009 04:15:27 GMT


 It's whatever your driver reports the screen size to be.  Sorry I can't help
you more than that, I don't know anything about your driver.








-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Other Threads

1. "Kernel panic - not syncing: No init found. Try passing init= option to kernel."

Hi Nimit,

Just wanted to ask you if you had any luck on this probelm. Im now in
the same status you are.  I already setted the uboot, xloader and the
kernel in my NFS. These are the bootargs Im using:

set serverip 10.87.230.178
set loadaddr 0x80000000
set bootfile /tftpboot/enrique/u-boot.bin
nand unlock
dhcp
nand erase 0x80000 0x80000
nand write 0x80000000 0x80000 0x80000

set bootfile /tftpboot/enrique/kernel-android-ldp.uImg
dhcp
nand erase 0x140000 0x200000
nand write 0x80000000 0x140000 0x200000

set bootargs console=ttyS2,115200n8 noinitrd mem=112M root=/dev/nfs rw
nfsroot=10.87.230.178:/home/enrique/mydroid/out/target/product/
ldp1,nolock,wsize=1024,rsize=1024 ip=dhcp init=/init

nand unlock
save

set bootcmd nand read 0x80300000 0x140000 0x200000\; bootm 0x80300000
nand unlock
save









--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. How Delete SMS from inbox programmatically OR discard it before received in inbox

You can delete by message id, see here:
http://code.google.com/p/android-smspopup/source/browse/tags/SMSPopup%20v0.9.93/src/net/everythingandroid/smspopup/SMSPopupUtils.java#290

Cheers,

Adam K
www.everythingandroid.net







--~--~---------~--~----~------------~-------~--~----~

3. Rings Extended obsoleted by new builds?

4. Should i use master or cupcake branches?

5. a such strange problem when packaging some files under assets folder

6. Announcing OpenCORE 2.1 release

7. Distinguishing Between Edge and 3G network