Android's support for multiple screens

by Cheryl Sedota » Sun, 31 Jan 2010 04:59:43 GMT


Sponsored Links
 My team has developed a suite of applications for a specific device/
screen -> it's a medium density, large sized screen according to the
parameters defined here: 
 http://developer.android.com/guide/practices/screens_support.html #qualifiers

I would like to know if it's possible to leverage android 1.6's
multiple screen support infrastructure to get these applications to
automatically scale the drawable images down such that they display
properly (even if they are too small to interact with) on a medium
density, normal sized screen (like the G1).

As far as I can tell there is no way to get Android to do this
automatically for me, because both devices are considered "mdpi" and
drawables are typically divided up into alternate resource folders by
density.

I tried the following definition in my Android manifest but it did not
work:

<supports-screens anyDensity="false" largeScreens="true"
smallScreens="false" normalScreens="false" />

Please advise.

Thanks!!
Cheryl

--



Other Threads

1. Device Sleep State

I'd like to be able to somehow either log or visually detect what the
sleep state of the phone is.  I have an app called DevTools which has
a checkbox to show the sleep state on the LED but this isn't working
(cannot check the checkbox).

Does anyone know of a way to do this?

Thanks,
Fraser.

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

2. Using sensors and orientation - lat/lon point to screen coordinates

> however, I can never seem to get accurate screen coordinates

Could you specify what exactly your problem is?
Does it not work *at all*, or does it work basically, but points are
off by a few degrees? Or does it only work in one orientation of the
device (like in landscape mode), and fails in other orientations?

Peli
www.openintents.org
http://code.google.com/p/openintents/wiki/SensorSimulator



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

3. How to pick the mobile phone number of a contact using an Intent

4. How to get JUnitReports via android.test.InstrumentationTestRunner

5. Bitmap.Compress.JPEG always saving with low compression level

6. How to support multiple language key character mapping

7. why glReadPixels return Alpha always -1