I strongly discourage you from using <compatible-screens>.  This was added
(under duress) at the specific request of some game developers to be able to
target specific combinations of screen sizes and densities.  My feeling is
that someone actually using this is sooner or later going to regret it.

If you want to specify different screen sizes, just use <supports-screens>.

And really I would further strongly discourage doing multiple apks for
different screen sizes.  I think the writing on the wall is pretty obvious
about the future problems you will have here: more and more companies
showing devices with docking stations and other such things that result in
the device's screen size changing radically.  I wouldn't expect anything in
the platform to magically make your two separate apks work correctly
together on such devices.

On Thu, Sep 8, 2011 at 11:32 PM, MarkG123 <[email protected]> wrote:

> I have been playing with side by side tablet/smartphone version of my
> app using the single marketplace listing method, and whilst that
> works, I have some curious reports of what my app will and won't run
> on for example:
>
>
>  Galaxy S2(GT-I9100) NOT COMPATIBLE
>  Galaxy S2(GT-I9103) COMPATIBLE
>
>  Galaxy Tab 10.1(GT-P7300) NOT COMPATIBLE
>  Galaxy Tab 10.1(GT-P7500) COMPATIBLE
>
>  And so forth, with many identical devices having different status....
>
>  My manifest snippet:
>
> <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="8"/>
>  <compatible-screens>
>  <!-- all small size screens -->
>  <screen android:screenSize="small" android:screenDensity="ldpi" />
>  <screen android:screenSize="small" android:screenDensity="mdpi" />
>  <screen android:screenSize="small" android:screenDensity="hdpi" />
>  <screen android:screenSize="small" android:screenDensity="xhdpi" />
>  <!-- all normal size screens -->
>  <screen android:screenSize="normal" android:screenDensity="ldpi" />
>  <screen android:screenSize="normal" android:screenDensity="mdpi" />
>  <screen android:screenSize="normal" android:screenDensity="hdpi" />
>  <screen android:screenSize="normal" android:screenDensity="xhdpi" />
>  <!-- all large size screens -->
>  <screen android:screenSize="large" android:screenDensity="ldpi" />
>  <screen android:screenSize="large" android:screenDensity="mdpi" />
>  <screen android:screenSize="large" android:screenDensity="hdpi" />
>  <screen android:screenSize="large" android:screenDensity="xhdpi" />
>  </compatible-screens>
>
> I'm seeing stuff like this (which is worrying...)
> http://i51.tinypic.com/2cfsl7m.png
>
>  I need to be able to offer different apps to tablets to what I offer
> to smartphones on the single marketplace listing.
>
>  My listing actually has 2 APK's (this is just the smartphone one),
> the tablet one is API 11+ and xlarge screens in it's manifest, and
> seems to work OK.
>
> If I remove all the sizes, then the markeplace will try and replace my
> table version when I make it live, I have to exclude xlarge from the
> smartphone version, and exclude everything but xlarge in the tablet
> version.
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

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.

-- 
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