Limit app to devices with certain screen size

Guys, is there a way to make sure only users with certain devices will be able to download a game?

I made graphics for devices with 480x800 and 480x854 screen sizes, since they comprise about 3/4 of all Android phones and that’s also what I have, so it’s easy to test performance, etc. [import]uid: 52103 topic_id: 14991 reply_id: 314991[/import]

I found that it’s possible by editing Android manifest

<supports-screens> android:smallScreens="true"<br> android:normalScreens= "true"<br> android:largeScreens="true"<br> android:xlargeScreens="true"<br> android:anyDensity="true" /&gt;<br>

But you don’t have direct access to it in Corona.
Is it possible to edit build.settings in some way? [import]uid: 52103 topic_id: 14991 reply_id: 55916[/import]

http://developer.anscamobile.com/forum/2011/04/16/my-tips-targeting-honeycomb-and-other-stuff

Section 7 on my page. Its the only way to directly modify the manifest right now. [import]uid: 8872 topic_id: 14991 reply_id: 56916[/import]

Hey kam187!

Thanks, your article on Walkabout creation was one of the first pieces of documentation I read before starting work on my now completed game. Very useful info that helped me get the fundamental things right (like dynamic content scaling) the first time.
I just thought there may be an easier way :\ [import]uid: 52103 topic_id: 14991 reply_id: 56920[/import]

Everyone,

I can add this to our wish list to be implemented in the future.

Perhaps it should look something like this?..

settings =  
{  
 androidSupportsScreens =  
 {  
 smallScreens = "false",  
 normalScreens = "false"  
 }  
}  

According to Android’s documentation, these attributes are set to TRUE by default. So really, you only need to indicate what you do not want to support.
http://developer.android.com/guide/topics/manifest/supports-screens-element.html
[import]uid: 32256 topic_id: 14991 reply_id: 56958[/import]

Thanks, Joshua. That would be terrific! [import]uid: 52103 topic_id: 14991 reply_id: 56968[/import]