Wednesday, December 15, 2010

Re: [android-developers] supporting more devices - minSDKversion, support-screens

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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate