문제

I want to set in project properties build target 2.2 (api level 8)

In the manifest.xml <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4"/> is declared.

Did anybody tried, if any user (with min. Android 1.5) see application in the market?

Could some other problems occur because of different SDK for building and in manifest?!

Thank you,

Mur

P.s. You would probably ask, why do I want to do that thing. Just wanted that users of Android 2.2. could move app to SD card and and have read this tutorial http://mobile.tutsplus.com/tutorials/android/move-to-sd-card/

도움이 되었습니까?

해결책

So long as you set your minSdkVersion to Android 1.5, you should be fine. Just make sure you don't make any newer API calls for people running older versions of Android. You can check a user's build version with Build.VERSION. If you're only adding the Froyo move to SD card feature, you shouldn't have any problems.

다른 팁

Yes, this is exactly what I usually do, build an app based on 1.5 APIs but add Apps2SD in the Manifest and build using 2.2 but with minSdkVersion=3. It works fine all users of 1.5+ can use the app and 2.2 users can move it to SD.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top