Oh, thnx Phil... It works good...

On Sep 20, 6:56 am, Phil <[EMAIL PROTECTED]> wrote:
> Hi.
>
> You could use the following to determine the screen resolution from
> within your Activity/Context...
>
> getWindow().getWindowManager().getDefaultDisplay().getHeight()
> getWindow().getWindowManager().getDefaultDisplay().getWidth()
>
> Phil
>
> On Sep 19, 11:02 pm, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > Hi everybody,
>
> > Is there some way to know the android screen mode...? That is... when
> > we run the android emulator we have landscape and portrait options to
> > show the content...
>
> > But... If I have an application that needs to recognize one of this
> > screen modes in execution time...?
>
> > How can I do it?
>
> > thx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to