by a a » Mon, 02 May 2011 08:39:53 GMT

Sponsored Links
 Dear all,

landscape, portrait, square.

public static final int ORIENTATION_LANDSCAPE
Since: API Level 1
Constant Value: 2 (0x00000002)
public static final int ORIENTATION_PORTRAIT
Since: API Level 1
Constant Value: 1 (0x00000001)
public static final int ORIENTATION_SQUARE

I can't imagine why square exist in the world? I never seen the phone
is a square screen, which height equal weight.

Can we necessary always to judge is it a square? If it exist, how can
we judge it's a landscape or portrait?



by Dianne Hackborn » Mon, 02 May 2011 10:25:04 GMT

 It is not currently used, don't worry about it.

Dianne Hackborn
Android framework engineer

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. Is there any version exist that can be directly used in x86 based netbooks

HI Friends:
        I'm a fresh guy on Android system. And have the following
        1. Can Android 1.5 be directly used on X86 based netbooks? I
heard that there's a project named "Asus eee701", but in the branch of
"Cupcake", I don't konw if "Cupcake" means the same for
"Android",what's the  difference? If I use repo init -u
git://android.git.kernel.org/platform/manifest.git -b android-1.5 to
download the packages, can it works?
        2.Further more,Android's mediaframe work OpenCore's current
version is V2.02, is there any formal release than can be directly in
x86 based netbooks or laptops. I want to add more codecs into it.so
need to get the code that fit x86 architecture and can be easily
built.Is cupcake1.5 fit this?
        Thanks in advance!

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

2. Android on HTC Alpine

Where can I find the config settings to compile the zImage for HTC
Alpine ( XDA 2i ,DOPD 699)
I try several times with different settings in config but allways
stuck with color lines in boot.
Any suggestions?

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

3. gl functions not working, egl functions are working - android port to Overo TI OMAP 3503

4. How can i get the string from edittext?

5. Creating and showing a view/window from a Service

6. Textview Scrolling

7. Creating and showing a view/window from a Service