미디어 플레이어 응용 프로그램을 쓰고 있습니다. 10 인치 태블릿, 7 인치 태블릿, 5 인치 전화에서 보는 것이 가장 좋습니다. 그래서 나는 그 장치에만 설치하도록 앱을 제한하고 싶다. 어떻게해야합니까?앱을 특정 기기로 제한하는 방법은 무엇인가요?
<supports-screens android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="true"
android:xlargeScreens="true"
android:anyDensity="true"
android:requiresSmallestWidthDp="480"
android:compatibleWidthLimitDp="integer"
android:largestWidthLimitDp="integer"/>
또한 참조 링크를 따라 할 수 있습니다 : 당신의 AndroidManifest.xml
<application>
전에 태그에 다음 사항을 추가
: 여기
내 현재의 매니페스트 파일<application
android:hardwareAccelerated="true"
android:allowBackup="true"
android:icon="@drawable/logo_new"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:hardwareAccelerated="true"
android:name="VideoActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.Holo.Light.NoActionBar.Fullscreen"
android:screenOrientation="sensorLandscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
감사합니다. 그 링크가 도움이되었습니다 – saa