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. ContactsContract.Contact Not fully Aggregated

I have found that the ContactsContract.Contact table contains the same
contact multiple times for different accounts.

i.e I have one 'dave' with com.google account and another in with
vnd.sec.contact.sim .

I thought the Contact table is supposed to be an aggregate of
RawContacts & automatically group like contacts to have only one row
in the Contact table....Is this incorrect, or it is a case where it
'can' not does.

Any feedback would be greatly appreciated.



2. Galaxy Tab SDK missing shared library


I have downloaded the Galaxy SDK from:

When I try to install my app on the emulator, I get an error: "missing
shared library".
I think the google maps api is not included in the emulator.
Is it possible to include the api?



3. Application wake up

4. libaudiofinger error when building froyo for Samsung Captivate

5. Newbie error - stdio.h not found

6. performance woes

7. Listview not supporting if list extends screen size