Thanks for the prompt reply!

The only reason I had this setting and was building with Android 1.5 SDK so
far was that having only a single code and layout xml file, somehow the app
was visually working perfectly on all devices (even the ones that hadnt the
app shown on the market, when I was manually installing the app on them).
All I want now is to somehow keep the same code and the way my app is shown
at the moment and just have the app appearring to more devices on the
market. I noticed that after adding the support-screens setting and
targetSDKversion and compiling with 1.6, the app's layout is now broken and
strangely looking on the same device, on which was showing perfectly when
compiling with 1.5 and just minSDKversion=3. Doesn't this seem absurd?

On Wed, Dec 15, 2010 at 12:12 PM, Kostya Vasilyev <[email protected]>wrote:

> 15.12.2010 12:57, Yorgos X пишет:
>
>
>>
>> I have noticed that some devices couldn't see it on the market and
>> recently that mainly all low end devices with small screens can't see it.
>>
>
> Right, low-res (ldpi) devices filter out applications that are not marked
> as compatible.
>
>
>
>> I thought that this would be because I don't have the support-screens
>> setting. I added this, but realised that I had to use SDK 1.6 in order to
>> use this, so I did. I also set all parameters to true in this setting :
>> small screens, medium and large, plus density to true. I tried the app in a
>> few devices and some views seem distorted and different than before (it was
>> working on all screens and resolutions perfectly before).
>>
>
> You need to build with at least Android 1.6 to get support for multiple
> resolutions. Only starting with Android 1.6 can you provide "alternate
> resources" to account for variations in display sizes and densities:
> typically, images, at least the mdpi and hdpi versions.
>
> Two ways to do it: either add supports-screens, or set minSdk to 4.
>
> If you wish to retain compatibility with 1.5, use supports-screens (and be
> careful to not use any Java classes / methods new with 1.6).
>
>
>
>> Is this because of the density? Should it be set to false?
>>
>>
> Start by reading this, see if your application follows these guidelines:
>
> http://developer.android.com/guide/practices/screens_support.html
>
>
>
>  Also, is there a way to keep building with Android SDK 1.5 and still have
>> the app appear to all the devices in the android market??
>>
>
> No (see above).
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget --
> http://kmansoft.wordpress.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to