Game Development Community

Tablet Detection?

by Chase Webb · in Torque 2D Beginner · 10/02/2014 (1:05 am) · 2 replies

Heya world! I'm wondering if there are any commands or ways to detect a tablet versus a phone/ipod. I would just do a resolution check, but considering most phones these days have screen resolutions on par to a tablet I'm not sure what to do. Or do I need to split my project into two separate apps and release them separately within the stores themselves?

#1
10/02/2014 (3:02 am)
AFter looking at several posts on the subject online, there doesn't seem to be a "phone or tablet" variable , the only difference being the screen size and the DPI of the device.

Stack overflow has several articles outlining various methods to handle this.
#2
10/04/2014 (12:37 am)
In that case I think I'll program to cover everything and make a separate tablet version some day later on :P