is there any way in unity to know whether it is android tab or android phone or kindle tab?
i know the ` DisplayMetrics metrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(metrics);`
ref:: http://developer.android.com/reference/android/util/DisplayMetrics.html
isn't there any simpler way I mean unty doesn't have anything inbuilt to get device screen size in inches?
↧