开发者

Which Android API to distribute app under

开发者 https://www.devze.com 2022-12-21 13:14 出处:网络
There are a few other threads that are similar, but I can\'t seem to find a difinitive answer, so I apologize if this seems a little repetetive.

There are a few other threads that are similar, but I can't seem to find a difinitive answer, so I apologize if this seems a little repetetive.

Here's my situation.

My Android app compiles and runs under 1.5 I want to use supports-screen in my Manifest. This means I have to compile with 1.6 in Eclipse or I get errors I set the minSDK to 3 and the targetSDK开发者_如何学Go to 4

Now, my question is, if I compile against 1.6 with the min/target sdk's as shown above, will the app show up in the Market Place for users of 1.5 phones AND will it run on 1.5 phones because of the minSDK setting even though I had to compile with 1.6?

Or, do I HAVE to compile with 1.5 for it to run on 1.5+ phones?

Thank you again.


To use the <supports-screen> you have to compile with 1.6 or greater. The app will show up for 1.5 devices when you set the minSdkVersion to 3.

I have an app that uses the following and I've seen comments from users of G1 say they have no problems running the app:

<uses-sdk
    android:minSdkVersion="3"
    android:targetSdkVersion="7" />

Best explanation for this is on the Android uses-sdk docs

0

精彩评论

暂无评论...
验证码 换一张
取 消