A antonomase Active Member Licensed User Longtime User Nov 15, 2013 #1 Hi, In the manifest editor, we can find Code: Copy <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"/> What are the normal, small and large screens ? Is the sizes predefined ? I work on an application which is not planned for smartphones, but only tablets 7" and more. I try to change normalScreen and smallScreen to false and run the application on my Galaxy S3. It seems the changes have no effect : the application starts (I have a software test which display a message for smartphones). So how to prevent an application to start on a smartphone ?
Hi, In the manifest editor, we can find Code: Copy <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"/> What are the normal, small and large screens ? Is the sizes predefined ? I work on an application which is not planned for smartphones, but only tablets 7" and more. I try to change normalScreen and smallScreen to false and run the application on my Galaxy S3. It seems the changes have no effect : the application starts (I have a software test which display a message for smartphones). So how to prevent an application to start on a smartphone ?
Informatix Expert Licensed User Longtime User Nov 15, 2013 #2 Here's the link for the screen sizes: http://developer.android.com/guide/practices/screens_support.html Upvote 0
Here's the link for the screen sizes: http://developer.android.com/guide/practices/screens_support.html
A antonomase Active Member Licensed User Longtime User Nov 15, 2013 #3 Thanks 7" Tablets and larger are xlarge screens. But i try to set <supports-screens android:xlargeScreens="true" android:largeScreens="false" android:normalScreens="false" android:smallScreens="false" android:anyDensity="true"/> Click to expand... and I have the error AndroidManifest.xml:10: error: No resource identifier found for attribute 'xlargeScreens' in package 'android' Click to expand... Upvote 0
Thanks 7" Tablets and larger are xlarge screens. But i try to set <supports-screens android:xlargeScreens="true" android:largeScreens="false" android:normalScreens="false" android:smallScreens="false" android:anyDensity="true"/> Click to expand... and I have the error AndroidManifest.xml:10: error: No resource identifier found for attribute 'xlargeScreens' in package 'android' Click to expand...
stevel05 Expert Licensed User Longtime User Nov 15, 2013 #4 What API level are you targeting/running on? xlargeScreens is available from API level 9 (Android 2.2) Also check which android version you are pointing to in the tools/configure paths. Upvote 0
What API level are you targeting/running on? xlargeScreens is available from API level 9 (Android 2.2) Also check which android version you are pointing to in the tools/configure paths.
A antonomase Active Member Licensed User Longtime User Nov 15, 2013 #5 Hi stevel, I was pointing to android-8. More than 90% of the users of the 1st version of my app are under 4.0.3 to 4.2. So now, I point to android-15 (4.0.3) In the manifest, I have now Code: Copy <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="17"/> <supports-screens android:xlargeScreens="true" android:largeScreens="false" android:normalScreens="false" android:smallScreens="false" android:anyDensity="true"/> There is no more compilation error, but it seems to change nothing : the application starts on the smartphone (it is uploaded from B4A). Are these indications just for Google Play to deny the smartphone to download the app ? Upvote 0
Hi stevel, I was pointing to android-8. More than 90% of the users of the 1st version of my app are under 4.0.3 to 4.2. So now, I point to android-15 (4.0.3) In the manifest, I have now Code: Copy <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="17"/> <supports-screens android:xlargeScreens="true" android:largeScreens="false" android:normalScreens="false" android:smallScreens="false" android:anyDensity="true"/> There is no more compilation error, but it seems to change nothing : the application starts on the smartphone (it is uploaded from B4A). Are these indications just for Google Play to deny the smartphone to download the app ?
eps Expert Licensed User Longtime User Nov 15, 2013 #6 antonomase said: Are these indications just for Google Play to deny the smartphone to download the app ? Click to expand... Yes, it is intended to indicate what devices an App is developed in mind for. Upvote 0
antonomase said: Are these indications just for Google Play to deny the smartphone to download the app ? Click to expand... Yes, it is intended to indicate what devices an App is developed in mind for.