2012-02-20 2 views
0

누구든지 Android 3.0에서 앱 열림을 차단할 수 있습니까? 아래의 코드 중 일부를 사용했는데 이것이 도움이되지 않습니다. 그래서 어느 누구도 더 잘 작동 할 수있는 다른 솔루션으로 나를 도울 수 있습니다. 로드android 3.0에서 앱 열림을 차단하는 방법은 무엇입니까?

int SDK_INT = android.os.Build.VERSION.SDK_INT; 

하고 그에 따라 행동에 사전에

<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" /> 
</compatible-screens> 

<uses-sdk android:minSdkVersion="8" android:maxSdkVersion="10"/> 

<supports-screens 
    android:xlargeScreens="false" 
    android:largeScreens="false" 
    android:normalScreens="true" 
    android:smallScreens="true" /> 

덕분에

답변

1

확인 SDK 버전.

+0

앱을 특정 버전, 즉 Android 3.0에 설치하지 않을 수 있습니까? –

+0

안드로이드 마켓에 게시 할 때 어떤 버전이 표시되는지 지정할 수 있다고 생각하지만 그렇게 생각하지 않습니다. –

+0

답장을 보내 주셔서 감사합니다. –

관련 문제