is there a way to restrict android apps to tablets only

We can do it when building for iOS and also when submitting to Amazon. but is there a way to allow only android tablets to see an ap, or are we restricted to using requiresSmallestWidthDp = 600 or something similar? [import]uid: 118978 topic_id: 35647 reply_id: 335647[/import]

In the build.settings file, I have this in the android section for my tablet-only app:
[lua]
supportsScreens =
{
smallScreens = false,
normalScreens = false,
largeScreens = true,
xlargeScreens = true,
}
[/lua]

Not sure if the largeScreens will work or not, since some phones will work with that as well.

I don’t think you can use requiresSmallestWidthDp=“600” since the app compiles for Android 2.2, and I thought that it had to compile for Android 3.2 for that to work. [import]uid: 17827 topic_id: 35647 reply_id: 141819[/import]

problem is, i’m not sure what largeScreen means. is it pixel oriented? if it does, than its not very helpful, because todays phones have more pixels than many of the tablets out there. with resoutions of ~1200x800 for new HD phones.

I didn’t know that requiresSmallestWidthDp is ignored, because we compile to android 2.2.
I think its time corona allows to compile against 3.2. if it wasn’t for amazon and nook, there are hardly any more phones with android 3 or lower (according to google, less than 1%).
[import]uid: 118978 topic_id: 35647 reply_id: 141824[/import]

You can check these links out:
http://stackoverflow.com/questions/7649558/android-manifest-restrict-to-tablets

http://developer.android.com/guide/topics/manifest/supports-screens-element.html

Android just confuses me personally. Gotta love Google. :slight_smile: [import]uid: 17827 topic_id: 35647 reply_id: 141831[/import]

thanks thegdog,

I guess that’s the best I can get from Google :slight_smile: [import]uid: 118978 topic_id: 35647 reply_id: 141833[/import]

What thegdog recommends is the correct solution. This is also what Google suggests, as documented here…
http://developer.android.com/guide/practices/screens-distribution.html#FilteringTabletApps
[import]uid: 32256 topic_id: 35647 reply_id: 142129[/import]

In the build.settings file, I have this in the android section for my tablet-only app:
[lua]
supportsScreens =
{
smallScreens = false,
normalScreens = false,
largeScreens = true,
xlargeScreens = true,
}
[/lua]

Not sure if the largeScreens will work or not, since some phones will work with that as well.

I don’t think you can use requiresSmallestWidthDp=“600” since the app compiles for Android 2.2, and I thought that it had to compile for Android 3.2 for that to work. [import]uid: 17827 topic_id: 35647 reply_id: 141819[/import]

problem is, i’m not sure what largeScreen means. is it pixel oriented? if it does, than its not very helpful, because todays phones have more pixels than many of the tablets out there. with resoutions of ~1200x800 for new HD phones.

I didn’t know that requiresSmallestWidthDp is ignored, because we compile to android 2.2.
I think its time corona allows to compile against 3.2. if it wasn’t for amazon and nook, there are hardly any more phones with android 3 or lower (according to google, less than 1%).
[import]uid: 118978 topic_id: 35647 reply_id: 141824[/import]

You can check these links out:
http://stackoverflow.com/questions/7649558/android-manifest-restrict-to-tablets

http://developer.android.com/guide/topics/manifest/supports-screens-element.html

Android just confuses me personally. Gotta love Google. :slight_smile: [import]uid: 17827 topic_id: 35647 reply_id: 141831[/import]

thanks thegdog,

I guess that’s the best I can get from Google :slight_smile: [import]uid: 118978 topic_id: 35647 reply_id: 141833[/import]

What thegdog recommends is the correct solution. This is also what Google suggests, as documented here…
http://developer.android.com/guide/practices/screens-distribution.html#FilteringTabletApps
[import]uid: 32256 topic_id: 35647 reply_id: 142129[/import]

What if I didn’t set anything? Are they all true by default? 

What if I didn’t set anything? Are they all true by default?