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. Full size image with scroll ability

Hi everyone,

I have an image that I want to be able to display full size but when I
place it in my imageview it scales. I would like it to display full
size with scroll bars. Is there a way I can make my main view that the
image view is in have scroll bars vertical and horizontal or how can I
do this. The images are local on the SD card. I would really like to
get the same effect that the webview offers if i were to look at these
image from a URL.

Thanks for your help,



2. Looking for an example of an Android app that uses addons, extensions or plugins

I am looking for examples of any Android app that is designed to have
additional features or capabilities by simply downloading an addon,
extension or plugin. For example, there is a Windows desktop
application called EditPlus which is a text editor that uses color
coding and formatting depending upon the type of file you edit. You
can download additional .stx files for other file formats that are
supplied by users. With EditPlus, you just copy the .stx file to the
program's directory and configure it in the application. The .stx file
would be considered an extension. Other apps may use plugins or
addons. Can you think of any Android app that is designed to do this?
What I am really getting at is to determine how the developer
distributes these addons/plugins/extensions and how the user downloads
and installs them, especially on a mobile device. Normally .apk files
are used to download and install the main app but I am curious how
developers provide their addons and how users download and install


3. Android App email issue

4. Is it possible to make an app choose a particular APN automatically?

5. Is the skia lib in android can use for decode pdf files?

6. Help...Urgent...about MediaRecorder

7. How to update the icon in a sliding drawer when it is pressed?