Tuesday, August 13, 2013

[android-developers] Re: "Designed for tablets" with both minSdkVersion and targetSdkVersion tags?

Is this the spec you're using?


It says:

---

At a minimum, check the <uses-sdk> element to make sure that:

  1. targetSdkVersion is declared with value 11 or higher (14 or higher is recommended), OR
  2. minSdkVersion is declared with value 11 or higher.
  3. If a maxSdkVersion attribute is declared, it must have a value of 11 or higher. Note that, in general, the use ofmaxSdkVersion is not recommended.

So it looks like a minSdkVersion >= 11  is required...

Which doesn't make any sense to me -- e.g. my app has a multi-pane UI using native Fragment when on API >= 11, but runs fine on API >= 5 (and has a mostly Holo-styled UI, too).

I suppose most, if not all, apps using the support library / ActionBarSherlock would be same way (I'm not using either, but same principle).

Weird. Android 2.3 is down to about 40% and was finally overtaken by 4.0+ in last month's stats, but in no sense completely gone and can be ignored...

-- K

On Tuesday, August 13, 2013 12:11:50 PM UTC+4, MobileVisuals wrote:
I am implementing the new "Designed for tablets" specification on GP. It is easy to implement and get it to work for live wallpapers. I replace <uses-sdk android:minSdkVersion="7" /> with <uses-sdk android:targetSdkVersion="11" /> in the manifest. I wonder if there is any way of having both of the minSdkVersion and targetSdkVersion tags in the manifest? I get a message that the app is not "Designed for tablets" when I try to include both of these tags.

--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment