Android Utililty Methods Touch Screen Check

List of utility methods to do Touch Screen Check

Description

The list of methods to do Touch Screen Check are organized into topic(s).

Method

booleanisTouchScreen(Context context)
is Touch Screen
int touchscreen = context.getResources().getConfiguration().touchscreen;
switch (touchscreen) {
case Configuration.TOUCHSCREEN_NOTOUCH:
    return false;
default:
    return true;