Identifying Android tablet

Hi everyone, I have recently released my first game “Race Around Europe” and I am working on “Race Around America”. It is only for the iPad due to size restriction of the screen. With building for iOS it is easy to just build for ipad and not for iPhone. Is there any way to do the same for Android tablet devices - I wouldn’t want the app available on the play store for phones.

Thanks

Adrian [import]uid: 83824 topic_id: 27871 reply_id: 327871[/import]

You can do this by setting up your “build.settings” file as follows…

[lua]settings =
{
android =
{
supportsScreens =
{
smallScreens = false,
normalScreens = false,
largeScreens = true,
xlargeScreens = true,
},
},
}[/lua]

The above will set the AndroidManifest.xml file’s [lua][/lua] tags, which restrict what devices your Android app can be installed on by display size. So, this will cause your app to be filtered out on the marketplace for small devices, preventing them from finding or buying the app. You will need to use the newest release version, build 840, or the newest daily build in order to get “xlargeScreens” support.

I hope this helps! [import]uid: 32256 topic_id: 27871 reply_id: 112830[/import]

Oh… and in case you are interested, here is Google’s official documentation about how the [lua][/lua] setting works.

http://developer.android.com/guide/topics/manifest/supports-screens-element.html
[import]uid: 32256 topic_id: 27871 reply_id: 112831[/import]