is there a way to restrict android apps to mobile phone only

I tried to restrict my app to mobile phone only. I added the following setting into my build.settings and try to filter out tablet from the list. But I still see a lot tablet device in the list. Am I doing anything wrong? or I should even disable the normal screen as well?

supportsScreens =

{

resizeable    = false,

smallScreens  = true,

normalScreens = true,

largeScreens  = false,

xlargeScreens = false,

},

I found there is an android setting " requiresSmallestWidthDp".  How can I use this in build.setting?

Hi @boscotwcheung,

Have you referred to Google’s documentation on this?

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

The key-value pairs that you’re specifying appear to be correct from Corona’s standpoint. You’ll just need to decide which screen to enable or limit, based on what Google outlines.

Best regards,

Brent

Looks like my setting is correct…

Why don’t you set your app permissions to require a telephone?

http://developer.android.com/guide/topics/manifest/uses-feature-element.html

Even if your app doesn’t actually make calls, that would limit it to only being installed on phones.

Maybe that is the workaround solution for now. But it should not able to filter out the tablet with telephone function (SIM card), right?

One could argue that a tablet that can make calls is a phone…

Hi @boscotwcheung,

Have you referred to Google’s documentation on this?

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

The key-value pairs that you’re specifying appear to be correct from Corona’s standpoint. You’ll just need to decide which screen to enable or limit, based on what Google outlines.

Best regards,

Brent

Looks like my setting is correct…

Why don’t you set your app permissions to require a telephone?

http://developer.android.com/guide/topics/manifest/uses-feature-element.html

Even if your app doesn’t actually make calls, that would limit it to only being installed on phones.

Maybe that is the workaround solution for now. But it should not able to filter out the tablet with telephone function (SIM card), right?

One could argue that a tablet that can make calls is a phone…