I am trying to port my application developed for smartphones to the tablets with minor modifications. Is there an API in Android to detect if the device is tablet?
I would introduce "Tablet mode" in application settings which would be enabled by default if resolution (use total pixel threshold) suggests it.
IFAIK Android 3.0 introduces real tablet support, all previous versions are intended for phones and tablets are just bigger phones - got one ;)